freebsd-nq/sys/compat
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
..
freebsd32 GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
ia32 Add an additional field to the elf brandinfo structure to support 2003-12-23 02:42:39 +00:00
linprocfs Correct for proper vn_fullpath() failure mode: "== -1" -> "!= 0" 2004-01-12 03:14:37 +00:00
linux VOP_GETATTR() wants the vnode passed to it to be locked. Instead 2004-01-14 22:38:03 +00:00
ndis The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows. 2004-01-16 02:07:04 +00:00
netbsd Don't include <sys/buf.h> needlessly. 2003-04-01 09:02:58 +00:00
pecoff Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
svr4 GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00