freebsd-dev/sys/i386/acpica
Nate Lawson 0cafadacae 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)
2004-08-05 06:29:12 +00:00
..
acpi_asus.c Unbreak LINT by making sure that method is always defined. 2004-08-04 14:29:22 +00:00
acpi_machdep.c Get the acpi softc via the devclass, not by caching the device. Replace 2004-07-24 22:41:30 +00:00
acpi_panasonic.c Whitespace cleanup and move static variables together. 2004-07-24 20:40:02 +00:00
acpi_toshiba.c Update for acpi_id_probe() 2004-06-29 19:05:20 +00:00
acpi_wakecode.S Use <machine/asmacros.h> since <machine/asm.h> is a userland-only header 2004-01-01 22:57:22 +00:00
acpi_wakeup.c Remove the attempt to cache the previous page mapped at our identity 2004-08-05 06:29:12 +00:00
genwakecode.sh Use file2c instead of a combination of hexdump, sed and shell script to 2004-07-27 01:33:27 +00:00
madt.c Completely ignore disabled CPU entries as their APIC IDs tend to be 2004-06-10 20:03:46 +00:00
Makefile Use headers from the kernel source tree rather than installed headers. 2004-04-13 13:43:11 +00:00
OsdEnvironment.c Make unnecessary globals static and remove unused includes. 2004-05-06 02:18:58 +00:00