summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-12-14 15:27:15 +0000
committernyan <nyan@FreeBSD.org>2001-12-14 15:27:15 +0000
commit8b664dd49d5ecab19f8c50b6da1d7ec6b03b1331 (patch)
tree2086d40e539ed86593d28a6a2f50e1dde4a0a38d /sys/amd64
parent538db93281133bc7efa58a3750c50b5533cb0589 (diff)
downloadFreeBSD-src-8b664dd49d5ecab19f8c50b6da1d7ec6b03b1331.zip
FreeBSD-src-8b664dd49d5ecab19f8c50b6da1d7ec6b03b1331.tar.gz
Fixed to draw mouse cursor. The syscons driver for PC98 uses different
attributes from i386. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) MFC after: 3 days
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/pc/display.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/pc/display.h b/sys/amd64/include/pc/display.h
index cd2d5ff..36f91de 100644
--- a/sys/amd64/include/pc/display.h
+++ b/sys/amd64/include/pc/display.h
@@ -37,7 +37,12 @@
/* Monochrome attributes for foreground text */
+#ifdef PC98
+/* PC-98 attributes for foreground text */
+#define FG_UNDERLINE 0x08
+#else
#define FG_UNDERLINE 0x01
+#endif
#define FG_INTENSE 0x08
/* Monochrome attributes for text background */
OpenPOWER on IntegriCloud