~kris/9p

9hist

ref: a93e2ace3e40f7ee822c7082fb6d8a961debde00 9hist/pc/fns.h -rw-r--r-- 1.3 KiB
a93e2ace — David du Colombier Plan 9 from Bell Labs 1991-07-12 35 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include "../port/portfns.h"

#define	clearmmucache()		/* 386 doesn't have one */
void	clock(Ureg*);
void	clockinit(void);
void	delay(int);
#define	evenaddr(x)		/* 386 doesn't care */
void	fault386(Ureg*);
void	floppyinit(void);
void	floppyintr(Ureg*);
long	floppyseek(int, long);
long	floppyread(int, void*, long);
#define	flushvirt();
void	idle(void);
int	inb(int);
void	intr0(void);
void	intr1(void);
void	intr2(void);
void	intr3(void);
void	intr4(void);
void	intr5(void);
void	intr6(void);
void	intr7(void);
void	intr8(void);
void	intr9(void);
void	intr10(void);
void	intr11(void);
void	intr12(void);
void	intr13(void);
void	intr14(void);
void	intr15(void);
void	intr16(void);
void	intr17(void);
void	intr18(void);
void	intr19(void);
void	intr20(void);
void	intr21(void);
void	intr22(void);
void	intr23(void);
void	intr64(void);
void	intrbad(void);
void	kbdinit(void);
void	kbdintr(Ureg*);
void	lgdt(Segdesc*, int);
void	lidt(Segdesc*, int);
void	mmuinit(void);
void	outb(int, int);
void	prhex(ulong);
#define	procrestore(x,y)
#define	procsave(x,y)
#define	procsetup(p)	((p)->fpstate = FPinit)
void	screeninit(void);
void	screenputc(int);
void	screenputs(char*, int);
void	setvec(int, void (*)(Ureg*), int);
void	systrap(void);
void	touser(void);
void	trapinit(void);
int	tas(Lock*);
#define	waserror()	(u->nerrlab++, setlabel(&u->errlab[u->nerrlab-1]))