summaryrefslogtreecommitdiff
path: root/system/alpha/h/ppec.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/alpha/h/ppec.h')
-rw-r--r--system/alpha/h/ppec.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/alpha/h/ppec.h b/system/alpha/h/ppec.h
new file mode 100644
index 000000000..fc9aff492
--- /dev/null
+++ b/system/alpha/h/ppec.h
@@ -0,0 +1,33 @@
+#include "lib.h"
+#include "xxm.h"
+
+unsigned char ppecRegRead(int, unsigned char);
+void ppecRegWrite(int, unsigned char, unsigned char);
+int ppecOpen(int);
+void ppecClose(int);
+ul ppecMemAddr(int);
+ul ppecIOAddr(int, int, unsigned long, int);
+
+typedef unsigned char char2[2];
+struct pcmcia {
+ int socket;
+ char2 *cor;
+ char2 *cis;
+};
+
+struct _pcmciaTuples {
+ int count;
+ unsigned char *tuples[32];
+ unsigned char buf[256];
+};
+
+struct _ppecSlotInfo {
+ int cardPresent;
+ struct _pcmciaTuples tuples;
+};
+
+extern struct _ppecSlotInfo ppecSlotInfo[];
+
+
+
+