From 5f114c154ac5c02916891fb5026354e16b61d3ed Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 15 Apr 1997 20:50:37 +0000 Subject: 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? --- sys/arch/i386/stand/libsa/libsa.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386/stand/libsa/libsa.h') diff --git a/sys/arch/i386/stand/libsa/libsa.h b/sys/arch/i386/stand/libsa/libsa.h index e68e9264874..d0b02994d47 100644 --- a/sys/arch/i386/stand/libsa/libsa.h +++ b/sys/arch/i386/stand/libsa/libsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libsa.h,v 1.4 1997/04/06 19:52:46 mickey Exp $ */ +/* $OpenBSD: libsa.h,v 1.5 1997/04/15 20:50:36 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -40,5 +40,7 @@ void devboot __P((dev_t, char *)); extern u_long codeseg; extern int boothowto; + /* XXX filled in assumption that last file opened is kernel */ +extern int bootdev; extern u_int cnvmem, extmem; extern const char bdevs[19][4]; -- cgit v1.2.3