diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-17 17:56:11 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-17 17:56:11 +0000 |
commit | 4a836172c5a36ef5b057f6e2f613162d5b528c83 (patch) | |
tree | d4e87fb85af4c4f0699f6a0bf0b95c1255d87e26 /sys/arch/i386/stand/libsa/exec_i386.c | |
parent | f6c1c903945191d94ef9447a875f55fc936eea99 (diff) |
pass cnvmem,extmem the old way they were....
don't put 'em in biosvars
Diffstat (limited to 'sys/arch/i386/stand/libsa/exec_i386.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/exec_i386.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/i386/stand/libsa/exec_i386.c b/sys/arch/i386/stand/libsa/exec_i386.c index 97d5966079c..e87da91c7d8 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.15 1997/09/04 20:44:36 mickey Exp $ */ +/* $OpenBSD: exec_i386.c,v 1.16 1997/09/17 17:56:10 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -60,21 +60,16 @@ machdep_start(startaddr, howto, loadaddr, ssym, esym) printf("/bsd(%x,%x,%x,%x,%x,%x,%x)\n", howto, bootdev, BOOT_APIVER, round_to_size(esym), - BIOS_vars.bios_extmem, BIOS_vars.bios_cnvmem, - (int)&BIOS_vars); + extmem, cnvmem, (int)&BIOS_vars, sizeof(BIOS_vars)); getchar(); #endif - if (cn_tab != NULL) - BIOS_vars.boot_consdev = cn_tab->cn_dev; - (int)startaddr &= 0xffffff; 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,int)) + (*(int __attribute__((noreturn))(*)(int,int,int,int,int,int,int,int)) startaddr)(howto, bootdev, BOOT_APIVER, round_to_size(esym), - BIOS_vars.bios_extmem, BIOS_vars.bios_cnvmem, - (int)&BIOS_vars); + extmem, cnvmem, (int)&BIOS_vars, sizeof(BIOS_vars)); /* not reached */ } |