diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-14 10:52:42 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-14 10:52:42 -0500 |
commit | b8612cbda3625e27f109469a1f5416237c97fb41 (patch) | |
tree | e4d195ed22ab29000f1bcada6a560386b6fd1f8f /system/alpha/h/ppec.h | |
parent | 488280e48b5f227b2eb35df5d6daba2ae94a1de6 (diff) | |
download | gem5-b8612cbda3625e27f109469a1f5416237c97fb41.tar.xz |
Import changeset
Diffstat (limited to 'system/alpha/h/ppec.h')
-rw-r--r-- | system/alpha/h/ppec.h | 33 |
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[]; + + + + |