Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 06:35:17 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 machdep.c src/sys/conf ldscript.amd64
Message-ID:  <201103280635.p2S6ZauJ075273@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

alc         2011-03-28 06:35:17 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      machdep.c 
    sys/conf             ldscript.amd64 
  Log:
  SVN rev 220090 on 2011-03-28 06:35:17Z by alc
  
  The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x200000
  instead of 0x100000.  As a side effect, an amd64 kernel now loads at
  physical address 0x200000 instead of 0x100000.  This is probably for the
  best because it avoids the use of a 2MB page mapping for the first 1MB of
  the kernel that also spans the fixed MTRRs.  However, getmemsize() still
  thinks that the kernel loads at 0x100000, and so the physical memory between
  0x100000 and 0x200000 is lost.  Fix this problem by replacing the hard-wired
  constant in getmemsize() by a symbol "kernphys" that is defined by the
  linker script.
  
  In collaboration with:  kib
  
  Revision  Changes    Path
  1.746     +6 -1      src/sys/amd64/amd64/machdep.c
  1.11      +2 -1      src/sys/conf/ldscript.amd64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103280635.p2S6ZauJ075273>