summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot2
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-04 16:35:16 +0000
committerphk <phk@FreeBSD.org>2003-04-04 16:35:16 +0000
commit84d6b36e309c74d75565793688f01807fb1340f6 (patch)
treea6b84bed6839656a8003f724b1f2eec04ec03e0f /sys/boot/pc98/boot2
parent4ea6a23f8df49350892e9ec146853181cbce31bb (diff)
downloadFreeBSD-src-84d6b36e309c74d75565793688f01807fb1340f6.zip
FreeBSD-src-84d6b36e309c74d75565793688f01807fb1340f6.tar.gz
Libdisk does not need to include <sys/diskslice.h> any more.
Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
Diffstat (limited to 'sys/boot/pc98/boot2')
-rw-r--r--sys/boot/pc98/boot2/disk.c2
-rw-r--r--sys/boot/pc98/boot2/sys.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/pc98/boot2/disk.c b/sys/boot/pc98/boot2/disk.c
index f0eaf67..f8636eb 100644
--- a/sys/boot/pc98/boot2/disk.c
+++ b/sys/boot/pc98/boot2/disk.c
@@ -43,8 +43,8 @@
#include "boot.h"
#include <sys/disklabel.h>
-#include <sys/diskslice.h>
#include <sys/diskpc98.h>
+#include <machine/bootinfo.h>
#define BIOS_DEV_FLOPPY 0x0
#define BIOS_DEV_WIN 0x80
diff --git a/sys/boot/pc98/boot2/sys.c b/sys/boot/pc98/boot2/sys.c
index eb65d33..9963ae5 100644
--- a/sys/boot/pc98/boot2/sys.c
+++ b/sys/boot/pc98/boot2/sys.c
@@ -33,7 +33,6 @@
#include "boot.h"
#include <sys/dirent.h>
-#include <sys/reboot.h>
#if 0
/* #define BUFSIZE 4096 */
OpenPOWER on IntegriCloud