Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | 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);