No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / bebox / stand / boot / boot.h
blobe37e50f4a7298be04357597e1c1f83ea376e195e
1 /* $NetBSD: boot.h,v 1.6 2005/12/11 12:17:04 christos Exp $ */
3 #define TICKS_PER_SEC (33000000 / 4) /* 33MHz */
4 #define NS_PER_TICK (1000000000 / TICKS_PER_SEC)
6 /*
7 * srt0
8 */
9 int endaddr(void);
10 void run(void *, void *, void *, void *, void *);
13 * clock
15 void delay(u_int);
18 * com
20 int comspeed(long);
23 * console
25 char *cninit(int *, int *);
26 int cngetc(void);
27 void cnputc(int);
28 int cnscan(void);
31 * CPU
33 volatile int CPU1_alive;
34 void cpu1(void);
35 void resetCPU1(void);
36 unsigned long cpuState(void);
37 void runCPU1(void *);
38 void start_CPU1(void);
39 void wait_for(volatile int *);
40 int whichCPU(void);
43 * inkernel
45 void init_in(void);
48 * io
50 void outb(int, char);
51 void outw(int, u_short);
52 u_char inb(int);
53 u_long local_to_PCI(u_long);
56 * kbd
58 int kbd(int);
59 void kbdreset(void);
60 int kbd_getc(void);
61 int kbd_test(void);
64 * monitor
66 int db_monitor(void);
69 * tgets
71 int tgets(char *);
74 * vga
76 void vga_init(u_char *);
77 void vga_putc(int);
78 void vga_puts(char *);
81 * vreset
83 void vga_reset(u_char *);
86 * video
88 void video_init(u_char *);
89 void video_putc(int);