cvs commit: src/sys/i386/acpica acpi_wakeup.c src/sys/i386/i386 pmap.c

Nate Lawson njl at FreeBSD.org
Wed Mar 14 22:30:02 UTC 2007


njl         2007-03-14 22:30:02 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/acpica      acpi_wakeup.c 
    sys/i386/i386        pmap.c 
  Log:
  Create an identity mapping (V=P) super page for the low memory region on
  boot.  Then, just switch to the kernel pmap when suspending instead of
  allocating/freeing our own mapping every time.  This should solve a panic
  of pmap_remove() being called with interrupts disabled.  Thanks to Alan
  Cox for developing this patch.
  
  Note: this means that ACPI requires super page (PG_PS) support in the CPU.
  This has been present since the Pentium and first documented in the
  Pentium Pro.  However, it may need to be revisited later.
  
  Submitted by:   alc
  MFC after:      1 month
  
  Revision  Changes    Path
  1.46      +6 -11     src/sys/i386/acpica/acpi_wakeup.c
  1.583     +7 -0      src/sys/i386/i386/pmap.c


More information about the cvs-all mailing list