summaryrefslogtreecommitdiff
path: root/hw/kdrive/smi
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/smi')
-rw-r--r--hw/kdrive/smi/smi.h2
-rw-r--r--hw/kdrive/smi/smistub.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/hw/kdrive/smi/smi.h b/hw/kdrive/smi/smi.h
index abee819bf..d4733213f 100644
--- a/hw/kdrive/smi/smi.h
+++ b/hw/kdrive/smi/smi.h
@@ -47,6 +47,7 @@
#define subDisable vesaDisable
#define SubCardPrivRec VesaCardPrivRec
#define SubScreenPrivRec VesaScreenPrivRec
+#define subUseMsg() vesaUseMsg()
#define subProcessArgument(c,v,i) vesaProcessArgument(c,v,i)
#else
#include <fbdev.h>
@@ -67,6 +68,7 @@
#define subDisable fbdevDisable
#define SubCardPrivRec FbdevPriv
#define SubScreenPrivRec FbdevScrPriv
+#define subUseMsg()
#define subProcessArgument(c,v,i) 0
#endif
diff --git a/hw/kdrive/smi/smistub.c b/hw/kdrive/smi/smistub.c
index fb4e1bad7..82286e1f6 100644
--- a/hw/kdrive/smi/smistub.c
+++ b/hw/kdrive/smi/smistub.c
@@ -51,6 +51,13 @@ InitInput (int argc, char **argv)
KdInitInput (&LinuxMouseFuncs, &LinuxKeyboardFuncs);
}
+void
+ddxUseMsg (void)
+{
+ KdUseMsg();
+ subUseMsg();
+}
+
int
ddxProcessArgument (int argc, char **argv, int i)
{