summaryrefslogtreecommitdiff
path: root/hw/kdrive/smi
diff options
context:
space:
mode:
authorSeth W. Klein <sk@sethwklein.net>2003-11-18 04:53:16 +0000
committerSeth W. Klein <sk@sethwklein.net>2003-11-18 04:53:16 +0000
commitf333581b7b4066ab054dd765a1c9bae0f3407188 (patch)
tree009545c054c88d4fd2b7aab1786a9600badd3e08 /hw/kdrive/smi
parent003e87717cfe378261ed1a1e7bcb2cf0d200b1b8 (diff)
Added infrastructure for driver specific usage messages and added vesa
usage message.
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)
{