git: DragonFly_RELEASE_3_0 x86_64 getmemsize: Recover 0x100000 bytes

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


commit aaff6978c31990b5af36eec505a511c80547d295
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/aaff6978c31990b5af36eec505a511c80547d295


-- 
DragonFly BSD source repository





More information about the Commits mailing list