Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/common Add openfirmware() entry point.
details: https://anonhg.NetBSD.org/src/rev/a8709c8ceb43
branches: trunk
changeset: 559763:a8709c8ceb43
user: pk <pk%NetBSD.org@localhost>
date: Tue Mar 23 15:36:08 2004 +0000
description:
Add openfirmware() entry point.
diffstat:
sys/arch/sparc/stand/common/srt0.S | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 6dc2337955f9 -r a8709c8ceb43 sys/arch/sparc/stand/common/srt0.S
--- a/sys/arch/sparc/stand/common/srt0.S Tue Mar 23 15:29:56 2004 +0000
+++ b/sys/arch/sparc/stand/common/srt0.S Tue Mar 23 15:36:08 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: srt0.S,v 1.8 2003/06/28 00:59:09 uwe Exp $ */
+/* $NetBSD: srt0.S,v 1.9 2004/03/23 15:36:08 pk Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -199,6 +199,14 @@
retl
nop
+/*
+ * Openfirmware entry point: openfirmware(void *args)
+ */
+ENTRY(openfirmware)
+ sethi %hi(_C_LABEL(romp)), %o1
+ ld [%o1 + %lo(_C_LABEL(romp))], %o2
+ jmp %o2
+ nop
#ifdef TIGHT
Home |
Main Index |
Thread Index |
Old Index