diff --git a/sys/dev/x86bios/x86bios.c b/sys/compat/x86bios/x86bios.c similarity index 98% rename from sys/dev/x86bios/x86bios.c rename to sys/compat/x86bios/x86bios.c index 1bb86e36b93c..5cb6bdf6f557 100644 --- a/sys/dev/x86bios/x86bios.c +++ b/sys/compat/x86bios/x86bios.c @@ -21,7 +21,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include u_char *pbiosMem = NULL; static u_char *pbiosStack = NULL; diff --git a/sys/dev/x86bios/x86bios.h b/sys/compat/x86bios/x86bios.h similarity index 100% rename from sys/dev/x86bios/x86bios.h rename to sys/compat/x86bios/x86bios.h diff --git a/sys/dev/x86bios/x86bios_alloc.c b/sys/compat/x86bios/x86bios_alloc.c similarity index 98% rename from sys/dev/x86bios/x86bios_alloc.c rename to sys/compat/x86bios/x86bios_alloc.c index 38bb472d1c13..624a75ce0088 100644 --- a/sys/dev/x86bios/x86bios_alloc.c +++ b/sys/compat/x86bios/x86bios_alloc.c @@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$"); #include -#include +#include extern u_char *pbiosMem; extern int busySegMap[5]; diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 244a9b784c7f..3231bb557bbf 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -297,8 +297,7 @@ libkern/memset.c standard # # x86 real mode BIOS emulator, required by atkbdc/dpms/vesa # -dev/x86bios/x86bios.c optional x86bios | atkbd | dpms | vesa -dev/x86bios/x86bios_alloc.c optional x86bios | atkbd | dpms | vesa contrib/x86emu/x86emu.c optional x86bios | atkbd | dpms | vesa contrib/x86emu/x86emu_util.c optional x86bios | atkbd | dpms | vesa - +compat/x86bios/x86bios.c optional x86bios | atkbd | dpms | vesa +compat/x86bios/x86bios_alloc.c optional x86bios | atkbd | dpms | vesa diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index b332f31ec0d2..3728fad1e67e 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -381,7 +381,7 @@ i386/xbox/pic16l.s optional xbox # # x86 real mode BIOS emulator, required by atkbdc/dpms/vesa # -dev/x86bios/x86bios.c optional x86bios | atkbd | dpms | vesa -dev/x86bios/x86bios_alloc.c optional x86bios | atkbd | dpms | vesa contrib/x86emu/x86emu.c optional x86bios | atkbd | dpms | vesa contrib/x86emu/x86emu_util.c optional x86bios | atkbd | dpms | vesa +compat/x86bios/x86bios.c optional x86bios | atkbd | dpms | vesa +compat/x86bios/x86bios_alloc.c optional x86bios | atkbd | dpms | vesa diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c index bb6aed6e2899..54ea15632033 100644 --- a/sys/dev/atkbdc/atkbd.c +++ b/sys/dev/atkbdc/atkbd.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); #if 0 #include #include -#include +#include #include #include diff --git a/sys/dev/dpms/dpms.c b/sys/dev/dpms/dpms.c index d21839b74f94..17f68daa1d4b 100644 --- a/sys/dev/dpms/dpms.c +++ b/sys/dev/dpms/dpms.c @@ -67,7 +67,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include /* * VESA DPMS States diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c index a91d1f011b02..f6c6d6a5c8b5 100644 --- a/sys/dev/fb/vesa.c +++ b/sys/dev/fb/vesa.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include -#include +#include #define VESA_VIA_CLE266 "VIA CLE266\r\n" diff --git a/sys/modules/x86bios/Makefile b/sys/modules/x86bios/Makefile index 5dc381187309..8b5fa302a78f 100644 --- a/sys/modules/x86bios/Makefile +++ b/sys/modules/x86bios/Makefile @@ -4,7 +4,7 @@ KMOD= x86bios SRCS= opt_x86bios.h .PATH: ${.CURDIR}/../../contrib/x86emu -.PATH: ${.CURDIR}/../../dev/x86bios +.PATH: ${.CURDIR}/../../compat/x86bios SRCS+= x86bios.c x86bios_alloc.c x86emu.c x86emu_util.c .include