Pass new boot information per default.

This commit is contained in:
drochner 1997-09-28 13:31:45 +00:00
parent 22869434f2
commit 6969cb676f
2 changed files with 10 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec.c,v 1.4 1997/09/17 18:02:11 drochner Exp $ */
/* $NetBSD: exec.c,v 1.5 1997/09/28 13:31:45 drochner Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -243,14 +243,13 @@ exec_netbsd(file, loadaddr, boothowto)
}
boot_argv[1] = bootdevnr;
boot_argv[2] = 0; /* cyl offset, unused */
#else /* XXX to be specified */
#else
boot_argv[1] = 0;
#endif
#ifdef PASS_BIOSGEOM
bi_getbiosgeom();
#endif
boot_argv[1] = 0;
boot_argv[2] = vtophys(bootinfo); /* cyl offset */
#endif
boot_argv[2] = vtophys(bootinfo); /* old cyl offset */
/*
* boot_argv[3] = end (set above)
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_fromdos.c,v 1.4 1997/09/17 18:02:12 drochner Exp $ */
/* $NetBSD: exec_fromdos.c,v 1.5 1997/09/28 13:31:46 drochner Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -289,14 +289,13 @@ exec_netbsd(file, loadaddr, boothowto)
}
boot_argv[1] = bootdevnr;
boot_argv[2] = 0; /* cyl offset, unused */
#else /* XXX to be specified */
#else
boot_argv[1] = 0;
#endif
#ifdef PASS_BIOSGEOM
bi_getbiosgeom();
#endif
boot_argv[1] = 0;
boot_argv[2] = vtophys(bootinfo); /* XXX cyl offset */
#endif
boot_argv[2] = vtophys(bootinfo); /* old cyl offset */
/*
* boot_argv[3] = end (set above)
*/