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

git: DragonFly_RELEASE_3_0 x86_64 getmemsize: Recover 0x100000 bytes


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

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


-- 
DragonFly BSD source repository



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