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

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


## diffname carrera/fns.h 1993/0903
## diff -e /dev/null /n/fornaxdump/1993/0903/sys/src/brazil/carrera/fns.h
0a
#include "../port/portfns.h"

void	DEBUG(void);

void	addportintr(int(*)(void));
void	allflush(void*, ulong);
void	audiointr(void);
void	arginit(void);
int	busprobe(ulong);
void	cleancache(void);
void	clearmmucache(void);
void	clockinit(void);
ulong	confeval(char*);
void	confprint(void);
void	confread(void);
void	confset(char*);
int	conschar(void);
void	consoff(void);
int	consputc(int);
void	dcflush(void*, ulong);
void	dcinvalidate(void*, ulong);
void	devportintr(void);
void	epcenable(ulong);
void	epcinit(int, int);
void	evenaddr(ulong);
void	faultmips(Ureg*, int, int);
ulong	fcr31(void);
void	firmware(int);
#define	flushpage(s)	icflush((void*)(s), BY2PG)
void	fptrap(Ureg*);
ulong	getcallerpc(void*);
int	getline(char*, int);
void	getnveaddr(void*);
int	getnvram(ulong, void *, int);
ulong	getstatus(void);
void	gettlb(int, ulong*);
int	gettlbp(ulong, ulong*);
ulong	gettlbvirt(int);
void	gotopc(ulong);
void	hinv(void);
void	icdirty(void *, ulong);
void	icflush(void *, ulong);
void	intr(Ureg*);
void	ioinit(void);
int	iprint(char*, ...);
int	kbdinit(void);
int	kbdintr(void);
void	kfault(ulong);
KMap*	kmap(Page*);
void	kmapinit(void);
void	kmapinval(void);
int	kprint(char*, ...);
void	kproftimer(ulong);
void	kunmap(KMap*);
void	launchinit(void);
void	launch(int);
void	lightbits(int, int);
void	lptintr(void);
ulong	machstatus(void);
void	mmunewpage(Page*);
void	mntdump(void);
void	newstart(void);
int	newtlbpid(Proc*);
void	nonettoggle(void);
void	novme(int);
void	online(void);
Block*	prepend(Block*, int);
void	prflush(void);
ulong	prid(void);
void	printinit(void);
#define	procrestore(p)
#define	procsave(p)
#define	procsetup(p)	((p)->fpstate = FPinit)
void	purgetlb(int);
int	putnvram(ulong, void*, int);
Softtlb*	putstlb(ulong, ulong);
int	puttlb(ulong, ulong, ulong);
void	puttlbx(int, ulong, ulong, ulong, int);
void*	pxalloc(ulong);
void*	pxspanalloc(ulong, int, ulong);
ulong	rdcount(void);
int	readlog(ulong, char*, ulong);
void	restfpregs(FPsave*, ulong);
void	screeninit(int);
#define	screenputs 
void	sethandler(int, void(*)(void));
void	setled(int);
void	setleveldest(int, int, uvlong*);
void	sinit(void);
uchar*	smap(int, uchar*);
void	sunmap(int, uchar*);
void	syslog(char*, int);
void	sysloginit(void);
int	tas(ulong*);
void	tlbinit(void);
ulong	tlbvirt(void);
void	touser(void*);
ulong	uvmove(uvlong*, uvlong*);
void	vecinit(void);
void	vector0(void);
void	vector100(void);
void	vector180(void);
void	vmereset(void);
void	wbflush(void);
void	wrcompare(ulong);
void	Xdelay(int);

void	NS16552special(int, int, Queue**, Queue**, int (*)(Queue*, int));
void	NS16552setup(ulong, ulong);

