summaryrefslogtreecommitdiff
path: root/sys/stand/boot
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-24 19:01:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-24 19:01:04 +0000
commit4501d823799c49da95b185fad6f3104abc825112 (patch)
tree14c19e6a2cadc7267e7a8a3b08ecb7c88087b4a9 /sys/stand/boot
parent564d2af5447be9bf1ed7152194a6eefde71e5148 (diff)
export bootarg* vars
Diffstat (limited to 'sys/stand/boot')
-rw-r--r--sys/stand/boot/bootarg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/stand/boot/bootarg.h b/sys/stand/boot/bootarg.h
index 1bb1426b208..b7461c8fd2f 100644
--- a/sys/stand/boot/bootarg.h
+++ b/sys/stand/boot/bootarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootarg.h,v 1.1 1997/10/21 04:05:54 mickey Exp $ */
+/* $OpenBSD: bootarg.h,v 1.2 1997/10/24 19:01:03 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -41,6 +41,12 @@ typedef struct _boot_args {
#define BOOTARG_END -1
+#if defined(_KERNEL) || defined(_STANDALONE)
+extern void *bootargv;
+extern int bootargc;
+extern bootarg_t *bootargp;
+#endif
+
#ifdef _STANDALONE
void addbootarg __P((int, size_t, void *));
void *makebootargs __P((size_t *));