freebsd-nq/sys/compat/ndis
David E. O'Brien a971a19262 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:
	typedef ULONG_PTR KSPIN_LOCK;

From basetsd.h (SDK, Feb. 2003):
	typedef [public] unsigned __int3264 ULONG_PTR, *PULONG_PTR;
	typedef unsigned __int64 ULONG_PTR, *PULONG_PTR;
	typedef _W64 unsigned long ULONG_PTR, *PULONG_PTR;

The keyword __int3264 specifies an integral type that has the following
properties:
 + It is 32-bit on 32-bit platforms
 + It is 64-bit on 64-bit platforms
 + It is 32-bit on the wire for backward compatibility.
   It gets truncated on the sending side and extended appropriately
   (signed or unsigned) on the receiving side.

Thus register_t seems the proper mapping onto FreeBSD for spin locks.
2004-01-16 02:07:04 +00:00
..
cfg_var.h Deal with the duplicate sysctl leaf problem. A .inf file may contain 2003-12-18 03:51:21 +00:00
hal_var.h The definition for __stdcall logically belongs in pe_var.h, but 2004-01-15 21:31:49 +00:00
kern_ndis.c AMD64 has a single MS-Win calling convention, so provide an empty __stdcall. 2004-01-13 22:49:45 +00:00
ndis_var.h The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows. 2004-01-16 02:07:04 +00:00
ntoskrnl_var.h The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows. 2004-01-16 02:07:04 +00:00
pe_var.h The definition for __stdcall logically belongs in pe_var.h, but 2004-01-15 21:31:49 +00:00
resource_var.h
subr_hal.c Create NDIS_BUS_SPACE_{IO,MEM} to abstract MD BUS_SPACE macros. 2004-01-15 19:34:56 +00:00
subr_ndis.c Implement NdisCopyFromPacketToPacket() and NdisCopyFromPacketToPacketSafe(). 2004-01-15 07:42:26 +00:00
subr_ntoskrnl.c The definition for __stdcall logically belongs in pe_var.h, but 2004-01-15 21:31:49 +00:00
subr_pe.c AMD64 has a single MS-Win calling convention, so provide an empty __stdcall. 2004-01-13 22:49:45 +00:00