mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-12 23:50:29 -04:00
64 lines
1.1 KiB
C
64 lines
1.1 KiB
C
/* $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 *);
|