Added PC-98 apm support.

Submitted by:	MURAMATSU Atsushi <amura@ma3.seikyou.ne.jp>
This commit is contained in:
Yoshihiro Takahashi 2001-01-22 11:27:25 +00:00
parent fb7912f8ba
commit 5069714534
4 changed files with 14 additions and 1 deletions

View File

@ -140,7 +140,6 @@ gnu/i386/fpemul/reg_u_mul.s optional gpl_math_emulate
gnu/i386/fpemul/reg_u_sub.s optional gpl_math_emulate
gnu/i386/fpemul/wm_shrx.s optional gpl_math_emulate
gnu/i386/fpemul/wm_sqrt.s optional gpl_math_emulate
i386/apm/apm.c optional apm
i386/i386/atomic.c standard \
compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
i386/i386/autoconf.c standard
@ -347,6 +346,8 @@ libkern/qdivrem.c standard
libkern/ucmpdi2.c standard
libkern/udivdi3.c standard
libkern/umoddi3.c standard
pc98/apm/apm.c optional apm
pc98/apm/apm_bioscall.s optional apm
pc98/i386/machdep.c standard
pc98/i386/userconfig.c optional userconfig
pc98/pc98/atapi.c optional wdc

View File

@ -42,7 +42,11 @@
#include <sys/selinfo.h>
#include <machine/apm_bios.h>
#include <machine/pc/bios.h>
#ifdef PC98
#include <pc98/apm/apm.h>
#else
#include <i386/apm/apm.h>
#endif
extern int apm_display __P((int newstate));

View File

@ -6,4 +6,8 @@ NOMAN=
CFLAGS+= -I${.CURDIR}/..
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
.include <bsd.kmod.mk>

View File

@ -42,7 +42,11 @@
#include <sys/selinfo.h>
#include <machine/apm_bios.h>
#include <machine/pc/bios.h>
#ifdef PC98
#include <pc98/apm/apm.h>
#else
#include <i386/apm/apm.h>
#endif
extern int apm_display __P((int newstate));