Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / rs6000 / stand / boot / boot.h
blob92c590337672217da33a7b39a0cc19902201cc0b
1 /* $NetBSD: boot.h,v 1.8 2006/06/20 05:49:09 garbled Exp $ */
3 #define TICKS_PER_SEC (66666667 / 4) /* 66MHz */
4 #define NS_PER_TICK (1000000000 / TICKS_PER_SEC)
6 /*
7 * srt0
8 */
9 void run(void *, void *, void *, void *, void *);
12 * clock
14 void delay(u_int);
17 * com
19 int comspeed(long);
22 * console
24 char *cninit(int *, int *);
25 int cngetc(void);
26 void cnputc(int);
27 int cnscan(void);
30 * inkernel
32 void init_in(u_long loadaddr);
33 int instrategy(void *, int , daddr_t, size_t, void *, size_t *);
34 int inopen(struct open_file *);
35 int inclose(struct open_file *);
38 * io
40 int setup_iocc(void);
41 void outb(int, char);
42 inline void outw(int, u_int16_t);
43 u_char inb(int);
46 * kbd
48 int kbd(int);
49 void kbdreset(void);
50 int kbd_getc(void);
53 * monitor
55 int db_monitor(void);
58 * tgets
60 int tgets(char *);
63 * vga
65 void vga_init(u_char *);
66 void vga_putc(int);
67 void vga_puts(char *);
70 * vreset
72 void vga_reset(u_char *);
75 * iplcb.c
77 void dump_iplcb(void *);