aboutsummaryrefslogtreecommitdiffstats
path: root/ddk
diff options
context:
space:
mode:
authorJaroslav Hensl <emulator@emulace.cz>2023-07-07 12:33:35 +0200
committerJaroslav Hensl <emulator@emulace.cz>2023-07-07 12:33:35 +0200
commit12c9ac987f950e36f70c10769d9f37c2a26dbf4c (patch)
tree454f1d80dc245663b87944e4b7d2a0b9cbed55ae /ddk
parentd53f427dc984abe25616287fded56d7a02a85809 (diff)
downloadvmdisp9x-12c9ac987f950e36f70c10769d9f37c2a26dbf4c.tar.gz
added QEMU STD support - originally by Philip Kelley (https://github.com/phkelley/boxv9x)
Diffstat (limited to 'ddk')
-rw-r--r--ddk/configmg.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ddk/configmg.h b/ddk/configmg.h
new file mode 100644
index 0000000..8dc3112
--- /dev/null
+++ b/ddk/configmg.h
@@ -0,0 +1,35 @@
+#ifndef __CONFIGMG_H__INCLUDED__
+#define __CONFIGMG_H__INCLUDED__
+/* Definitions for the configuration manager. */
+
+typedef DWORD CONFIGRET; /* Standardized return value. */
+
+typedef DWORD LOG_CONF; /* Logical configuration. */
+typedef LOG_CONF FAR *PLOG_CONF; /* Far pointer to logical configuration. */
+
+typedef DWORD RES_DES; /* Resource descriptor. */
+typedef RES_DES FAR *PRES_DES; /* Far pointer to resource descriptor. */
+
+typedef DWORD DEVNODE; /* Devnode. */
+
+typedef DWORD ULONG;
+
+typedef void FAR *PFARVOID;
+
+typedef ULONG RESOURCEID; /* Resource type ID. */
+typedef RESOURCEID FAR *PRESOURCEID; /* Far pointer to resource type ID. */
+
+typedef struct {
+ WORD MD_Count;
+ WORD MD_Type;
+ ULONG MD_Alloc_Base;
+ ULONG MD_Alloc_End;
+ WORD MD_Flags;
+ WORD MD_Reserved;
+} MEM_DES, *PMEM_DES;
+
+#define CR_SUCCESS 0
+#define ALLOC_LOG_CONF 2
+#define ResType_Mem 1
+
+#endif /* __CONFIGMG_H__INCLUDED__ */