Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sun2/include Moved the definition of romVectorPtr h...



details:   https://anonhg.NetBSD.org/src/rev/32deae3cb4a4
branches:  trunk
changeset: 511205:32deae3cb4a4
user:      fredette <fredette%NetBSD.org@localhost>
date:      Thu Jun 14 13:15:21 2001 +0000

description:
Moved the definition of romVectorPtr here from mon.h.
Prototype prom_sd_target.

diffstat:

 sys/arch/sun2/include/promlib.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r e24521881efb -r 32deae3cb4a4 sys/arch/sun2/include/promlib.h
--- a/sys/arch/sun2/include/promlib.h   Thu Jun 14 13:12:50 2001 +0000
+++ b/sys/arch/sun2/include/promlib.h   Thu Jun 14 13:15:21 2001 +0000
@@ -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 @@
 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_ */



Home | Main Index | Thread Index | Old Index