Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Add openfirmware() entry point, since i...
details: https://anonhg.NetBSD.org/src/rev/193afa5db008
branches: trunk
changeset: 559643:193afa5db008
user: pk <pk%NetBSD.org@localhost>
date: Sun Mar 21 14:04:30 2004 +0000
description:
Add openfirmware() entry point, since it's no longer defined as a macro
in openfirm.c.
diffstat:
sys/arch/sparc/sparc/locore.s | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 5c4ef6a44964 -r 193afa5db008 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s Sun Mar 21 14:02:39 2004 +0000
+++ b/sys/arch/sparc/sparc/locore.s Sun Mar 21 14:04:30 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.197 2004/02/13 11:36:18 wiz Exp $ */
+/* $NetBSD: locore.s,v 1.198 2004/03/21 14:04:30 pk Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -4140,6 +4140,14 @@
clr %o0 ! our frame arg is ignored
/*NOTREACHED*/
+/*
+ * Openfirmware entry point: openfirmware(void *args)
+ */
+ENTRY(openfirmware)
+ sethi %hi(_C_LABEL(romp)), %o1
+ ld [%o1 + %lo(_C_LABEL(romp))], %o2
+ jmp %o2
+ nop
#if defined(SUN4M) || defined(SUN4D)
/*
Home |
Main Index |
Thread Index |
Old Index