No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / prep / stand / boot / boot.h
blobd309e2f293e55d7f92ac1e069b441b03653b846c
1 /* $NetBSD: boot.h,v 1.7 2006/04/13 18:46:46 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 void outb(int, char);
41 inline void outw(int, u_int16_t);
42 u_char inb(int);
43 u_long local_to_PCI(u_long);
44 void unlockVideo(int);
45 int scan_PCI(int);
46 int PCI_vendor(int);
49 * kbd
51 int kbd(int);
52 void kbdreset(void);
53 int kbd_getc(void);
56 * monitor
58 int db_monitor(void);
61 * tgets
63 int tgets(char *);
66 * vga
68 void vga_init(u_char *);
69 void vga_putc(int);
70 void vga_puts(char *);
73 * vreset
75 void vga_reset(u_char *);