Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / sun68k / stand / libsa / libsa.h
blobcf79d64afb79512fd7a8add877ad0aa42ec90482
1 /* $NetBSD: libsa.h,v 1.6 2009/01/12 07:00:59 tsutsui Exp $ */
3 /*
4 * This file defines the API for libsa.a
5 * as used by the various boot programs.
6 */
8 /*
9 * Standard Sun3 PROM load address.
10 * i.e. this is where the PROM loads
11 * programs, like it or not!
13 #define KERN_LOADADDR 0x4000
15 /* SRT0.S */
16 void ICIA(void);
17 void ** getvbr(void);
19 /* SRT1.c */
20 extern int _is3x;
21 extern int _is2;
22 void _start(void);
23 void breakpoint(void);
24 void chain_to(void *);
26 int main(void);
27 void exit(int);
29 /* clock.c */
30 extern int hz;
31 long getticks(void);
33 /* exec_sun.c */
34 int exec_sun(char *, char *);
35 int load_sun(int, char *, char **);
37 /* promboot.c */
38 extern int debug;
39 extern char prom_bootdev[];
40 extern char *prom_bootfile;
41 extern int prom_boothow;
42 void prom_get_boot_info(void);
44 /* promcons.c */
45 int peekchar(void);
47 /* putstr.c */
48 void putstr(const char *);
50 /* sun2.c */
51 void sun2_getidprom(u_char *);
52 u_long sun2_map_mem_load(void);
53 void *sun2_map_mem_run(void *);
55 /* sun3.c */
56 void sun3_getidprom(u_char *);
58 /* vers.c */
59 extern const char bootprog_rev[];
60 extern const char bootprog_name[];
62 /* xxboot.c */
63 void xxboot_main(const char *);