diff options
author | nyan <nyan@FreeBSD.org> | 2000-05-08 14:55:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-05-08 14:55:21 +0000 |
commit | c118e945dbea9cfb3f17f191de75063955027acc (patch) | |
tree | d3977759f169163c0f704ff495c3e306b37a07c7 /sys/modules/syscons/star | |
parent | 2fde06de69369c07020e27ea47a750705298ade1 (diff) | |
download | FreeBSD-src-c118e945dbea9cfb3f17f191de75063955027acc.zip FreeBSD-src-c118e945dbea9cfb3f17f191de75063955027acc.tar.gz |
Added PC-98 supports.
Obtained from: FreeBSD(98) 4.0R-Rev01
Diffstat (limited to 'sys/modules/syscons/star')
-rw-r--r-- | sys/modules/syscons/star/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/syscons/star/star_saver.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/syscons/star/Makefile b/sys/modules/syscons/star/Makefile index 65ecbfa..985b7ab 100644 --- a/sys/modules/syscons/star/Makefile +++ b/sys/modules/syscons/star/Makefile @@ -6,4 +6,8 @@ SRCS= star_saver.c NOMAN= CFLAGS+= -I${.CURDIR}/.. +.if ${MACHINE} == "pc98" +CFLAGS+= -DPC98 +.endif + .include "${.CURDIR}/../../../conf/kmod.mk" diff --git a/sys/modules/syscons/star/star_saver.c b/sys/modules/syscons/star/star_saver.c index 27e9921..0008852 100644 --- a/sys/modules/syscons/star/star_saver.c +++ b/sys/modules/syscons/star/star_saver.c @@ -41,6 +41,10 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> +#ifdef PC98 +#include <pc98/pc98/pc98_machdep.h> +#endif + #define NUM_STARS 50 static int blanked; |