summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-07-05 23:03:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-07-05 23:03:05 +0000
commit8914edc6d693fed5bfcd1c12bc8fd51321105f07 (patch)
treec675a31793949ea02230a72fee112e186b278bc1 /sys/arch/sparc64
parentb0c090ec0984d6b1432e9d7e44df77a6048c73b0 (diff)
Apparantly the "chain" OpenFirmware interface always fails so don't bother
with it. Makes the bootloader work on the v1280 where the firmware breaks into the firmware debugger instead of returning failure.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/stand/ofwboot/Locore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/Locore.c b/sys/arch/sparc64/stand/ofwboot/Locore.c
index 23917e4db9e..53d39a44e88 100644
--- a/sys/arch/sparc64/stand/ofwboot/Locore.c
+++ b/sys/arch/sparc64/stand/ofwboot/Locore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Locore.c,v 1.7 2007/01/16 14:39:57 tsi Exp $ */
+/* $OpenBSD: Locore.c,v 1.8 2008/07/05 23:03:04 kettenis Exp $ */
/* $NetBSD: Locore.c,v 1.1 2000/08/20 14:58:36 mrg Exp $ */
/*
@@ -377,6 +377,7 @@ OF_chain(virt, size, entry, arg, len)
u_int len;
{
extern int64_t romp;
+#ifdef __notyet
extern int debug;
struct {
cell_t name;
@@ -405,6 +406,7 @@ OF_chain(virt, size, entry, arg, len)
printf("Calling entry(0, %p, %x, %lx, %lx)\n", arg, len,
(unsigned long)romp, (unsigned long)romp);
}
+#endif
entry(0, arg, len, (unsigned long)romp, (unsigned long)romp);
panic("OF_chain: kernel returned!");
__asm("ta 2" : :);