Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/bebox/include Add macro BTINFO_ROOTDEVICE and struc...
details: https://anonhg.NetBSD.org/src/rev/2aaa7ee4b42f
branches: trunk
changeset: 758216:2aaa7ee4b42f
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Wed Oct 27 10:33:23 2010 +0000
description:
Add macro BTINFO_ROOTDEVICE and struct btinfo_rootdevice.
And indent.
diffstat:
sys/arch/bebox/include/bootinfo.h | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r b2e3b91bcbc0 -r 2aaa7ee4b42f sys/arch/bebox/include/bootinfo.h
--- a/sys/arch/bebox/include/bootinfo.h Wed Oct 27 02:58:04 2010 +0000
+++ b/sys/arch/bebox/include/bootinfo.h Wed Oct 27 10:33:23 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index