summaryrefslogtreecommitdiff
path: root/protos.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-05-02 10:46:14 -0700
committerRichard Henderson <rth@twiddle.net>2011-05-02 10:46:14 -0700
commitee671d4ef86346e8d10cd0474aad998c16aa0383 (patch)
treed81fe5e4f49bc2fd0990a686283bd332c67bc59b /protos.h
parent2441ea1234e5b4399954ca64a101794cf6e813b3 (diff)
downloadqemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.zip
qemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.tar.gz
qemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.tar.bz2
Implement the console callback interface.
At least enough for GETC and PUTS.
Diffstat (limited to 'protos.h')
-rw-r--r--protos.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/protos.h b/protos.h
index 653696d..901fe3a 100644
--- a/protos.h
+++ b/protos.h
@@ -59,4 +59,12 @@ static inline unsigned long stq_p(unsigned long port, unsigned long val)
extern unsigned long inb(unsigned long port);
extern unsigned long outb(unsigned char val, unsigned long port);
+/*
+ * CRB functions
+ */
+
+extern unsigned long crb_dispatch(long select, long a1, long a2,
+ long a3, long a4);
+extern unsigned long crb_fixup(unsigned long vptptr, unsigned long hwrpb);
+
#endif /* PROTOS_H */