git: x86_64 getmemsize: Recover 0x100000 bytes

John Marino marino at crater.dragonflybsd.org
Sun Feb 19 07:33:02 PST 2012


commit 0aefa5263fc35dc6554c0e44589f06d939697d11
Author: John Marino <draco at 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





More information about the Commits mailing list