Annotation of lucent/sys/src/boot/pc/fns.h, revision 1.1

1.1     ! root        1: void   aamloop(int);
        !             2: Alarm* alarm(int, void (*)(Alarm*), void*);
        !             3: void   alarminit(void);
        !             4: int    bootp(int, char*);
        !             5: void   cancel(Alarm*);
        !             6: void   cgainit(void);
        !             7: void   cgaputs(IOQ*, char*, int);
        !             8: void   checkalarms(void);
        !             9: void   clockinit(void);
        !            10: void   consinit(void);
        !            11: int    conschar(void);
        !            12: void   delay(int);
        !            13: uchar* etheraddr(int);
        !            14: int    etherinit(void);
        !            15: int    etherrxpkt(int, Etherpkt*, int);
        !            16: int    ethertxpkt(int, Etherpkt*, int, int);
        !            17: #define        evenaddr(x)             /* 386 doesn't care */
        !            18: int    floppyinit(void);
        !            19: long   floppyread(int, void*, long);
        !            20: long   floppyseek(int, long);
        !            21: char*  getconf(char*);
        !            22: ulong  getcr0(void);
        !            23: ulong  getcr2(void);
        !            24: ulong  getcr3(void);
        !            25: int    getfields(char*, char**, int, char);
        !            26: int    getstr(char*, char*, int, char*, int);
        !            27: int    hardinit(void);
        !            28: long   hardread(int, void*, long);
        !            29: long   hardseek(int, long);
        !            30: long   hardwrite(int, void*, long);
        !            31: void   i8042a20(void);
        !            32: void   i8042reset(void);
        !            33: void*  ialloc(ulong, int);
        !            34: void   idle(void);
        !            35: int    inb(int);
        !            36: ushort ins(int);
        !            37: ulong  inl(int);
        !            38: void   insb(int, void*, int);
        !            39: void   inss(int, void*, int);
        !            40: void   insl(int, void*, int);
        !            41: int    isaconfig(char*, int, ISAConf*);
        !            42: void   kbdinit(void);
        !            43: void   kbdchar(int);
        !            44: void   machinit(void);
        !            45: void   meminit(void);
        !            46: void   mmuinit(void);
        !            47: uchar  nvramread(int);
        !            48: void   outb(int, int);
        !            49: void   outs(int, ushort);
        !            50: void   outl(int, ulong);
        !            51: void   outsb(int, void*, int);
        !            52: void   outss(int, void*, int);
        !            53: void   outsl(int, void*, int);
        !            54: int    plan9boot(int, long (*)(int, long), long (*)(int, void*, int));
        !            55: void   panic(char*, ...);
        !            56: void   putcr3(ulong);
        !            57: void   putidt(Segdesc*, int);
        !            58: void   qinit(IOQ*);
        !            59: int    scsiexec(Scsi*, int);
        !            60: int    scsiinit(void);
        !            61: long   scsiread(int, void*, long);
        !            62: long   scsiseek(int, long);
        !            63: Partition* sethardpart(int, char*);
        !            64: Partition* setscsipart(int, char*);
        !            65: void   setvec(int, void (*)(Ureg*, void*), void*);
        !            66: int    splhi(void);
        !            67: int    spllo(void);
        !            68: void   splx(int);
        !            69: void   trapinit(void);
        !            70: void   uartspecial(int, void (*)(int), int (*)(void), int);
        !            71: void   uartputs(IOQ*, char*, int);
        !            72: int    x86(void);
        !            73: 
        !            74: #define        GSHORT(p)       (((p)[1]<<8)|(p)[0])
        !            75: #define        GLONG(p)        ((GSHORT(p+2)<<16)|GSHORT(p))
        !            76: #define        GLSHORT(p)      (((p)[0]<<8)|(p)[1])
        !            77: #define        GLLONG(p)       ((GLSHORT(p)<<16)|GLSHORT(p+2))
        !            78: 
        !            79: #define KADDR(a)       ((void*)((ulong)(a)|KZERO))
        !            80: #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.