From a5293c2571018b1ae1cbd6af79548997a7e90b30 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 18 Jul 1997 00:50:54 +0000 Subject: pass apm info to the kernel --- sys/arch/i386/stand/libsa/exec_i386.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/arch/i386/stand') 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 #include #include -#include +#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 */ } -- cgit v1.2.3