Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/include move PROM_LOADADDR from promlib.h to ...
details: https://anonhg.NetBSD.org/src/rev/a9d657d300f3
branches: trunk
changeset: 472617:a9d657d300f3
user: christos <christos%NetBSD.org@localhost>
date: Mon May 03 16:14:02 1999 +0000
description:
move PROM_LOADADDR from promlib.h to param.h and remove its cast.
diffstat:
sys/arch/sparc/include/param.h | 5 +++--
sys/arch/sparc/include/promlib.h | 5 +----
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 68ac3b29913b -r a9d657d300f3 sys/arch/sparc/include/param.h
--- a/sys/arch/sparc/include/param.h Mon May 03 16:13:16 1999 +0000
+++ b/sys/arch/sparc/include/param.h Mon May 03 16:14:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.38 1999/02/14 12:26:16 pk Exp $ */
+/* $NetBSD: param.h,v 1.39 1999/05/03 16:14:02 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -89,7 +89,8 @@
#endif
#define KERNBASE 0xf0000000 /* start of kernel virtual space */
-#define KERNTEXTOFF (KERNBASE+0x4000) /* start of kernel text */
+#define PROM_LOADADDR 0x00004000 /* where the prom loads us */
+#define KERNTEXTOFF (KERNBASE+PROM_LOADADDR)/* start of kernel text */
#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
diff -r 68ac3b29913b -r a9d657d300f3 sys/arch/sparc/include/promlib.h
--- a/sys/arch/sparc/include/promlib.h Mon May 03 16:13:16 1999 +0000
+++ b/sys/arch/sparc/include/promlib.h Mon May 03 16:14:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: promlib.h,v 1.1 1999/02/14 12:23:04 pk Exp $ */
+/* $NetBSD: promlib.h,v 1.2 1999/05/03 16:14:02 christos Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -194,7 +194,4 @@
extern void *romp; /* PROM-supplied argument (see locore) */
-/* Default core address where the PROM loads boot programs */
-#define PROM_LOADADDR ((caddr_t)0x4000)
-
#endif /* _SPARC_PROMLIB_H_ */
Home |
Main Index |
Thread Index |
Old Index