Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/stand/lib Use BOOTRZ instead of BOOTXX.
details: https://anonhg.NetBSD.org/src/rev/3ffd92cf1a1f
branches: trunk
changeset: 471785:3ffd92cf1a1f
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Apr 11 04:27:53 1999 +0000
description:
Use BOOTRZ instead of BOOTXX.
Add a PROM callback for prom_close if not LIBSA_NO_DEV_CLOSE.
diffstat:
sys/arch/pmax/stand/lib/start.S | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 2260abedfc2e -r 3ffd92cf1a1f sys/arch/pmax/stand/lib/start.S
--- a/sys/arch/pmax/stand/lib/start.S Sun Apr 11 04:27:30 1999 +0000
+++ b/sys/arch/pmax/stand/lib/start.S Sun Apr 11 04:27:53 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: start.S,v 1.12 1999/03/29 13:48:25 simonb Exp $ */
+/* $NetBSD: start.S,v 1.13 1999/04/11 04:27:53 simonb Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
#include <mips/cpuregs.h>
#include <machine/dec_prom.h>
-#ifdef BOOTXX
+#ifdef BOOTRZ
/*
* Boot block that starts in sector 0
*/
@@ -165,6 +165,14 @@
nop
END(prom_open)
+#ifndef LIBSA_NO_DEV_CLOSE
+LEAF(prom_close)
+ li v0, DEC_PROM_CLOSE
+ j v0
+ nop
+END(prom_close)
+#endif
+
LEAF(prom_lseek)
li v0, DEC_PROM_LSEEK
j v0
Home |
Main Index |
Thread Index |
Old Index