#define	waserror()	setlabel(&up->errlab[up->nerrlab++])
#define	kmapperm(x)	kmap(x)
#define KADDR(a)	((void*)((ulong)(a)|KSEG0))
#define KADDR1(a)	((void*)((ulong)(a)|KSEG1))
#define PADDR(a)	((ulong)(a)&~KSEGM)
.
## diffname carrera/fns.h 1993/0904
## diff -e /n/fornaxdump/1993/0903/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/0904/sys/src/brazil/carrera/fns.h
109a
void	NS16552intr(int);
void	etherintr(void);
.
58d
22d
7d
## diffname carrera/fns.h 1993/0905
## diff -e /n/fornaxdump/1993/0904/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/0905/sys/src/brazil/carrera/fns.h
108a
void	iomapinit(void);
void	enetaddr(uchar*);
.
104a
void	serialinit(void);
.
## diffname carrera/fns.h 1993/0906
## diff -e /n/fornaxdump/1993/0905/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/0906/sys/src/brazil/carrera/fns.h
83,88d
81c
void	screeninit(void);
.
## diffname carrera/fns.h 1993/0918
## diff -e /n/fornaxdump/1993/0906/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/0918/sys/src/brazil/carrera/fns.h
82c
void	screenputs(char*, int);
.
42c
void	ioinit(int);
.
## diffname carrera/fns.h 1993/1013
## diff -e /n/fornaxdump/1993/0918/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1013/sys/src/brazil/carrera/fns.h
46c
void	kfault(Ureg*);
.
## diffname carrera/fns.h 1993/1124
## diff -e /n/fornaxdump/1993/1013/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1124/sys/src/brazil/carrera/fns.h
82a
long	syscall(Ureg*);
.
10a
void	clock(Ureg*);
.
## diffname carrera/fns.h 1993/1210
## diff -e /n/fornaxdump/1993/1124/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1210/sys/src/brazil/carrera/fns.h
78a
void	rdbginit(void);
.
## diffname carrera/fns.h 1993/1214
## diff -e /n/fornaxdump/1993/1210/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1214/sys/src/brazil/carrera/fns.h
70c
void	procsave(Proc*)
.
5a
#define	affinity(x) (MACHP(0))
.
## diffname carrera/fns.h 1993/1215
## diff -e /n/fornaxdump/1993/1214/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1215/sys/src/brazil/carrera/fns.h
6c
#define	affinity(x) m
.
## diffname carrera/fns.h 1993/1216
## diff -e /n/fornaxdump/1993/1215/sys/src/brazil/carrera/fns.h /n/fornaxdump/1993/1216/sys/src/brazil/carrera/fns.h
71c
void	procsave(Proc*);
.
## diffname carrera/fns.h 1994/0304
## diff -e /n/fornaxdump/1993/1216/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0304/sys/src/brazil/carrera/fns.h
59a
void	mouseintr(void);
.
## diffname carrera/fns.h 1994/0306
## diff -e /n/fornaxdump/1994/0304/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0306/sys/src/brazil/carrera/fns.h
112,113c
#define	waserror()		setlabel(&up->errlab[up->nerrlab++])
#define	kmapperm(x)		kmap(x)

.
104,110c
void		serialinit(void);
void		NS16552special(int, int, Queue**, Queue**, int (*)(Queue*, int));
void		NS16552setup(ulong, ulong);
void		NS16552intr(int);
void		etherintr(void);
void		iomapinit(void);
void		enetaddr(uchar*);
.
77,102c
int		puttlb(ulong, ulong, ulong);
void		puttlbx(int, ulong, ulong, ulong, int);
void*		pxalloc(ulong);
void*		pxspanalloc(ulong, int, ulong);
void		rdbginit(void);
ulong		rdcount(void);
int		readlog(ulong, char*, ulong);
void		restfpregs(FPsave*, ulong);
void		screeninit(void);
void		screenputs(char*, int);
long		syscall(Ureg*);
void		syslog(char*, int);
void		sysloginit(void);
int		tas(ulong*);
void		tlbinit(void);
ulong		tlbvirt(void);
void		touser(void*);
ulong		uvmove(uvlong*, uvlong*);
void		vecinit(void);
void		vector0(void);
void		vector100(void);
void		vector180(void);
void		vmereset(void);
void		wbflush(void);
void		wrcompare(ulong);
void		Xdelay(int);
.
5,75c
void		addportintr(int(*)(void));
#define		affinity(x) m
void		allflush(void*, ulong);
void		arginit(void);
int		busprobe(ulong);
void		cleancache(void);
void		clearmmucache(void);
void		clock(Ureg*);
void		clockinit(void);
ulong		confeval(char*);
void		confprint(void);
void		confread(void);
void		confset(char*);
int		conschar(void);
void		consoff(void);
int		consputc(int);
void		dcflush(void*, ulong);
void		dcinvalidate(void*, ulong);
void		epcenable(ulong);
void		epcinit(int, int);
void		evenaddr(ulong);
void		faultmips(Ureg*, int, int);
ulong		fcr31(void);
void		firmware(int);
#define		flushpage(s)		icflush((void*)(s), BY2PG)
void		fptrap(Ureg*);
ulong		getcallerpc(void*);
int		getline(char*, int);
void		getnveaddr(void*);
int		getnvram(ulong, void *, int);
ulong		getstatus(void);
void		gettlb(int, ulong*);
int		gettlbp(ulong, ulong*);
ulong		gettlbvirt(int);
void		gotopc(ulong);
void		hinv(void);
void		icdirty(void *, ulong);
void		icflush(void *, ulong);
void		intr(Ureg*);
void		ioinit(int);
int		iprint(char*, ...);
int		kbdinit(void);
void		kbdintr(void);
void		kfault(Ureg*);
KMap*		kmap(Page*);
void		kmapinit(void);
void		kmapinval(void);
int		kprint(char*, ...);
void		kproftimer(ulong);
void		kunmap(KMap*);
void		launchinit(void);
void		launch(int);
void		lightbits(int, int);
ulong		machstatus(void);
void		mmunewpage(Page*);
void		mouseintr(void);
void		mntdump(void);
void		newstart(void);
int		newtlbpid(Proc*);
void		nonettoggle(void);
void		novme(int);
void		online(void);
Block*		prepend(Block*, int);
void		prflush(void);
ulong		prid(void);
void		printinit(void);
#define		procrestore(p)
void		procsave(Proc*);
#define		procsetup(p)		((p)->fpstate = FPinit)
void		purgetlb(int);
int		putnvram(ulong, void*, int);
.
3c
void		DEBUG(void);
.
## diffname carrera/fns.h 1994/0307
## diff -e /n/fornaxdump/1994/0306/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0307/sys/src/brazil/carrera/fns.h
117a

