1 /* $NetBSD: libsa.h,v 1.6 2009/01/12 07:00:59 tsutsui Exp $ */
4 * This file defines the API for libsa.a
5 * as used by the various boot programs.
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
23 void breakpoint(void);
24 void chain_to(void *);
34 int exec_sun(char *, char *);
35 int load_sun(int, char *, char **);
39 extern char prom_bootdev
[];
40 extern char *prom_bootfile
;
41 extern int prom_boothow
;
42 void prom_get_boot_info(void);
48 void putstr(const char *);
51 void sun2_getidprom(u_char
*);
52 u_long
sun2_map_mem_load(void);
53 void *sun2_map_mem_run(void *);
56 void sun3_getidprom(u_char
*);
59 extern const char bootprog_rev
[];
60 extern const char bootprog_name
[];
63 void xxboot_main(const char *);