cvs commit: src/sys/amd64/amd64 machdep.c src/sys/i386/i386 machdep.c

John Baldwin jhb at
Thu Sep 7 08:03:09 PDT 2006

jhb         2006-09-07 15:03:02 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      machdep.c 
    sys/i386/i386        machdep.c 
  Use a single constant to define the sizes of the physmap[], phys_avail[],
  and dump_avail[] arrays so they are in sync (previously it was possible
  to store more entries in the physmap[] then we could store in phys_avail[],
  which was pointless).  While I'm here, bump up the length of these tables
  to hold 30 entries on amd64 and 16 on i386.  This allows machines with
  fairly fragmented memory maps to boot ok (at least one machine would
  not boot FreeBSD/i386 but would boot FreeBSD/amd64 because amd64 allowed
  for more fragments).
  MFC after:      3 days
  Revision  Changes    Path
  1.652     +4 -4      src/sys/amd64/amd64/machdep.c
  1.634     +4 -4      src/sys/i386/i386/machdep.c

More information about the cvs-src mailing list