#define hnputl(p, v)	((*(ulong*)p) = v)
#define hnputs(p, v)	((*(ushort*)p) = v)
#define nhgetl(p)	((*(ulong*)p))
#define nhgets(p)	((*(ushrt*)p))

void	ifwrite(void*, Block*);
void*	ifinit(int);
void	fiberint(int);
.
99a
void		uvst(void*, void*);
void		uvld(void*, void*);
.
## diffname carrera/fns.h 1994/0308
## diff -e /n/fornaxdump/1994/0307/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0308/sys/src/brazil/carrera/fns.h
128a
ulong	ifaddr(void*);
void	audiosbintr(void);
void	audiodmaintr(void);
.
121,124c
void	hnputl(void*, ulong v);
void	hnputs(void*, ushort v);
ulong	nhgetl(void*);
ushort	nhgets(void*);
.
## diffname carrera/fns.h 1994/0309
## diff -e /n/fornaxdump/1994/0308/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0309/sys/src/brazil/carrera/fns.h
131a
ulong	fwblock(void*, void*, ulong);
.
127a
void	ifjab(void);
.
94d
## diffname carrera/fns.h 1994/0311
## diff -e /n/fornaxdump/1994/0309/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0311/sys/src/brazil/carrera/fns.h
132a
ulong	frblock(void*, void*, ulong);
void	ifree(void*);
Block*	iallocb(int);
void*	ifroute(ulong);
ulong	ifunroute(ulong);
void	parseip(char*, char*);

