|
|
1.1 ! root 1: #include "../port/portfns.h" ! 2: ! 3: void addportintr(int (*)(void)); ! 4: void bootargs(ulong); ! 5: void clearmmucache(void); ! 6: void clock(Ureg*); ! 7: void dspclock(void); ! 8: void duartclock(void); ! 9: void duartinit(void); ! 10: void duartstarttimer(void); ! 11: void duartstoptimer(void); ! 12: #define evenaddr(x) /* 68020 doesn't care */ ! 13: void fault68020(Ureg*, FFrame*); ! 14: void firmware(void); ! 15: #define flushapage(x) ! 16: void flushcpucache(void); ! 17: #define flushpage(x) if(x) ! 18: int fpcr(int); ! 19: ulong fpiar(void); ! 20: void fpregrestore(char*); ! 21: void fpregsave(char*); ! 22: void fprestore(FPsave*); ! 23: void fpsave(FPsave*); ! 24: ulong getsr(void); ! 25: #define icflush(a, b) ! 26: void incontoggle(void); ! 27: KMap* kmap(Page*); ! 28: void kmapinit(void); ! 29: void kunmap(KMap*); ! 30: void mmuinit(void); ! 31: #define mmunewpage(x) ! 32: void mousebuttons(int); ! 33: void mouseclock(void); ! 34: int portprobe(char*, int, int, int, long); ! 35: void procrestore(Proc*); ! 36: void procsave(Proc*); ! 37: void procsetup(Proc*); ! 38: void putkmmu(ulong, ulong); ! 39: void restfpregs(FPsave*); ! 40: void screeninit(void); ! 41: void screenputc(int); ! 42: void screenputs(char*, int); ! 43: void scsictrlintr(void); ! 44: void scsidmaintr(void); ! 45: uchar* scsirecv(uchar *); ! 46: void scsirun(void); ! 47: uchar* scsixmit(uchar *); ! 48: int spl1(void); ! 49: void spldone(void); ! 50: int splduart(void); ! 51: long syscall(Ureg*); ! 52: int tas(char*); ! 53: void touser(void*); ! 54: #define waserror() (u->nerrlab++, setlabel(&u->errlab[u->nerrlab-1])) ! 55: #define kmapperm(x) kmap(x) ! 56: #define getcallerpc(x) (*(ulong*)(x)) ! 57: #define KADDR(a) ((void*)((ulong)(a)|KZERO)) ! 58: #define PADDR(a) ((ulong)(a)&~KZERO)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.