Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 13:59:28 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/acpica acpi_wakeup.c
Message-ID:  <200307212059.h6LKxS9Z064227@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2003/07/21 13:59:28 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/acpica      acpi_wakeup.c 
  Log:
  Commit Ian Dowse's workaround for acpi resume resetting after the
  LAZY_SWITCH changes.  He pointed out the acpi code sets up an identity
  mapping in the current vmspace and that got messed up by the %cr3 being
  out of sync with the current page directory.  As a workaround, restore
  %cr3 across the sleep/resume.  A more complete fix would be to undo the
  lazy state and clear the pm_active bit from the borrowed pmap, but this
  works and people are currently hurting.  I'll clean this up.
  This is mostly Ian's patch, plus a PAE tweak from me.
  
  Revision  Changes    Path
  1.22      +8 -0      src/sys/i386/acpica/acpi_wakeup.c



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