summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-01-19 20:45:27 +0000
committerwpaul <wpaul@FreeBSD.org>2004-01-19 20:45:27 +0000
commit545deb598ae664aa142a892098ca4e16a535707b (patch)
tree0323e85faf92017e6a46e2f65c23f131aa24f077 /sys
parent1968ea331b9a0e1777a5f2629482c3e5ff851dc8 (diff)
downloadFreeBSD-src-545deb598ae664aa142a892098ca4e16a535707b.zip
FreeBSD-src-545deb598ae664aa142a892098ca4e16a535707b.tar.gz
Add WDM major/minor #defines.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/ndis/ntoskrnl_var.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/compat/ndis/ntoskrnl_var.h b/sys/compat/ndis/ntoskrnl_var.h
index 1e720e0..adbf68b 100644
--- a/sys/compat/ndis/ntoskrnl_var.h
+++ b/sys/compat/ndis/ntoskrnl_var.h
@@ -55,6 +55,13 @@
#define MDL_VA(b) \
((void *)((char *)((b)->nb_startva) + (b)->nb_byteoffset))
+#define WDM_MAJOR 1
+#define WDM_MINOR_WIN98 0x00
+#define WDM_MINOR_WINME 0x05
+#define WDM_MINOR_WIN2000 0x10
+#define WDM_MINOR_WINXP 0x20
+#define WDM_MINOR_WIN2003 0x30
+
/*-
* The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows.
* According to the Windows DDK header files, KSPIN_LOCK is defined like this:
OpenPOWER on IntegriCloud