46 lines
907 B
C
46 lines
907 B
C
/* $NetBSD: libsa.h,v 1.4 1998/06/29 20:03:14 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));
|
|
|
|
/* 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_etheraddr __P((u_char *ea));
|
|
|
|
/* version.c */
|
|
extern char version[];
|