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

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


## diffname alphapc/fns.h 1999/0415
## diff -e /dev/null /n/emeliedump/1999/0415/sys/src/brazil/alphapc/fns.h
0a
#include "../port/portfns.h"

void		addclock0link(void (*)(void));
void		archinit(void);
void		arginit(void);
void		arith(void);
void		clearmmucache(void);
void		clock(Ureg*);
void		clockinit(void);
#define 	coherence 	mb
int		cistrcmp(char*, char*);
int		cistrncmp(char*, char*, int);
void		cpuidprint(void);
void		cserve(ulong, ulong);
int	dmacount(int);
int	dmadone(int);
void	dmaend(int);
void	dmainit(int);
long	dmasetup(int, void*, long, int);
void		evenaddr(ulong);
void		fataltrap(Ureg *, char *);
void		fault0(void);
void		faultalpha(Ureg*);
ulong	fcr31(void);
void		firmware(void);
#define	flushpage(s)	icflush()
void		fpenab(int);
void		fptrap(Ureg*);
ulong	getcallerpc(void*);
char		*getconf(char*);
ulong	getfcr(void);
ulong	getstatus(void);
void		gotopc(ulong);
int		i8042auxcmd(int);
void		i8042auxenable(void (*)(int, int));
void		i8042reset(void);
void		i8259init(void);
int		i8259enable(int, int, Irqctl*);
#define	idlehands()			/* nothing to do in the runproc */
void		icflush(void);
void		illegal0(void);
void		intr(Ureg*);
void		intr0(void);
void		intrenable(int, void (*)(Ureg*, void*), void*, int);
int		iprint(char*, ...);
int		isaconfig(char*, int, ISAConf*);
void		kbdinit(void);
void		*kmapv(uvlong, int);
int		kprint(char*, ...);
void		launchinit(void);
void		launch(int);
void		links(void);
void		mb(void);
ulong 	meminit(void);
void		mmuinit(void);
#define	mmunewpage(x)
void		mntdump(void);
void		ns16552special(int, int, Queue**, Queue**, int (*)(Queue*, int));
void		ns16552setup(ulong, ulong, char*);
void		ns16552install(void);
void		ns16552intr(int);
ulong	pcibarsize(Pcidev*, int);
int	pcicfgr8(Pcidev*, int);
int	pcicfgr16(Pcidev*, int);
int	pcicfgr32(Pcidev*, int);
void	pcicfgw8(Pcidev*, int, int);
void	pcicfgw16(Pcidev*, int, int);
void	pcicfgw32(Pcidev*, int, int);
void	pcihinv(Pcidev*);
Pcidev* pcimatch(Pcidev*, int, int);
void	pcireset(void);
void		prflush(void);
void		printinit(void);
#define	procrestore(p)
#define	procsave(p)
#define	procsetup(p)	((p)->fpstate = FPinit)
void		restfpregs(FPsave*);
void		screeninit(void);
void		(*screenputs)(char*, int);
void 		setpcb(PCB *);
PCB		*swpctx(PCB *);
void		syscall0(void);
int		tas(ulong*);
void		tlbflush(int, ulong);
void		touser(void*);
void		trapinit(void);
void		unaligned(void);
void		wrent(int, void*);
void		wrvptptr(uvlong);

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

#define	inb(p)	(arch->_inb)(p)
#define	ins(p)	(arch->_ins)(p)
#define	inl(p)	(arch->_inl)(p)
#define	outb(p, x)	(arch->_outb)((p), (x))
#define	outs(p, x)	(arch->_outs)((p), (x))
#define	outl(p, x)	(arch->_outl)((p), (x))

