47 lines
955 B
C
47 lines
955 B
C
/* $NetBSD: libsa.h,v 1.7 2001/02/22 07:11:10 chs 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 exit __P((void));
|
|
void ICIA __P((void));
|
|
void ** getvbr __P((void));
|
|
|
|
/* SRT1.c */
|
|
extern int _is3x;
|
|
void _start __P((void));
|
|
void breakpoint __P((void));
|
|
void chain_to __P((void *func));
|
|
|
|
/* clock.c */
|
|
extern int hz;
|
|
long getsecs __P((void));
|
|
long getticks __P((void));
|
|
|
|
/* exec_sun.c */
|
|
int exec_sun __P((char *file, char *loadaddr));
|
|
int load_sun __P((int io, char *loadaddr, char **entry));
|
|
|
|
/* promboot.c */
|
|
extern int debug;
|
|
extern char prom_bootdev[];
|
|
extern char *prom_bootfile;
|
|
extern int prom_boothow;
|
|
|
|
/* sun3.c */
|
|
void sun3_getidprom __P((u_char *ea));
|
|
|
|
/* vers.c */
|
|
extern const char bootprog_rev[];
|
|
extern const char bootprog_name[];
|