DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Aug 2009 21:07:56 -0700 (PDT)

commit 88bf1145bc9f8cad86e319cd78f2ed4afb7189ad
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]