Change typedefs for vm_offset_t, vm_size_t, and vm_pindex_t, add szmin/sz/max
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 03:01:13 +0000 (20:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 03:01:13 +0000 (20:01 -0700)
commit88bf1145bc9f8cad86e319cd78f2ed4afb7189ad
treee1d02715c52b1de4f5068e80d07967209dd6e69f
parent424e83826fa2b8d7c87f55aa1b538ed9c27e3777
Change typedefs for vm_offset_t, vm_size_t, and vm_pindex_t, add szmin/sz/max

* Generally change these types from unsigned int to unsigned long in
  order to better catch int/long issues on both 32 and 64 bit builds.

* Add szmin() and szmax() inlines which take and return size_t.
lib/libstand/stand.h
sys/cpu/amd64/include/types.h
sys/cpu/i386/include/types.h
sys/sys/libkern.h