FreeBSD/Linux Kernel Cross Reference
sys/ppc/fns.h
1 #include "../port/portfns.h"
2
3 int cistrcmp(char*, char*);
4 int cistrncmp(char*, char*, int);
5 void clockinit(void);
6 void clockintr(Ureg*);
7 void cpuidprint(void);
8 void cycles(uvlong*);
9 void dbgputc(int c);
10 void dcacheenb(void);
11 void dcflush(void*, ulong);
12 void dczap(void*, ulong);
13 void delay(int);
14 void delayloopinit(void);
15 void dmiss(void);
16 void dumpregs(Ureg*);
17 void eieio(void);
18 void evenaddr(ulong);
19 void faultpower(Ureg*, ulong addr, int read);
20 void flashprogpower(int);
21 void fpgareset(void);
22 void fprestore(FPsave*);
23 void fpsave(FPsave*);
24 void fptrap(Ureg*);
25 char* getconf(char*);
26 ulong getdar(void);
27 ulong getdcmp(void);
28 ulong getdec(void);
29 ulong getdmiss(void);
30 ulong getdsisr(void);
31 ulong gethash1(void);
32 ulong gethash2(void);
33 ulong gethid0(void);
34 ulong gethid1(void);
35 ulong geticmp(void);
36 ulong geticmp(void);
37 ulong getimiss(void);
38 ulong getmsr(void);
39 ulong getpvr(void);
40 ulong getrpa(void);
41 ulong getsdr1(void);
42 ulong getsr(int);
43 ulong getsrr1(void);
44 void gotopc(ulong);
45 void hwintrinit(void);
46 void icacheenb(void);
47 void icflush(void*, ulong);
48 void idle(void);
49 #define idlehands() /* nothing to do in the runproc */
50 void imiss(void);
51 int inb(int);
52 void intr(Ureg*);
53 void intrenable(int, void (*)(Ureg*, void*), void*, char*);
54 void intrdisable(int, void (*)(Ureg*, void*), void*, char*);
55 int ioalloc(int, int, int, char*);
56 void iofree(int);
57 int iprint(char*, ...);
58 int isaconfig(char*, int, ISAConf*);
59 void kfpinit(void);
60 #define kmapinval()
61 void links(void);
62 void vectordisable(Vctl *);
63 int vectorenable(Vctl *);
64 void intack(void);
65 void intend(int);
66 int intvec(void);
67 void l2disable(void);
68 void mmuinit(void);
69 void mmusweep(void*);
70 int newmmupid(void);
71 void outb(int, int);
72 int pcicfgr16(Pcidev*, int);
73 int pcicfgr32(Pcidev*, int);
74 int pcicfgr8(Pcidev*, int);
75 void pcicfgw16(Pcidev*, int, int);
76 void pcicfgw32(Pcidev*, int, int);
77 void pcicfgw8(Pcidev*, int, int);
78 void procsave(Proc*);
79 void procsetup(Proc*);
80 void putdcmp(ulong);
81 void putdec(ulong);
82 void puthash1(ulong);
83 void puthash2(ulong);
84 void puthid0(ulong);
85 void puthid2(ulong);
86 void puticmp(ulong);
87 void puticmp(ulong);
88 void putmsr(ulong);
89 void putrpa(ulong);
90 void putsdr1(ulong);
91 void putsdr1(ulong);
92 void putsr(int, ulong);
93 void putsrr1(ulong);
94 void sethvec(int, void (*)(void));
95 void setmvec(int, void (*)(void), void (*)(void));
96 void sharedseginit(void);
97 void console(void);
98 void sync(void);
99 int tas(void*);
100 void timeradd(Timer *);
101 void timerdel(Timer *);
102 void timerinit(void);
103 void tlbflush(ulong);
104 void tlbflushall(void);
105 void tlbld(ulong);
106 void tlbli(ulong);
107 void tlbvec(void);
108 void touser(void*);
109 void trapinit(void);
110 void trapvec(void);
111 #define userureg(ur) (((ur)->status & MSR_PR) != 0)
112 #define waserror() (up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1]))
113 #define KADDR(a) ((void*)((ulong)(a)|KZERO))
114 #define PADDR(a) ((((ulong)(a)&0xf0000000)==0xf0000000)?(ulong)(a):((ulong)(a)&~KZERO))
115 #define coherence() eieio()
116 Pcidev* pcimatch(Pcidev*, int, int);
117 Pcidev* pcimatchtbdf(int);
118 void procrestore(Proc*);
119
120 #ifdef ucuconf
121 extern ulong getpll(void);
122 extern ulong getl2cr(void);
123 extern void putl2cr(ulong);
124 #endif
Cache object: cad5185c44d9a2eb61903da8b6b397f7
|