git: kern - Properly return the number of bytes in hw.physmem sysctl.
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Fri Feb 4 07:04:43 PST 2011
commit 39d69daecef529eb49d36fefa429c8ac08e7cbc1
Author: Antonio Huete <tuxillo at 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
More information about the Commits
mailing list