Moved the definition of romVectorPtr here from mon.h.
Prototype prom_sd_target.
This commit is contained in:
parent
9e52c15c31
commit
000fa36842
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: promlib.h,v 1.1 2001/04/06 13:13:04 fredette Exp $ */
|
||||
/* $NetBSD: promlib.h,v 1.2 2001/06/14 13:15:21 fredette Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Macros and functions to hide the Sun[23] PROM interface from the
|
||||
* Macros and functions to hide the Sun2 PROM interface from the
|
||||
* common Sun parts of the kernel.
|
||||
*/
|
||||
|
||||
|
@ -46,6 +46,10 @@
|
|||
|
||||
#include <machine/mon.h>
|
||||
|
||||
#ifdef _SUN2_PROMLIB_PRIVATE
|
||||
#define romVectorPtr ((struct sunromvec *) SUN2_PROM_BASE)
|
||||
#endif /* _SUN2_PROMLIB_PRIVATE */
|
||||
|
||||
/*
|
||||
* We define both of these, since there are places where their
|
||||
* functionality is the same, and some common code knows that
|
||||
|
@ -71,6 +75,7 @@ void prom_boot __P((char *)) __attribute__((__noreturn__));
|
|||
char *prom_getbootpath __P((void));
|
||||
char *prom_getbootfile __P((void));
|
||||
char *prom_getbootargs __P((void));
|
||||
int prom_sd_target __P((int));
|
||||
#define callrom prom_abort
|
||||
|
||||
#endif /* _MACHINE_PROMLIB_H_ */
|
||||
|
|
Loading…
Reference in New Issue