summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 00:50:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 00:50:54 +0000
commita5293c2571018b1ae1cbd6af79548997a7e90b30 (patch)
treec86e63a6aede0ce104386652276a275fec0456b9 /sys/arch
parent1b37c7d628cc52fdb7cf58a90fb1425614bd24a6 (diff)
pass apm info to the kernel
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/stand/libsa/exec_i386.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/exec_i386.c b/sys/arch/i386/stand/libsa/exec_i386.c
index d2c4f751efc..3478aca1364 100644
--- a/sys/arch/i386/stand/libsa/exec_i386.c
+++ b/sys/arch/i386/stand/libsa/exec_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_i386.c,v 1.8 1997/04/15 20:50:36 mickey Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.9 1997/07/18 00:50:53 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -37,7 +37,7 @@
#include <sys/param.h>
#include <sys/exec.h>
#include <sys/reboot.h>
-#include <libsa.h>
+#include "libsa.h"
dev_t bootdev;
@@ -65,8 +65,9 @@ machdep_start(startaddr, howto, loadaddr, ssym, esym)
printf("entry point at 0x%x\n", (int)startaddr);
/* stack and the gung is ok at this point, so, no need for asm setup */
- (*(int __attribute__((noreturn))(*)(int,int,int,int,int,int))startaddr)(
- howto, bootdev, 0, round_to_size(esym), extmem, cnvmem);
+ (*(int __attribute__((noreturn))(*)(int,int,int,int,int,int,int))
+ startaddr)(howto, bootdev, 0, round_to_size(esym),
+ extmem, cnvmem, (int)&apminfo);
/* not reached */
}