Annotation of lucent/sys/src/9/pc/fns.h, revision 1.1.1.1

1.1       root        1: #include "../port/portfns.h"
                      2: 
                      3: void   aamloop(int);
                      4: void   addconf(char*, char*);
                      5: void   bbinit(void);
                      6: void   bootargs(ulong);
                      7: int    cistrcmp(char*, char*);
                      8: #define        clearmmucache()         /* 386 doesn't have one */
                      9: void   clockinit(void);
                     10: void   config(int);
                     11: int    cpuspeed(int);
                     12: void   delay(int);
                     13: void   dmaend(int);
                     14: void   dmainit(void);
                     15: long   dmasetup(int, void*, long, int);
                     16: #define        evenaddr(x)             /* 386 doesn't care */
                     17: void   faultinit(void);
                     18: void   fclock(Ureg*);
                     19: void   fclockinit(void);
                     20: int    floppycmd(void);
                     21: void   floppyeject(FDrive*);
                     22: int    floppyexec(char*, long, int);
                     23: void floppyintr(Ureg*);
                     24: void   floppyon(FDrive*);
                     25: void   floppyoff(FDrive*);
                     26: int    floppyresult(void);
                     27: void   floppysetdef(FDrive*);
                     28: void floppysetup0(FController*);
                     29: void floppysetup1(FController*);
                     30: void   fpenv(FPsave*);
                     31: void   fpinit(void);
                     32: void   fpoff(void);
                     33: void   fprestore(FPsave*);
                     34: void   fpsave(FPsave*);
                     35: ulong  fpstatus(void);
                     36: ulong  getcr0(void);
                     37: ulong  getcr2(void);
                     38: char*  getconf(char*);
                     39: void   hardclock(void);
                     40: void   i8042a20(void);
                     41: void   i8042reset(void);
                     42: void   ident(void);
                     43: void   idlefunc(void);
                     44: ulong  ilputl(ulong*, ulong);
                     45: int    inb(int);
                     46: void   insb(int, void*, int);
                     47: ushort ins(int);
                     48: void   inss(int, void*, int);
                     49: ulong  inl(int);
                     50: void   insl(int, void*, int);
                     51: int    isaconfig(char*, int, ISAConf*);
                     52: ulong  getisa(ulong, int, int);
                     53: void   kbdinit(void);
                     54: void*  l0update(uchar*, uchar*, long);
                     55: void*  l1update(uchar*, uchar*, long);
                     56: void*  l2update(uchar*, uchar*, long);
                     57: long*  mapaddr(ulong);
                     58: void   mathinit(void);
                     59: void   meminit(void);
                     60: void   microdelay(int);
                     61: void   mmuinit(void);
                     62: #define        mmunewpage(x)
                     63: int    modem(int);
                     64: void   mousectl(char*);
                     65: uchar  nvramread(int);
                     66: void   outb(int, int);
                     67: void   outsb(int, void*, int);
                     68: void   outs(int, ushort);
                     69: void   outss(int, void*, int);
                     70: void   outl(int, ulong);
                     71: void   outsl(int, void*, int);
                     72: void   pcicreset(void);
                     73: PCMmap*        pcmmap(int, ulong, int, int);
                     74: int    pcmspecial(char*, ISAConf*);
                     75: void   pcmspecialclose(int);
                     76: void   pcmunmap(int, PCMmap*);
                     77: void   prhex(ulong);
                     78: void   printcpufreq(void);
                     79: void   procrestore(Proc*);
                     80: void   procsave(Proc*);
                     81: void   procsetup(Proc*);
                     82: void   ps2poll(void);
                     83: void   putgdt(Segdesc*, int);
                     84: void   putidt(Segdesc*, int);
                     85: void   putcr3(ulong);
                     86: void   putisa(ulong, int);
                     87: void   puttr(ulong);
                     88: long   rtctime(void);
                     89: void   screeninit(void);
                     90: void   screenputc(int);
                     91: void   screenputs(char*, int);
                     92: int    serial(int);
                     93: void   setvec(int, void (*)(Ureg*, void*), void*);
                     94: long   syscall(Ureg*, void*);
                     95: void   systrap(void);
                     96: void   toscreen(void*);
                     97: void   touser(void*);
                     98: void   trapinit(void);
                     99: int    tas(void*);
                    100: void   uartclock(void);
                    101: void   uartspecial(int, IOQ*, IOQ*, int);
                    102: void   vgainit(void);
                    103: int    x86(void);
                    104: int    x86cpuid(int*, int*);
                    105: 
                    106: #define        waserror()      (u->nerrlab++, setlabel(&u->errlab[u->nerrlab-1]))
                    107: #define        kmapperm(x)     kmap(x)
                    108: #define getcallerpc(x) (*(ulong*)(x))
                    109: #define KADDR(a)       ((void*)((ulong)(a)|KZERO))
                    110: #define PADDR(a)       ((ulong)(a)&~KZERO)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.