From e454a5425b714fd5e54e451f1f5ce9baeda944c1 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Wed, 13 Mar 2002 13:45:00 +0000 Subject: [PATCH] MFi386: revision 1.502 --- sys/pc98/i386/machdep.c | 4 ++++ sys/pc98/pc98/machdep.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 5d438447f4f0..7e786c6ce22e 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -998,6 +998,10 @@ SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW, &wall_cmos_clock, 0, ""); +u_long bootdev; /* not a dev_t - encoding is different */ +SYSCTL_ULONG(_machdep, OID_AUTO, guessed_bootdev, + CTLFLAG_RD, &bootdev, 0, "Maybe the Boot device (not in dev_t format)"); + /* * Initialize 386 and configure to run kernel */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 5d438447f4f0..7e786c6ce22e 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -998,6 +998,10 @@ SYSCTL_STRUCT(_machdep, CPU_BOOTINFO, bootinfo, SYSCTL_INT(_machdep, CPU_WALLCLOCK, wall_cmos_clock, CTLFLAG_RW, &wall_cmos_clock, 0, ""); +u_long bootdev; /* not a dev_t - encoding is different */ +SYSCTL_ULONG(_machdep, OID_AUTO, guessed_bootdev, + CTLFLAG_RD, &bootdev, 0, "Maybe the Boot device (not in dev_t format)"); + /* * Initialize 386 and configure to run kernel */