Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/9/pcboot/expand.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* normally defined in ../port/portdat.h */
2
#define	ROUND(s, sz)	(((s)+(sz-1))&~(sz-1))
3
#define	PGROUND(s)	ROUNDUP(s, BY2PG)
4
#define HOWMANY(x, y)	(((x)+((y)-1))/(y))
5
#define ROUNDUP(x, y)	(HOWMANY((x), (y))*(y))	/* ceiling */
6
 
7
void cgainit(void);
8
void cgaputc(int);
9
int inb(int);
10
void outb(int, int);