#define	insb(p, buf, len)	(arch->_insb)((p), (buf), (len))
#define	inss(p, buf, len)		(arch->_inss)((p), (buf), (len))
#define	insl(p, buf, len)		(arch->_insl)((p), (buf), (len))
#define	outsb(p, buf, len)	(arch->_outsb)((p), (buf), (len))
#define	outss(p, buf, len)	(arch->_outss)((p), (buf), (len))
#define	outsl(p, buf, len)	(arch->_outsl)((p), (buf), (len))
.
## diffname alphapc/fns.h 1999/0423
## diff -e /n/emeliedump/1999/0415/sys/src/brazil/alphapc/fns.h /n/emeliedump/1999/0423/sys/src/brazil/alphapc/fns.h
18c
int	dmainit(int, int);
.
## diffname alphapc/fns.h 1999/0429
## diff -e /n/emeliedump/1999/0423/sys/src/brazil/alphapc/fns.h /n/emeliedump/1999/0429/sys/src/brazil/alphapc/fns.h
77a
uvlong		rpcc(uvlong*);
.
71a
void	pcisetbme(Pcidev*);
.
## diffname alphapc/fns.h 1999/0514
## diff -e /n/emeliedump/1999/0429/sys/src/brazil/alphapc/fns.h /n/emeliedump/1999/0514/sys/src/brazil/alphapc/fns.h
61c
void		ns16552special(int, int, Queue**, Queue**, int (*)(Queue*, int));
.
58,59d
## diffname alphapc/fns.h 1999/0515
## diff -e /n/emeliedump/1999/0514/sys/src/brazil/alphapc/fns.h /n/emeliedump/1999/0515/sys/src/brazil/alphapc/fns.h
74,75c
void	procsave(Proc*);
void	procsetup(Proc*);
.
## diffname alphapc/fns.h 1999/0714
## diff -e /n/emeliedump/1999/0515/sys/src/brazil/alphapc/fns.h /n/emeliedump/1999/0714/sys/src/brazil/alphapc/fns.h
29d
## diffname alphapc/fns.h 2000/0125
## diff -e /n/emeliedump/1999/0714/sys/src/brazil/alphapc/fns.h /n/emeliedump/2000/0125/sys/src/9/alphapc/fns.h
41d
## diffname alphapc/fns.h 2000/0401
## diff -e /n/emeliedump/2000/0125/sys/src/9/alphapc/fns.h /n/emeliedump/2000/0401/sys/src/9/alphapc/fns.h
85a
ulong	upamalloc(ulong, int, int);
void	upafree(ulong, int);
.
51a
void 		memholes(void);
.
43a
int		irqallocread(char*, long, vlong);
.
42c
void		intrenable(int, void (*)(Ureg*, void*), void*, int, char*);
int		ioalloc(int, int, int, char*);
void		iofree(int);
void		ioinit(void);
.
37c
int		i8259enable(int, int, Vctl*);
.
28a
int		getcfields(char*, char**, int, char*);
.
## diffname alphapc/fns.h 2000/0407
## diff -e /n/emeliedump/2000/0401/sys/src/9/alphapc/fns.h /n/emeliedump/2000/0407/sys/src/9/alphapc/fns.h
46a
int		iounused(int, int);
.
## diffname alphapc/fns.h 2000/1106
## diff -e /n/emeliedump/2000/0407/sys/src/9/alphapc/fns.h /n/emeliedump/2000/1106/sys/src/9/alphapc/fns.h
94a
#define		userureg(ur) ((ur)->status & UMODE)
.
## diffname alphapc/fns.h 2001/0727
## diff -e /n/emeliedump/2000/1106/sys/src/9/alphapc/fns.h /n/emeliedump/2001/0727/sys/src/9/alphapc/fns.h
97a
ulong	TK2MS(ulong);				/* ticks to milliseconds */
.
59a
void		mmudump(void);
.
51a
#define	kmapinval()
.
36a
void	i8250console(void);
.
3c
Dirtab*	addarchfile(char*, int, long(*)(Chan*,void*,long,vlong), long(*)(Chan*,void*,long,vlong));
.
## diffname alphapc/fns.h 2001/0728
## diff -e /n/emeliedump/2001/0727/sys/src/9/alphapc/fns.h /n/emeliedump/2001/0728/sys/src/9/alphapc/fns.h
19a
void _dumpstack(Ureg *);
.
## diffname alphapc/fns.h 2001/0801
## diff -e /n/emeliedump/2001/0728/sys/src/9/alphapc/fns.h /n/emeliedump/2001/0801/sys/src/9/alphapc/fns.h
77a
Pcidev* pcimatchtbdf(int);
.
## diffname alphapc/fns.h 2001/0809
## diff -e /n/emeliedump/2001/0801/sys/src/9/alphapc/fns.h /n/emeliedump/2001/0809/sys/src/9/alphapc/fns.h
50d
## diffname alphapc/fns.h 2001/1023
## diff -e /n/emeliedump/2001/0809/sys/src/9/alphapc/fns.h /n/emeliedump/2001/1023/sys/src/9/alphapc/fns.h
79a
int	pcmspecial(char*, ISAConf*);
int (*_pcmspecial)(char *, ISAConf *);
void	pcmspecialclose(int);
void (*_pcmspecialclose)(int);
.
74a
void pciclrbme(Pcidev*);
.
45a
void		intrdisable(int, void (*)(Ureg *, void *), void*, int, char*);
.
## diffname alphapc/fns.h 2002/0116
## diff -e /n/emeliedump/2001/1023/sys/src/9/alphapc/fns.h /n/emeliedump/2002/0116/sys/src/9/alphapc/fns.h
65a
void		mmupark(void);
.
## diffname alphapc/fns.h 2002/0404
## diff -e /n/emeliedump/2002/0116/sys/src/9/alphapc/fns.h /n/emeliedump/2002/0404/sys/src/9/alphapc/fns.h
34a
int		havecycintr(void);
.
14a
void		cycintradd(Cycintr *);
void		cycintrdel(Cycintr *);
.
9a
void		clockintrsched(void);
.
## diffname alphapc/fns.h 2002/0405
## diff -e /n/emeliedump/2002/0404/sys/src/9/alphapc/fns.h /n/emeliedump/2002/0405/sys/src/9/alphapc/fns.h
38c
int		havetimer(void);
.
16,17c
void		timeradd(Timer *);
void		timerdel(Timer *);
.
## diffname alphapc/fns.h 2002/0710
## diff -e /n/emeliedump/2002/0405/sys/src/9/alphapc/fns.h /n/emeliedump/2002/0710/sys/src/9/alphapc/fns.h
113d
## diffname alphapc/fns.h 2002/1214
## diff -e /n/emeliedump/2002/0710/sys/src/9/alphapc/fns.h /n/emeliedump/2002/1214/sys/src/9/alphapc/fns.h
42a
void	i8250mouse(char*, int(*)(Queue*,int), int);
.

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.