diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-15 20:50:37 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-15 20:50:37 +0000 |
commit | 5f114c154ac5c02916891fb5026354e16b61d3ed (patch) | |
tree | 8d078d94b709ae0402b27de49096756093a9e4b3 /sys/arch/i386/stand/libsa/exec_i386.c | |
parent | ab453433a06fb78501e7e5f0a7a0881da2f79ec1 (diff) |
pass bootdev to kernel...
all the future devices have to copy it into global var...
in the current state i can boot any kernel i have....
testers?
Diffstat (limited to 'sys/arch/i386/stand/libsa/exec_i386.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/exec_i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/exec_i386.c b/sys/arch/i386/stand/libsa/exec_i386.c index 61451c487cb..d2c4f751efc 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.7 1997/04/15 20:01:56 mickey Exp $ */ +/* $OpenBSD: exec_i386.c,v 1.8 1997/04/15 20:50:36 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -39,7 +39,7 @@ #include <sys/reboot.h> #include <libsa.h> -static int bootdev; +dev_t bootdev; #define round_to_size(x) (((int)(x) + sizeof(int) - 1) & ~(sizeof(int) - 1)) |