diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-03-13 13:45:00 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-03-13 13:45:00 +0000 |
| commit | e454a5425b714fd5e54e451f1f5ce9baeda944c1 (patch) | |
| tree | 6758230269d0506be7e4958e076451c94955c5dd /sys/pc98 | |
| parent | a10036316f84a04e76df27b7917145140dd027e3 (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
2 files changed, 8 insertions, 0 deletions
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 */ |
