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