summaryrefslogtreecommitdiffstats
path: root/private/mvdm/softpc.new/host/inc/nt_vddp.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/softpc.new/host/inc/nt_vddp.h')
-rw-r--r--private/mvdm/softpc.new/host/inc/nt_vddp.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/host/inc/nt_vddp.h b/private/mvdm/softpc.new/host/inc/nt_vddp.h
new file mode 100644
index 000000000..6f6792473
--- /dev/null
+++ b/private/mvdm/softpc.new/host/inc/nt_vddp.h
@@ -0,0 +1,37 @@
+/*++ BUILD Version: 0001
+ *
+ * MVDM v1.0
+ *
+ * Copyright (c) 1991, Microsoft Corporation
+ *
+ * nt_vddp.h
+ * private defines for Installable VDDs
+ *
+ * History:
+ * 27-Aug-1992 Sudeep Bharati (sudeepb)
+ * Created.
+--*/
+
+
+#define MAX_CLASS_LEN 32
+
+typedef ULONG (*VDDPROC)();
+
+
+extern VOID DispatchPageFault (ULONG,ULONG);
+
+typedef struct _MEM_HOOK_DATA {
+ DWORD StartAddr;
+ DWORD Count;
+ HANDLE hvdd;
+ PVDD_MEMORY_HANDLER MemHandler;
+ struct _MEM_HOOK_DATA *next;
+} MEM_HOOK_DATA, *PMEM_HOOK_DATA;
+
+// These are the ports which we may handle directly in kernel.
+// If a VDD hooks such a port we will makw sure that kernel
+// does'nt handle it.
+
+#define LPT1_PORT_STATUS 0x3bd
+#define LPT2_PORT_STATUS 0x379
+#define LPT3_PORT_STATUS 0x279