git: Change typedefs for vm_offset_t, vm_size_t, and vm_pindex_t

看板DFBSD_commit作者時間16年前 (2009/08/19 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AYu16Qe (DFBSD_commit)