diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-18 00:50:54 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-18 00:50:54 +0000 |
commit | a5293c2571018b1ae1cbd6af79548997a7e90b30 (patch) | |
tree | c86e63a6aede0ce104386652276a275fec0456b9 /sys/arch/i386/stand | |
parent | 1b37c7d628cc52fdb7cf58a90fb1425614bd24a6 (diff) |
pass apm info to the kernel
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/libsa/exec_i386.c | 9 |
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 */ } |