summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-13 04:35:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-13 04:35:08 +0000
commit3ecc0d6a50487ad93a21d6990f4c4fc192f47ab9 (patch)
treed24733ca9b0aba8233b1fcdbda726b3f063d1a75 /sys/arch
parent38069d0cb270d36a5ff305ac3d5c3df122fbf39c (diff)
pass esym to the kernel
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/stand/libsa/exec_hppa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/stand/libsa/exec_hppa.c b/sys/arch/hppa/stand/libsa/exec_hppa.c
index 0ae11cdd656..f3a151e8bd9 100644
--- a/sys/arch/hppa/stand/libsa/exec_hppa.c
+++ b/sys/arch/hppa/stand/libsa/exec_hppa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_hppa.c,v 1.4 1998/09/29 07:21:58 mickey Exp $ */
+/* $OpenBSD: exec_hppa.c,v 1.5 1999/02/13 04:35:07 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -45,7 +45,7 @@
#include <machine/pdc.h>
#include "dev_hppa.h"
-typedef void (*startfuncp) __P((int, int, int, int, int, caddr_t))
+typedef void (*startfuncp) __P((int, int, int, int, int, int, caddr_t))
__attribute__ ((noreturn));
void
@@ -84,7 +84,7 @@ machdep_exec(xp, howto, loadaddr)
__asm("mtctl %r0, %cr17");
__asm("mtctl %r0, %cr17");
/* stack and the gung is ok at this point, so, no need for asm setup */
- (*(startfuncp)(xp->xp_entry)) ((int)pdc, howto, bootdev,
+ (*(startfuncp)(xp->xp_entry)) ((int)pdc, howto, bootdev, xp->xp_end,
BOOTARG_APIVER, ac, av);
/* not reached */
}