NetBSD/sys/arch/sun3/stand/libsa/libsa.h

47 lines
955 B
C
Raw Normal View History

/* $NetBSD: libsa.h,v 1.7 2001/02/22 07:11:10 chs Exp $ */
1998-02-05 07:56:24 +03:00
/*
* 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
1998-02-05 07:56:24 +03:00
/* 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));
1998-06-30 00:03:14 +04:00
int load_sun __P((int io, char *loadaddr, char **entry));
1998-02-05 07:56:24 +03:00
/* 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));
1998-02-05 07:56:24 +03:00
/* vers.c */
extern const char bootprog_rev[];
extern const char bootprog_name[];