cvs commit: src/sys/alpha/alpha machdep.c src/sys/ia64/ia64 machdep.c src/sys/sparc64/sparc64 machdep.c

John Baldwin jhb at
Tue Feb 14 06:50:11 PST 2006

jhb         2006-02-14 14:50:11 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      machdep.c 
    sys/ia64/ia64        machdep.c 
    sys/sparc64/sparc64  machdep.c 
  Fix the hw.realmem sysctl.  The global realmem variable is a count of
  pages, not a count of bytes.  The sysctl handler for hw.realmem already
  uses ctob() to convert realmem from pages to bytes.  Thus, on archs that
  were storing a byte count in the realmem variable, hw.realmem was inflated.
  Reported by:    Valerio daelli valerio dot daelli at gmail dot com (alpha)
  MFC after:      3 days
  Revision  Changes    Path
  1.237     +1 -1      src/sys/alpha/alpha/machdep.c
  1.206     +1 -1      src/sys/ia64/ia64/machdep.c
  1.127     +1 -1      src/sys/sparc64/sparc64/machdep.c

More information about the cvs-src mailing list