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

47 lines
910 B
C

/* $NetBSD: libsa.h,v 1.2 1998/02/05 04:57:12 gwr 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 LOADADDR 0x4000
/* SRT0.S */
void exit __P((void));
void ICIA __P((void));
void ** getvbr __P((void));
int setjmp __P((label_t *));
void longjmp __P((label_t *));
/* 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));
/* promboot.c */
extern int debug;
extern char prom_bootdev[];
extern char *prom_bootfile;
extern int prom_boothow;
/* sun3.c */
void sun3_etheraddr __P((u_char *ea));
/* version.c */
extern char version[];