Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 2004 06:29:12 +0000 (UTC)
From:      Nate Lawson <njl@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:  <200408050629.i756TCBE056848@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2004-08-05 06:29:12 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/acpica      acpi_wakeup.c 
  Log:
  Remove the attempt to cache the previous page mapped at our identity
  location (for the wake code).  It should not be needed since we don't
  map other pages at the same location and if there was an old mapping, it
  would be restored by a fault.  The old code had serious problems, namely
  that it was restoring the new page it had just removed (not opage) and
  it could only guess at the right protection (since there's no
  pmap_extract_protect function).  Thanks to Alan Cox for explaining much
  of this to me.
  
  Also, remove a commented-out initializecpu() call since it is not needed.
  Restoring the cpu context is better than attempting to init from scratch.
  
  Reviewed by:    alc (earlier version)
  
  Revision  Changes    Path
  1.37      +2 -15     src/sys/i386/acpica/acpi_wakeup.c



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