aboutsummaryrefslogtreecommitdiffstats
path: root/roms/openbios/drivers/escc.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/openbios/drivers/escc.h')
-rw-r--r--roms/openbios/drivers/escc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/roms/openbios/drivers/escc.h b/roms/openbios/drivers/escc.h
new file mode 100644
index 000000000..e73f267b2
--- /dev/null
+++ b/roms/openbios/drivers/escc.h
@@ -0,0 +1,11 @@
+
+#define IO_ESCC_SIZE 0x00001000
+#define IO_ESCC_OFFSET 0x00013000
+#define IO_ESCC_LEGACY_SIZE 0x00001000
+#define IO_ESCC_LEGACY_OFFSET 0x00012000
+
+#define ZS_REGS 8
+
+void escc_init(const char *path, phys_addr_t addr);
+void ob_zs_init(phys_addr_t base, uint64_t offset, int intr, int slave,
+ int keyboard);