summaryrefslogtreecommitdiffstats
path: root/sys/compat/ndis/ntoskrnl_var.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-03-28 17:36:06 +0000
committerwpaul <wpaul@FreeBSD.org>2005-03-28 17:36:06 +0000
commit12c3eeb4fa1b4cb21122c3550ba30283203f40d0 (patch)
tree95bc8ce0fba8941bacbfcf870c926e832899605b /sys/compat/ndis/ntoskrnl_var.h
parent913253e3c75a16d5e98ddbe8cc8c3382136e5008 (diff)
downloadFreeBSD-src-12c3eeb4fa1b4cb21122c3550ba30283203f40d0.zip
FreeBSD-src-12c3eeb4fa1b4cb21122c3550ba30283203f40d0.tar.gz
Tweak to hopefully make lookaside lists work on amd64: in Windows, the
nll_obsoletelock field in the lookaside list structure is only defined for the i386 arch. For amd64, the field is gone, and different list update routines are used which do their locking internally. Apparently the Inprocomm amd64 driver uses lookaside lists. I'm not positive this will make it work yet since I don't have an Inprocomm NIC to test, but this needs to be fixed anyway.
Diffstat (limited to 'sys/compat/ndis/ntoskrnl_var.h')
-rw-r--r--sys/compat/ndis/ntoskrnl_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/ndis/ntoskrnl_var.h b/sys/compat/ndis/ntoskrnl_var.h
index 3d71e69..3928db8 100644
--- a/sys/compat/ndis/ntoskrnl_var.h
+++ b/sys/compat/ndis/ntoskrnl_var.h
@@ -428,7 +428,9 @@ typedef struct general_lookaside general_lookaside;
struct npaged_lookaside_list {
general_lookaside nll_l;
+#ifdef __i386__
kspin_lock nll_obsoletelock;
+#endif
};
typedef struct npaged_lookaside_list npaged_lookaside_list;
@@ -654,7 +656,7 @@ typedef struct devobj_extension devobj_extension;
#define IRP_MN_MOUNT_VOLUME 0x01
#define IRP_MN_VERIFY_VOLUME 0x02
#define IRP_MN_LOAD_FILE_SYSTEM 0x03
-#define IRP_MN_TRACK_LINK 0x04 // To be obsoleted soon
+#define IRP_MN_TRACK_LINK 0x04
#define IRP_MN_KERNEL_CALL 0x04
#define IRP_MN_LOCK 0x01
OpenPOWER on IntegriCloud