.
129a
void	filiput(Block*);
void	fiberint(int);
.
128d
## diffname carrera/fns.h 1994/0325
## diff -e /n/fornaxdump/1994/0311/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0325/sys/src/brazil/carrera/fns.h
125c
void	ifwrite(void*, Block*, int);
.
## diffname carrera/fns.h 1994/0328
## diff -e /n/fornaxdump/1994/0325/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0328/sys/src/brazil/carrera/fns.h
140d
## diffname carrera/fns.h 1994/0331
## diff -e /n/fornaxdump/1994/0328/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0331/sys/src/brazil/carrera/fns.h
135a
void	ifflush(void*);
.
## diffname carrera/fns.h 1994/0619
## diff -e /n/fornaxdump/1994/0331/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0619/sys/src/brazil/carrera/fns.h
83a
long*		reg(Ureg*, int);
.
## diffname carrera/fns.h 1994/0725
## diff -e /n/fornaxdump/1994/0619/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0725/sys/src/brazil/carrera/fns.h
8a
#define		balance(x) m
.
## diffname carrera/fns.h 1994/0728
## diff -e /n/fornaxdump/1994/0725/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0728/sys/src/brazil/carrera/fns.h
73c
#define		procsave(p)
.
9d
6d
## diffname carrera/fns.h 1994/0828
## diff -e /n/fornaxdump/1994/0728/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0828/sys/src/brazil/carrera/fns.h
130a
void	freset(void*);
.
## diffname carrera/fns.h 1994/0902
## diff -e /n/fornaxdump/1994/0828/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0902/sys/src/brazil/carrera/fns.h
106,108c
void		ns16552special(int, int, Queue**, Queue**, int (*)(Queue*, int));
void		ns16552setup(ulong, ulong);
void		ns16552intr(int);
.
98a
void		uartclock(void);
.
## diffname carrera/fns.h 1994/0915
## diff -e /n/fornaxdump/1994/0902/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/0915/sys/src/brazil/carrera/fns.h
64a
void		ns16552install(void);
.
## diffname carrera/fns.h 1994/1025
## diff -e /n/fornaxdump/1994/0915/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/1025/sys/src/brazil/carrera/fns.h
143a
void	mpegintr(void);
.
87a
void		seteisadma(int, void(*)(void));
.
## diffname carrera/fns.h 1994/1108
## diff -e /n/fornaxdump/1994/1025/sys/src/brazil/carrera/fns.h /n/fornaxdump/1994/1108/sys/src/brazil/carrera/fns.h
110c
void		ns16552setup(ulong, ulong, char*);
.
## diffname carrera/fns.h 1995/0103
## diff -e /n/fornaxdump/1994/1108/sys/src/brazil/carrera/fns.h /n/fornaxdump/1995/0103/sys/src/brazil/carrera/fns.h
123,127d
## diffname carrera/fns.h 1995/0214
## diff -e /n/fornaxdump/1995/0103/sys/src/brazil/carrera/fns.h /n/fornaxdump/1995/0214/sys/src/brazil/carrera/fns.h
44a
int		isaconfig(char*, int, ISAConf*);
.
21a
void		dmaend(int);
long		dmasetup(int, void*, long, int);
.
## diffname carrera/fns.h 1995/0514
## diff -e /n/fornaxdump/1995/0214/sys/src/brazil/carrera/fns.h /n/fornaxdump/1995/0514/sys/src/brazil/carrera/fns.h
128a
int	ifgetsr(void);
.
## diffname carrera/fns.h 1997/0117
## diff -e /n/fornaxdump/1995/0514/sys/src/brazil/carrera/fns.h /n/fornaxdump/1997/0117/sys/src/brazil/carrera/fns.h
87c
ulong*		reg(Ureg*, int);
.
## diffname carrera/fns.h 1997/0220
## diff -e /n/fornaxdump/1997/0117/sys/src/brazil/carrera/fns.h /n/emeliedump/1997/0220/sys/src/brazil/carrera/fns.h
144a
#define coherence()
.
## diffname carrera/fns.h 1997/0327
## diff -e /n/emeliedump/1997/0220/sys/src/brazil/carrera/fns.h /n/emeliedump/1997/0327/sys/src/brazil/carrera/fns.h
145d
136,143d
126,133d
109d
105,106d
93,94d
86d
82,83d
78d
69,73d
66,67d
63,64d
57,60d
54,55d
40,42d
33,35d
24,25d
13,19c
#define coherence()
.
3,6c
void		addclock0link(void (*)(void));
.
## diffname carrera/fns.h 1997/0930
## diff -e /n/emeliedump/1997/0327/sys/src/brazil/carrera/fns.h /n/emeliedump/1997/0930/sys/src/brazil/carrera/fns.h
79d
## diffname carrera/fns.h 1997/1101
## diff -e /n/emeliedump/1997/0930/sys/src/brazil/carrera/fns.h /n/emeliedump/1997/1101/sys/src/brazil/carrera/fns.h
78a
#define	kmapperm(x)		kmap(x)
.
## diffname carrera/fns.h 1997/1210
## diff -e /n/emeliedump/1997/1101/sys/src/brazil/carrera/fns.h /n/emeliedump/1997/1210/sys/src/brazil/carrera/fns.h
5a
int		cistrcmp(char*, char*);
.
## diffname carrera/fns.h 1999/0327
## diff -e /n/emeliedump/1997/1210/sys/src/brazil/carrera/fns.h /n/emeliedump/1999/0327/sys/src/brazil/carrera/fns.h
50a
ulong		rdcompare(void);
.
27a
void		idlehands(void);
.
## diffname carrera/fns.h 1999/0402
## diff -e /n/emeliedump/1999/0327/sys/src/brazil/carrera/fns.h /n/emeliedump/1999/0402/sys/src/brazil/carrera/fns.h
28c
#define		idlehands()
.
## diffname carrera/fns.h 1999/0608
## diff -e /n/emeliedump/1999/0402/sys/src/brazil/carrera/fns.h /n/emeliedump/1999/0608/sys/src/brazil/carrera/fns.h
75c
void		ns16552setup(ulong, ulong, char*, int);
.
## diffname carrera/fns.h 1999/0714
## diff -e /n/emeliedump/1999/0608/sys/src/brazil/carrera/fns.h /n/emeliedump/1999/0714/sys/src/brazil/carrera/fns.h
22d
## diffname carrera/fns.h 1999/0811
## diff -e /n/emeliedump/1999/0714/sys/src/brazil/carrera/fns.h /n/emeliedump/1999/0811/sys/src/brazil/carrera/fns.h
38a
void		links(void);
.
## diffname carrera/fns.h 2000/1106
## diff -e /n/emeliedump/1999/0811/sys/src/brazil/carrera/fns.h /n/emeliedump/2000/1106/sys/src/9/carrera/fns.h
63a
#define userureg(ur) ((ur)->status & KUSER)
.
## diffname carrera/fns.h 2001/0527 # deleted
## diff -e /n/emeliedump/2000/1106/sys/src/9/carrera/fns.h /n/emeliedump/2001/0527/sys/src/9/carrera/fns.h
1,91d

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.