git: Change typedefs for vm_offset_t, vm_size_t, and vm_pindex_t, add szmin/sz/max

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 18 21:09:01 PDT 2009


commit 88bf1145bc9f8cad86e319cd78f2ed4afb7189ad
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 18 20:01:13 2009 -0700

    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.

Summary of changes:
 lib/libstand/stand.h          |    2 ++
 sys/cpu/amd64/include/types.h |   10 ++++------
 sys/cpu/i386/include/types.h  |    6 +++---
 sys/sys/libkern.h             |    2 ++
 4 files changed, 11 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/88bf1145bc9f8cad86e319cd78f2ed4afb7189ad


-- 
DragonFly BSD source repository





More information about the Commits mailing list