|
|
|
1991/0423/sys/src/9/gnot/fns.h:1,41 –
1991/0428/sys/src/9/gnot/fns.h:1,14
(short | long | prev | next)
|
|
1990/03091
| |
Alarm *alarm(int, void (*)(Alarm*), void*);
void alarminit(void);
Block *allocb(ulong);
|
|
1990/1227
| |
int anyready(void);
|
|
1991/0428
| |
#include "../port/portfns.h"
#define P_oper(sel, inst) (P_qlock(sel), inst, P_qunlock(sel))
#define P_qlock(sel) (sel >= 0 ? (qlock(&portpage), PORTSELECT = portpage.select = sel) : -1)
#define P_qunlock(sel) (sel >= 0 ? (qunlock(&portpage),0) : -1)
#define P_read(sel, addr, val, type) P_oper(sel, val = *(type *)(PORT+addr))
#define P_write(sel, addr, val, type) P_oper(sel, *(type *)(PORT+addr) = val)
|
|
1991/0115
| |
void addportintr(int (*)(void));
|
|
1990/03091
| |
void append(List**, List*);
void cancel(Alarm*);
int canlock(Lock*);
|
|
1990/0312
| |
int canqlock(QLock*);
|
|
1990/03091
| |
void chaninit(void);
void chandevreset(void);
void chandevinit(void);
|
|
1990/1211
| |
void checkalarms(void);
|
|
1990/0925
| |
void clearmmucache(void);
|
|
1990/03091
| |
void clock(Ureg*);
Chan *clone(Chan*, Chan*);
void close(Chan*);
void closemount(Mount*);
void closepgrp(Pgrp*);
long clrfpintr(void);
|
|
1990/0802
| |
int compactpte(Orig*, ulong);
|
|
1990/03091
| |
void confinit(void);
Env *copyenv(Env*, int);
int decref(Ref*);
void delay(int);
void delete(List**, List*, List*);
void delete0(List**, List*);
Chan *devattach(int, char*);
Chan *devclone(Chan*, Chan*);
|
|
1991/0419
| |
Chan *devclwalk(Chan*, char*);
|
|
1990/11211
| |
void devdir(Chan*, Qid, char*, long, long, Dir*);
|
|
1990/03091
| |
long devdirread(Chan*, char*, long, Dirtab*, int, Devgen*);
Devgen devgen;
int devno(int, int);
|
|
1990/1106
| |
Chan *devopen(Chan*, int, Dirtab*, int, Devgen*);
|
|
1990/03091
| |
void devstat(Chan*, char*, Dirtab*, int, Devgen*);
int devwalk(Chan*, char*, Dirtab*, int, Devgen*);
|
|
1990/0808
| |
void duartbaud(int);
void duartbaud(int);
|
|
1990/0830
| |
void duartbreak(int);
void duartdtr(int);
int duartinputport(void);
|
|
1991/0423/sys/src/9/gnot/fns.h:42,243 –
1991/0428/sys/src/9/gnot/fns.h:15,71
|
|
1990/0629
| |
void duartstartrs232o(void);
|
|
1990/0330
| |
void duartstarttimer(void);
void duartstoptimer(void);
|
|
1990/03091
| |
void dumpregs(Ureg*);
|
|
1991/0115
| |
void dumpqueues(void);
|
|
1990/03091
| |
void dumpstack(void);
int eqchan(Chan*, Chan*, long);
|
|
1990/11211
| |
int eqqid(Qid, Qid);
|
|
1990/03091
| |
void envpgclose(Env *);
|
|
1990/11211
| |
void error(int);
void errors(char*);
|
|
1990/1226
| |
void execpc(ulong);
|
|
1990/03091
| |
void exit(void);
|
|
1990/1212
| |
int fault(ulong, int);
|
|
1991/0428
| |
#define evenaddr(x) /* 68020 doesn't care */
|
|
1990/1212
| |
void fault68020(Ureg*, FFrame*);
|
|
1990/08141
| |
void fdclose(int);
|
|
1990/1106
| |
Chan *fdtochan(int, int);
|
|
1990/1104
| |
void filsys(Chan*, char*, long);
|
|
1990/1110
| |
void filsysinit(void);
|
|
1990/03091
| |
void firmware(void);
void flowctl(Queue*);
|
|
1991/0428
| |
#define flushapage(x)
|
|
1990/03091
| |
void flushcpucache(void);
void flushmmu(void);
void forkmod(Seg*, Seg*, Proc*);
|
|
1991/0428
| |
#define flushpage(x) if(x)
#define flushvirt()
|
|
1990/08163
| |
int fpcr(int);
void fpsave(FPsave*);
|
|
1991/0428
| |
void fpregrestore(char*);
|
|
1990/08163
| |
void fpregsave(char*);
void fprestore(FPsave*);
void fpregrestore(char*);
|
|
1990/03091
| |
void freeb(Block*);
|
|
1990/1212
| |
int freebroken(void);
|
|
1991/0414
| |
void freechan(Chan*);
|
|
1990/08101
| |
void freenextmod(PTE*);
|
|
1990/1212
| |
void freepage(Orig*, int);
|
|
1990/03091
| |
void freepte(Orig*);
void freesegs(int);
void freealarm(Alarm*);
|
|
1990/0312
| |
Block *getb(Blist*);
int getfields(char*, char**, int, char);
Block *getq(Queue*);
|
|
1991/0428
| |
void fpsave(FPsave*);
|
|
1990/0629
| |
int getrs232o(void);
|
|
1990/03091
| |
void gotolabel(Label*);
void growpte(Orig*, ulong);
void *ialloc(ulong, int);
|
|
1991/0115
| |
void incontoggle(void);
|
|
1990/03091
| |
int incref(Ref*);
void insert(List**, List*, List*);
|
|
1990/1211
| |
void invalidateu(void);
|
|
1990/03091
| |
void isdir(Chan*);
void kbdchar(int);
|
|
1990/0321
| |
void kbdrepeat(int);
void kbdclock(void);
|
|
1991/0428
| |
void kbdrepeat(int);
KMap* kmap(Page*);
|
|
1990/06021
| |
void kmapinit(void);
KMap *kmap(Page*);
|
|
1990/0707
| |
int kprint(char*, ...);
|
|
1990/1211
| |
void kproc(char*, void(*)(void*), void*);
|
|
1990/06021
| |
void kunmap(KMap*);
|
|
1990/03091
| |
void lock(Lock*);
void lockinit(void);
Orig *lookorig(ulong, ulong, int, Chan*);
void machinit(void);
void mapstack(Proc*);
void mmuinit(void);
int mount(Chan*, Chan*, int);
|
|
1990/0329
| |
void mousebuttons(int);
|
|
1990/0504
| |
void mouseclock(void);
|
|
1990/03091
| |
Chan *namec(char*, int, int, ulong);
void nexterror(void);
Alarm *newalarm(void);
Chan *newchan(void);
|
|
1990/1212
| |
PTE *newmod(Orig *o);
|
|
1990/03091
| |
Mount *newmount(void);
Orig *neworig(ulong, ulong, int, Chan*);
Page *newpage(int, Orig*, ulong);
Pgrp *newpgrp(void);
Proc *newproc(void);
|
|
1990/0321
| |
void newqinfo(Qinfo*);
|
|
1990/03091
| |
char *nextelem(char*, char*);
|
|
1990/0703
| |
void notify(Ureg*);
|
|
1990/03091
| |
void nullput(Queue*, Block*);
int openmode(ulong);
|
|
1990/1106
| |
Block *padb(Block*, int);
|
|
1990/03091
| |
void pageinit(void);
void panic(char*, ...);
void pexit(char*, int);
void pgrpcpy(Pgrp*, Pgrp*);
void pgrpinit(void);
|
|
1990/1106
| |
void pgrpnote(Pgrp*, char*, long, int);
Pgrp *pgrptab(int);
|
|
1991/0115
| |
int portprobe(char*, int, int, int, long);
|
|
1990/03091
| |
int postnote(Proc*, int, char*, int);
int pprint(char*, ...);
void printinit(void);
void printslave(void);
void procinit0(void);
|
|
1990/1212
| |
void procrestore(Proc*, uchar*);
void procsave(uchar*, int);
void procsetup(Proc*);
|
|
1990/03091
| |
Proc *proctab(int);
|
|
1990/1106
| |
Queue *pushq(Stream*, Qinfo*);
|
|
1990/0312
| |
void putbq(Blist*, Block*);
|
|
1990/03091
| |
void putkmmu(ulong, ulong);
void putmmu(ulong, ulong);
int putq(Queue*, Block*);
void putstr(char*);
void putstrn(char*, long);
ulong pwait(Waitmsg*);
int readnum(ulong, char*, ulong, ulong, int);
void ready(Proc*);
|
|
1990/05313
| |
int return0(void*);
|
|
1990/0629
| |
void rs232ichar(int);
|
|
1990/1211
| |
Proc *runproc(void);
|
|
1990/03091
| |
void qlock(QLock*);
void qunlock(QLock*);
void restartprint(Alarm*);
void restfpregs(FPsave*);
void savefpregs(FPsave*);
void sched(void);
void schedinit(void);
|
|
1991/0428
| |
void rs232ichar(int);
|
|
1990/03091
| |
void screeninit(void);
void screenputc(int);
|
|
1991/0115
| |
int scsicap(int, uchar *);
|
|
1991/0423
| |
Scsi *scsicmd(int, int, long);
|
|
1991/0428
| |
Scsi* scsicmd(int, int, long);
|
|
1991/0115
| |
void scsictrlintr(void);
void scsidmaintr(void);
int scsiexec(Scsi *, int);
void scsiinit(void);
void scsirun(void);
int scsiready(int);
uchar *scsirecv(uchar *);
|
|
1991/0428
| |
uchar* scsirecv(uchar *);
|
|
1991/0115
| |
void scsireset(void);
|
|
1991/0428
| |
void scsirun(void);
|
|
1991/0115
| |
int scsisense(int, uchar *);
uchar *scsixmit(uchar *);
|
|
1990/03091
| |
long seconds(void);
Seg *seg(Proc*, ulong);
int segaddr(Seg*, ulong, ulong);
|
|
1990/1104
| |
void serviceinit(void);
|
|
1990/1106
| |
void service(char*, Chan*, Chan*, void (*)(Chan*, char*, long));
|
|
1990/03091
| |
int setlabel(Label*);
|
|
1990/1106
| |
char *skipslash(char*);
|
|
1990/03091
| |
void sleep(Rendez*, int(*)(void*), void*);
|
|
1991/0428
| |
uchar* scsixmit(uchar *);
|
|
1991/0115
| |
int spl1(void);
|
|
1991/0423
| |
int splduart(void);
|
|
1990/03091
| |
int splhi(void);
int spllo(void);
void splx(int);
|
|
1990/1004
| |
void spldone(void);
|
|
1990/03091
| |
Devgen streamgen;
|
|
1990/11211
| |
int streamclose(Chan*);
int streamclose1(Stream*);
|
|
1990/0620
| |
int streamenter(Stream*);
|
|
1990/1024
| |
int streamexit(Stream*, int);
|
|
1990/03091
| |
void streaminit(void);
|
|
1991/0115
| |
void streaminit0(void);
|
|
1990/03091
| |
long streamread(Chan*, void*, long);
|
|
1990/0312
| |
long streamwrite(Chan*, void*, long, int);
|
|
1990/1106
| |
Stream *streamnew(ushort, ushort, ushort, Qinfo*, int);
|
|
1990/03091
| |
void streamopen(Chan*, Qinfo*);
int streamparse(char*, Block*);
|
|
1990/0801
| |
void streamstat(Chan*, char*, char*);
|
|
1991/0411
| |
long stringread(Chan*, void*, long, char*, ulong);
|
|
1990/03091
| |
long syscall(Ureg*);
|
|
1991/0428
| |
int splduart(void);
|
|
1990/03091
| |
int tas(char*);
void touser(void);
void tsleep(Rendez*, int (*)(void*), void*, int);
void twakeme(Alarm*);
|
|
1990/1106
| |
long unionread(Chan*, void*, long);
|
|
1990/03091
| |
void unlock(Lock*);
void usepage(Page*, int);
|
|
1990/1211
| |
void unusepage(Page*, int);
|
|
1990/03091
| |
void userinit(void);
void validaddr(ulong, ulong, int);
|
|
1990/1106
| |
void *vmemchr(void*, int, int);
|
|
1990/03091
| |
void wakeme(Alarm*);
void wakeup(Rendez*);
#define waserror() (u->nerrlab++, setlabel(&u->errlab[u->nerrlab-1]))
#define poperror() u->nerrlab--
#define evenaddr(x) /* 68020 doesn't care */
|
|
1990/1214
| |
|
|
1991/0109
| |
#define USED(x) if(x)
#define SET(x) x = 0
|
|
1991/0115
| |
#define flushvirt()
|
|
1991/0312
| |
#define flushapage(x)
|
|
1991/0115
| |
/*
* for SCSI
*/
#define P_qlock(sel) (sel >= 0 ? (qlock(&portpage), \
PORTSELECT = portpage.select = sel) : -1)
#define P_qunlock(sel) (sel >= 0 ? (qunlock(&portpage),0) : -1)
#define P_oper(sel, inst) (P_qlock(sel), inst, P_qunlock(sel))
#define P_read(sel, addr, val, type) P_oper(sel, val = *(type *)(PORT+addr))
#define P_write(sel, addr, val, type) P_oper(sel, *(type *)(PORT+addr) = val)
|
|
1991/0314
| |
#define flushpage(x) if(x)
|