git: kernel - Fix boot issues with > 512GB of ram

Matthew Dillon dillon at
Sun Oct 29 14:42:34 PDT 2017

commit f70051b1a0413d7f913de0fdf9609a0d1f1990f4
Author: Matthew Dillon <dillon at>
Date:   Sun Oct 29 14:37:32 2017 -0700

    kernel - Fix boot issues with > 512GB of ram
    * Fix DMAP installation issues for kernels with > 512GB of ram.
      The page table was not being laid out properly for PML4e
      entries past the first one.
    * Fix early panic reporting.  Conditionalize the lapic access as the
      lapic might not exist yet.
    * Tested to 1TB of ram.  Theoretically DragonFlyBSD can support up
      to 32TB of ram (and slightly less than ~64TB with one #define
    Reported-by: zrj
    Testing-by: zrj

Summary of changes:
 sys/platform/pc64/include/vmparam.h | 4 ++--
 sys/platform/pc64/x86_64/pmap.c     | 4 ++--
 sys/platform/pc64/x86_64/trap.c     | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list