Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/bitsy/fns.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname bitsy/fns.h 2000/0831
## diff -e /dev/null /n/emeliedump/2000/0831/sys/src/9/bitsy/fns.h
0a
#include "../port/portfns.h"

int	cistrcmp(char*, char*);
int	cistrncmp(char*, char*, int);
#define	clearmmucache()				/* x86 doesn't have one */
void	clockintr(Ureg*, void*);
void	clockintrsched(void);
void	(*coherence)(void);
void	delay(int);
void	idle(void);
#define	idlehands()			/* nothing to do in the runproc */
#define	procrestore(p)
void	procsave(Proc*);
void	procsetup(Proc*);
void	screeninit(void);
int	screenprint(char*, ...);			/* debugging */
void	(*screenputs)(char*, int);
void	touser(void*);
void	trapenable(int, void (*)(Ureg*, void*), void*, char*);
void	trapinit(void);
int	tas(void*);
void	wbflush(void);

#define	waserror()	(up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1]))
#define KADDR(a)	((void*)((ulong)(a)|KZERO))
#define PADDR(a)	((ulong)(a)&~KZERO)

#define	dcflush(a, b)
.
## diffname bitsy/fns.h 2000/0902
## diff -e /n/emeliedump/2000/0831/sys/src/9/bitsy/fns.h /n/emeliedump/2000/0902/sys/src/9/bitsy/fns.h
11a
int	iprint(char*, ...);
.
9a
void	evenaddr(ulong);
#define	getpgcolor(a)	0
.
## diffname bitsy/fns.h 2000/0904
## diff -e /n/emeliedump/2000/0902/sys/src/9/bitsy/fns.h /n/emeliedump/2000/0904/sys/src/9/bitsy/fns.h
17a
void	putuartstr(char*);
.
## diffname bitsy/fns.h 2000/0905
## diff -e /n/emeliedump/2000/0904/sys/src/9/bitsy/fns.h /n/emeliedump/2000/0905/sys/src/9/bitsy/fns.h
14a
void	meminit(void);
void	mmuinit(void);
.
## diffname bitsy/fns.h 2000/0906
## diff -e /n/emeliedump/2000/0905/sys/src/9/bitsy/fns.h /n/emeliedump/2000/0906/sys/src/9/bitsy/fns.h
32c
#define PADDR(a)	((ulong)(a))
.
20c
void	putdac(ulong);
void	putttb(ulong);
void	putpid(ulong);
.
10a
ulong	getfar(void);
ulong	getfsr(void);
.
## diffname bitsy/fns.h 2000/0929
## diff -e /n/emeliedump/2000/0906/sys/src/9/bitsy/fns.h /n/emeliedump/2000/0929/sys/src/9/bitsy/fns.h
29d
18a
void	mmuenable(void);
void	mmudisable(void);
.
16a
ulong*	mapspecial(ulong, int);
.
10a
void	exceptionvectors(void);
.
8c
#define	coherence()
.
## diffname bitsy/fns.h 2000/1002
## diff -e /n/emeliedump/2000/0929/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1002/sys/src/9/bitsy/fns.h
28a
void	reset(void);
.
22a
void	noted(Ureg*, ulong);
int	notify(Ureg*);
.
18c
void*	mapspecial(ulong, int);
.
## diffname bitsy/fns.h 2000/1006
## diff -e /n/emeliedump/2000/1002/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1006/sys/src/9/bitsy/fns.h
37a
void	uartsetup(void);
.
16a
void	intrenable(int, void (*)(Ureg*, void*), void*, char*);
.
6,7c
void	clockinit(void);
.
## diffname bitsy/fns.h 2000/1007
## diff -e /n/emeliedump/2000/1006/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1007/sys/src/9/bitsy/fns.h
38c
int	uartstageoutput(Uart*);
void	vectors(void);
void	vtable(void);
.
35a
void	trapdump(char *tag);
.
34a
void	setr13(int, ulong*);
.
31a
Uart*	uartsetup(PhysUart*, void*, ulong, char*);
void	sa1100_uartsetup(void);
.
17a
void	mappedIvecEnable(void);
void	mappedIvecDisable(void);
.
13a
void	h3650uartsetup(void);
.
10c
void	flushcache(void);
void	flushmmu(void);
.
## diffname bitsy/fns.h 2000/1008
## diff -e /n/emeliedump/2000/1007/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1008/sys/src/9/bitsy/fns.h
35a
void	rs232power(int);
.
19a
void	irpower(int);
void	lcdpower(int);
.
## diffname bitsy/fns.h 2000/1013
## diff -e /n/emeliedump/2000/1008/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1013/sys/src/9/bitsy/fns.h
36a
void	qpanic(char *, ...);
.
## diffname bitsy/fns.h 2000/1014
## diff -e /n/emeliedump/2000/1013/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1014/sys/src/9/bitsy/fns.h
4a
void	cleancache(void);
void	cleanaddr(ulong);
.
## diffname bitsy/fns.h 2000/1015
## diff -e /n/emeliedump/2000/1014/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1015/sys/src/9/bitsy/fns.h
52a
void	uartkick(void*);
void	uartrecv(Uart*, char);
.
46c
void	screenputs(char*, int);
.
43c
void	uartspecial(Uart*, int, Queue**, Queue**, int (*)(Queue*, int));
void	sa1100_uartsetup(int);
.
30a
void	mmuinvalidate(void);
.
12d
5,7d
2a
void	cacheflush(void);
void	cacheflushaddr(ulong);
.
## diffname bitsy/fns.h 2000/1016
## diff -e /n/emeliedump/2000/1015/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1016/sys/src/9/bitsy/fns.h
54a
int	unsac(uchar*, uchar*, int, int);
.
47a
uchar*	tarlookup(uchar*, char*, int*);
.
11a
char*	getconf(char*);
.
## diffname bitsy/fns.h 2000/1018
## diff -e /n/emeliedump/2000/1016/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1018/sys/src/9/bitsy/fns.h
30a
void	mmuinvalidateaddr(ulong);
.
16a
void	icacheinvalidate(void);
.
4c
void	cachewb(void);
void	cachewbaddr(void*);
void	cachewbregion(void*, int);
void	dcacheinvalidate(void);
.
## diffname bitsy/fns.h 2000/1021
## diff -e /n/emeliedump/2000/1018/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1021/sys/src/9/bitsy/fns.h
52a
void	serialµcputs(uchar *str, int n);
.
37a
void	penbutton(int, int);
void	pentrackxy(int x, int y);
.
35a
int	µcputc(Queue*, int);
.
## diffname bitsy/fns.h 2000/1026
## diff -e /n/emeliedump/2000/1021/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1026/sys/src/9/bitsy/fns.h
14a
int		fpiarm(Ureg *ur);
.
## diffname bitsy/fns.h 2000/1104
## diff -e /n/emeliedump/2000/1026/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1104/sys/src/9/bitsy/fns.h
12a
void	dmainit(void);
int		dmaalloc(int, int, int, int, int, void *);
void	dmafree(int);
ulong	dmastart(int, void *, int);
ulong	dmadone(int, ulong);
void	dmawait(int, ulong);
.
## diffname bitsy/fns.h 2000/1106
## diff -e /n/emeliedump/2000/1104/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1106/sys/src/9/bitsy/fns.h
73a
#define	userureg(ur)	(((ur)->psr & PsrMask) == PsrMusr)
.
6c
void	cachewbregion(ulong, int);
.
## diffname bitsy/fns.h 2000/1110
## diff -e /n/emeliedump/2000/1106/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1110/sys/src/9/bitsy/fns.h
13,18c
void	µdelay(int);
.
## diffname bitsy/fns.h 2000/1111
## diff -e /n/emeliedump/2000/1110/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1111/sys/src/9/bitsy/fns.h
13a
void	dmainit(void);
.
2a
void	amplifierpower(int);
void	audiopower(int);
void	audiomute(int);
.
## diffname bitsy/fns.h 2000/1118
## diff -e /n/emeliedump/2000/1111/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1118/sys/src/9/bitsy/fns.h
79,80d
76a
#define KADDR(a) (void*)mmu_kaddr((ulong)(a))
#define PADDR(a) mmu_paddr((ulong)(a))
.
44a
int	pcmcistuple(int, int, int, void*, int);
.
41a
ulong	mmu_kaddr(ulong);
ulong	mmu_paddr(ulong);
.
32a
void*	mapmem(ulong, int);
.
20c
int	fpiarm(Ureg *ur);
.
18a
void	exppackpower(int);
void	flashprogpower(int);
.
17a
void	egpiobits(ulong, int);
.
## diffname bitsy/fns.h 2000/1121
## diff -e /n/emeliedump/2000/1118/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1121/sys/src/9/bitsy/fns.h
36c
void*	mapmem(ulong, int, int);
.
## diffname bitsy/fns.h 2000/1122
## diff -e /n/emeliedump/2000/1121/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1122/sys/src/9/bitsy/fns.h
27a
void	gpiointrenable(ulong, int, void (*)(Ureg*, void*), void*, char*)
.
## diffname bitsy/fns.h 2000/1123
## diff -e /n/emeliedump/2000/1122/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1123/sys/src/9/bitsy/fns.h
5d
3d
## diffname bitsy/fns.h 2000/1125
## diff -e /n/emeliedump/2000/1123/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1125/sys/src/9/bitsy/fns.h
26c
void	gpiointrenable(ulong, int, void (*)(Ureg*, void*), void*, char*);
.
## diffname bitsy/fns.h 2000/1128
## diff -e /n/emeliedump/2000/1125/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1128/sys/src/9/bitsy/fns.h
50a
PCMmap*	pcmmap(int, ulong, int, int);
void	pcmunmap(int, PCMmap*);
.
49a
void	pcmcisread(PCMslot*);
.
## diffname bitsy/fns.h 2000/1130
## diff -e /n/emeliedump/2000/1128/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1130/sys/src/9/bitsy/fns.h
30c
void	idlehands(void);
.
15a
void	_doze(void);
void	(*doze)(void);
.
## diffname bitsy/fns.h 2000/1205
## diff -e /n/emeliedump/2000/1130/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1205/sys/src/9/bitsy/fns.h
92,93d
65d
51a
void	outb(ulong, uchar);
void	outs(ulong, ushort);
void	outl(ulong, ulong);
.
33c
uchar	inb(ulong);
ushort	ins(ulong);
ulong	inl(ulong);
void	intrenable(int, int, void (*)(Ureg*, void*), void*, char*);
.
12a
#define	dcflush(a, b)
.
## diffname bitsy/fns.h 2000/1215
## diff -e /n/emeliedump/2000/1205/sys/src/9/bitsy/fns.h /n/emeliedump/2000/1215/sys/src/9/bitsy/fns.h
40a
void	links(void);
.
## diffname bitsy/fns.h 2001/0327
## diff -e /n/emeliedump/2000/1215/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0327/sys/src/9/bitsy/fns.h
58a
void	outss(ulong, void*, int);
.
35a
void	inss(ulong, void*, int);
.
25a
ulong	getcpuid(void);
.
## diffname bitsy/fns.h 2001/0421
## diff -e /n/emeliedump/2001/0327/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0421/sys/src/9/bitsy/fns.h
15c
void	µdelay(ulong);
.
## diffname bitsy/fns.h 2001/0529
## diff -e /n/emeliedump/2001/0421/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0529/sys/src/9/bitsy/fns.h
82d
77d
## diffname bitsy/fns.h 2001/0601
## diff -e /n/emeliedump/2001/0529/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0601/sys/src/9/bitsy/fns.h
78c
void	sa1110_uartsetup(int);
.
41a
#define	kmapinval()
.
## diffname bitsy/fns.h 2001/0618
## diff -e /n/emeliedump/2001/0601/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0618/sys/src/9/bitsy/fns.h
87a
void	trapresume(void);
.
80a
void	screenpower(int);
.
69a
void	powerinit(void);
.
15a
void	µcpower(int);
.
11a
void	clockpower(int);
.
## diffname bitsy/fns.h 2001/0619
## diff -e /n/emeliedump/2001/0618/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0619/sys/src/9/bitsy/fns.h
93a
void	uartpower(int);
.
## diffname bitsy/fns.h 2001/0620
## diff -e /n/emeliedump/2001/0619/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0620/sys/src/9/bitsy/fns.h
72a
void	powerkproc(void*);
.
## diffname bitsy/fns.h 2001/0711
## diff -e /n/emeliedump/2001/0620/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0711/sys/src/9/bitsy/fns.h
103a
ulong	TK2MS(ulong);				/* ticks to milliseconds */
.
## diffname bitsy/fns.h 2001/0712
## diff -e /n/emeliedump/2001/0711/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0712/sys/src/9/bitsy/fns.h
31a
void*	getsp(void);
.
30a
void*	getlink(void);
.
## diffname bitsy/fns.h 2001/0809
## diff -e /n/emeliedump/2001/0712/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0809/sys/src/9/bitsy/fns.h
44d
## diffname bitsy/fns.h 2001/0810
## diff -e /n/emeliedump/2001/0809/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0810/sys/src/9/bitsy/fns.h
57a
void	mmurestart(void);
.
3a
void	audioamppower(int);
void	audioicpower(int);
.
## diffname bitsy/fns.h 2001/0812
## diff -e /n/emeliedump/2001/0810/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0812/sys/src/9/bitsy/fns.h
35c
ulong	getsp(void);
.
## diffname bitsy/fns.h 2001/0814
## diff -e /n/emeliedump/2001/0812/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0814/sys/src/9/bitsy/fns.h
32a
ulong	getcontrol(void);
ulong	getdac(void);
ulong	getttb(void);
.
## diffname bitsy/fns.h 2001/0815
## diff -e /n/emeliedump/2001/0814/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0815/sys/src/9/bitsy/fns.h
25a
ulong findva(ulong, ulong, ulong);
.
## diffname bitsy/fns.h 2001/0818
## diff -e /n/emeliedump/2001/0815/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0818/sys/src/9/bitsy/fns.h
79a
void	power_down(void);
.
## diffname bitsy/fns.h 2001/0820
## diff -e /n/emeliedump/2001/0818/sys/src/9/bitsy/fns.h /n/emeliedump/2001/0820/sys/src/9/bitsy/fns.h
9a
void	coma(ulong);
.
## diffname bitsy/fns.h 2002/0404
## diff -e /n/emeliedump/2001/0820/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0404/sys/src/9/bitsy/fns.h
42a
int	havecycintr(void);
.
16a
void	cycintradd(Cycintr *);
void	cycintrdel(Cycintr *);
.
15a
void	clockintrsched(void);
.
## diffname bitsy/fns.h 2002/0405
## diff -e /n/emeliedump/2002/0404/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0405/sys/src/9/bitsy/fns.h
103a
void	timersinit(void);
void	timeradd(Timer*);
void	timerdel(Timer*);
vlong	timerintr(Ureg *, void*);
void	timerset(vlong);
.
46c
int	havetimer(void);
.
18,19d
16d
9a
void	clockintrsched(void);	/* to be deleted */
.
2a
void	addclock0link(void (*)(void));
.
## diffname bitsy/fns.h 2002/0406
## diff -e /n/emeliedump/2002/0405/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0406/sys/src/9/bitsy/fns.h
106,107c
uvlong	timerintr(Ureg *, void*);
void	timerset(uvlong);
.
## diffname bitsy/fns.h 2002/0408
## diff -e /n/emeliedump/2002/0406/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0408/sys/src/9/bitsy/fns.h
106c
void	timerintr(Ureg *, uvlong);
.
## diffname bitsy/fns.h 2002/0430
## diff -e /n/emeliedump/2002/0408/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0430/sys/src/9/bitsy/fns.h
45a
void	_hibernate(void);
void	(*hibernate)(void);
.
## diffname bitsy/fns.h 2002/0604
## diff -e /n/emeliedump/2002/0430/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0604/sys/src/9/bitsy/fns.h
24,25c
void	doze(void);
.
22a
void	deepsleep(void);
.
## diffname bitsy/fns.h 2002/0606
## diff -e /n/emeliedump/2002/0604/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0606/sys/src/9/bitsy/fns.h
21d
## diffname bitsy/fns.h 2002/0615
## diff -e /n/emeliedump/2002/0606/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0615/sys/src/9/bitsy/fns.h
53a
void	intrdisable(int, int, void (*)(Ureg*, void*), void*, char*);
.
42d
## diffname bitsy/fns.h 2002/0618
## diff -e /n/emeliedump/2002/0615/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0618/sys/src/9/bitsy/fns.h
78a
void	pcmciapower(int);
.
## diffname bitsy/fns.h 2002/0710
## diff -e /n/emeliedump/2002/0618/sys/src/9/bitsy/fns.h /n/emeliedump/2002/0710/sys/src/9/bitsy/fns.h
124d
## diffname bitsy/fns.h 2002/1112
## diff -e /n/emeliedump/2002/0710/sys/src/9/bitsy/fns.h /n/emeliedump/2002/1112/sys/src/9/bitsy/fns.h
96a
void	rtcalarm(ulong);
.
95a
void	resetsuspendtimer(void);
.
17c
ulong	clockpower(int);
.
3d

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.