svn commit: r269887 - head/sys/i386/acpica

John Baldwin jhb at FreeBSD.org
Tue Aug 12 18:22:58 UTC 2014


Author: jhb
Date: Tue Aug 12 18:22:57 2014
New Revision: 269887
URL: http://svnweb.freebsd.org/changeset/base/269887

Log:
  Correct a comment brought over from amd64.  i386 doesn't use long
  mode.

Modified:
  head/sys/i386/acpica/acpi_wakecode.S

Modified: head/sys/i386/acpica/acpi_wakecode.S
==============================================================================
--- head/sys/i386/acpica/acpi_wakecode.S	Tue Aug 12 18:02:10 2014	(r269886)
+++ head/sys/i386/acpica/acpi_wakecode.S	Tue Aug 12 18:22:57 2014	(r269887)
@@ -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


More information about the svn-src-head mailing list