Module Name: src
Committed By: kiyohara
Date: Wed Oct 27 10:33:23 UTC 2010
Modified Files:
src/sys/arch/bebox/include: bootinfo.h
Log Message:
Add macro BTINFO_ROOTDEVICE and struct btinfo_rootdevice.
And indent.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/bebox/include/bootinfo.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/bebox/include/bootinfo.h
diff -u src/sys/arch/bebox/include/bootinfo.h:1.5 src/sys/arch/bebox/include/bootinfo.h:1.6
--- src/sys/arch/bebox/include/bootinfo.h:1.5 Sat Mar 14 14:45:58 2009
+++ src/sys/arch/bebox/include/bootinfo.h Wed Oct 27 10:33:23 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.h,v 1.5 2009/03/14 14:45:58 dsl Exp $ */
+/* $NetBSD: bootinfo.h,v 1.6 2010/10/27 10:33:23 kiyohara Exp $ */
/*
* Copyright (c) 1997
@@ -34,9 +34,10 @@
int type;
};
-#define BTINFO_MEMORY 0
-#define BTINFO_CONSOLE 1
-#define BTINFO_CLOCK 2
+#define BTINFO_MEMORY 0
+#define BTINFO_CONSOLE 1
+#define BTINFO_CLOCK 2
+#define BTINFO_ROOTDEVICE 3
struct btinfo_memory {
struct btinfo_common common;
@@ -55,6 +56,11 @@
int ticks_per_sec;
};
+struct btinfo_rootdevice {
+ struct btinfo_common common;
+ char rootdevice[80]; /* XXXX */
+};
+
#ifdef _KERNEL
void *lookup_bootinfo(int);
#endif