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

git: x86_64 getmemsize: Recover 0x100000 bytes


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Feb 2012 07:33:02 -0800 (PST)

commit 0aefa5263fc35dc6554c0e44589f06d939697d11
Author: John Marino <draco@marino.st>
Date:   Sun Feb 19 16:26:19 2012 +0100

    x86_64 getmemsize: Recover 0x100000 bytes
    
    When binutils 2.20 was brought in, the x86_64 kernel built with it loaded
    at 0x200000 instead of 0x100000 as it was previously.  The getmemsize()
    function was never updated with the new address so the physical memory
    between 0x100000 and 0x200000 has been lost since then.
    
    The hardcoded value has been updated.  In the future, it may be a good
    idea to replace with a variable as FreeBSD has done.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0aefa5263fc35dc6554c0e44589f06d939697d11


-- 
DragonFly BSD source repository



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