diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-25 00:16:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-25 00:16:43 +0000 |
commit | d0b9cce756bca86be1e9b5f8ee00542434785026 (patch) | |
tree | 74b811130e2f8051d21abed1dc5ccb6fb733fbc2 /sys/arch/amd64/stand/libsa/exec_i386.c | |
parent | 62a3899de8e138d5ceaeb00872d46857f55ccba1 (diff) |
dkcsum stuff for amd64, written by tom, who cannot commit it at the moment.
now the amd64 knows what drive it was booted from.
Diffstat (limited to 'sys/arch/amd64/stand/libsa/exec_i386.c')
-rw-r--r-- | sys/arch/amd64/stand/libsa/exec_i386.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/libsa/exec_i386.c b/sys/arch/amd64/stand/libsa/exec_i386.c index d1f78ac3cae..c14b5b8c240 100644 --- a/sys/arch/amd64/stand/libsa/exec_i386.c +++ b/sys/arch/amd64/stand/libsa/exec_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_i386.c,v 1.2 2004/02/23 01:19:52 tom Exp $ */ +/* $OpenBSD: exec_i386.c,v 1.3 2004/02/25 00:16:42 deraadt Exp $ */ /* * Copyright (c) 1997-1998 Michael Shalayeff @@ -37,7 +37,7 @@ #include "libsa.h" #include <lib/libsa/loadfile.h> -typedef void (*startfuncp)(int, int, int, int, int, int, int, int, int) +typedef void (*startfuncp)(int, int, int, int, int, int, int, int) __attribute__ ((noreturn)); void @@ -68,6 +68,6 @@ run_loadfile(u_long *marks, int howto) ((int *)entry)[0], ((int *)entry)[1], ((int *)entry)[2], ((int *)entry)[3]); /* stack and the gung is ok at this point, so, no need for asm setup */ (*(startfuncp)entry)(howto, bootdev, BOOTARG_APIVER, - marks[MARK_END], extmem, cnvmem, ac, (int)av, cd.consdev); + marks[MARK_END], extmem, cnvmem, ac, (int)av); /* not reached */ } |