git: kern - Properly return the number of bytes in hw.physmem sy

看板DFBSD_commit作者時間15年前 (2011/02/05 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 39d69daecef529eb49d36fefa429c8ac08e7cbc1 Author: Antonio Huete <tuxillo@quantumachine.net> Date: Fri Feb 4 14:34:05 2011 +0100 kern - Properly return the number of bytes in hw.physmem sysctl. - Changed physmem from int to long, now it can hold a really high number of pages. - Return an unsigned long value with appropiate formatting for hw.physmem. - Add description for it. Based-upon: FreeBSD Summary of changes: sbin/sysctl/sysctl.8 | 4 ++-- sys/platform/pc32/i386/machdep.c | 10 ++++++---- sys/platform/pc64/x86_64/machdep.c | 10 ++++++---- sys/platform/vkernel/i386/cpu_regs.c | 8 +++++--- sys/platform/vkernel/platform/init.c | 2 +- sys/platform/vkernel64/platform/init.c | 2 +- sys/platform/vkernel64/x86_64/cpu_regs.c | 9 +++++---- sys/sys/sysctl.h | 2 +- sys/sys/systm.h | 2 +- 9 files changed, 28 insertions(+), 21 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39d69daecef529eb49d36fefa429c8ac08e7cbc1 -- DragonFly BSD source repository
文章代碼(AID): #1DJ3xeXX (DFBSD_commit)