aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/pc98
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2016-10-14 16:23:12 +0000
committerWarner Losh <imp@FreeBSD.org>2016-10-14 16:23:12 +0000
commita2cb5fddcd604853b8fa3668ae9dab0df5dcacb4 (patch)
tree1b0ae94018d5efd82956e286063a5972b89bbff5 /sys/boot/pc98
parentf36f940494ec8e3df5a51d5789bf777f45bf651b (diff)
downloadsrc-a2cb5fddcd604853b8fa3668ae9dab0df5dcacb4.tar.gz
src-a2cb5fddcd604853b8fa3668ae9dab0df5dcacb4.zip
Create a new linker set, Xficl_compile_set which contains a list of
functions to call at the appropriate time to register new forth words. In the past we've done this with ifdef soup, but now if the file is included in the build, we'll get the new forth words. Use this new functionality to move the pci bios stuff out of loader.c by moving it to biospci.c. Move the pnp functionality to common/pnp.c. Move the inb/outb forth words to the i386 sysdep.c file where their implementation is defined. Adjust the efi linker scripts and build machinery to cope. his should be an invisible change to forth scripts and user experience. Differential Revision: https://reviews.freebsd.org/D8145
Notes
Notes: svn path=/head/; revision=307324
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r--sys/boot/pc98/libpc98/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/pc98/libpc98/Makefile b/sys/boot/pc98/libpc98/Makefile
index 6b11de9f6999..f3e27a4c679d 100644
--- a/sys/boot/pc98/libpc98/Makefile
+++ b/sys/boot/pc98/libpc98/Makefile
@@ -37,7 +37,8 @@ CFLAGS+= -DTERM_EMU
# XXX: make alloca() useable
CFLAGS+= -Dalloca=__builtin_alloca
-CFLAGS+= -I${.CURDIR}/../../common \
+CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386 \
+ -I${.CURDIR}/../../common \
-I${.CURDIR}/../btx/lib \
-I${.CURDIR}/../../i386/libi386 \
-I${.CURDIR}/../../.. -I.