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

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


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Feb 2011 07:03:04 -0800 (PST)

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



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