summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-08-12 18:22:57 +0000
committerjhb <jhb@FreeBSD.org>2014-08-12 18:22:57 +0000
commit7c1fb8a7e85392d47b250c7ac200039251c9da2b (patch)
treeb08edd0850898b9d0fd33bb84dc149acd4fc5351
parent4e7dbdd0ba197b3e6bdb875a48e69b0816f1aa36 (diff)
downloadFreeBSD-src-7c1fb8a7e85392d47b250c7ac200039251c9da2b.zip
FreeBSD-src-7c1fb8a7e85392d47b250c7ac200039251c9da2b.tar.gz
Correct a comment brought over from amd64. i386 doesn't use long
mode.
-rw-r--r--sys/i386/acpica/acpi_wakecode.S9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/i386/acpica/acpi_wakecode.S b/sys/i386/acpica/acpi_wakecode.S
index 88f32d7..ee3d5a1 100644
--- a/sys/i386/acpica/acpi_wakecode.S
+++ b/sys/i386/acpica/acpi_wakecode.S
@@ -151,14 +151,7 @@ wakeup_32:
movl wakeup_cr3 - wakeup_start(%ebx), %eax
mov %eax, %cr3
- /*
- * Finally, switch to long bit mode by enabling paging. We have
- * to be very careful here because all the segmentation disappears
- * out from underneath us. The spec says we can depend on the
- * subsequent pipelined branch to execute, but *only if* everthing
- * is still identity mapped. If any mappings change, the pipeline
- * will flush.
- */
+ /* Enable paging. */
mov %cr0, %eax
orl $CR0_PG, %eax
mov %eax, %cr0
OpenPOWER on IntegriCloud