Date: Tue, 12 Aug 2014 18:22:57 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269887 - head/sys/i386/acpica Message-ID: <53ea5b81.6268.53f25d4c@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea5b81.6268.53f25d4c>