summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-06-13 22:53:56 +0000
committerjkim <jkim@FreeBSD.org>2012-06-13 22:53:56 +0000
commitd0039ee2cf0f8e40d536d4f57fad8d221e152aa8 (patch)
treef90f07af9dcf9fce8852f9747a65291bae3c4a75 /sys/amd64/acpica
parent0ca632f7e9e457afd6f19baf33eb7cb22413134d (diff)
downloadFreeBSD-src-d0039ee2cf0f8e40d536d4f57fad8d221e152aa8.zip
FreeBSD-src-d0039ee2cf0f8e40d536d4f57fad8d221e152aa8.tar.gz
- Remove unused code for CR3 and CR4.
- Fix few style(9) nits while I am here.
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r--sys/amd64/acpica/acpi_wakecode.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/acpica/acpi_wakecode.S b/sys/amd64/acpica/acpi_wakecode.S
index a877328..c4b0dcd 100644
--- a/sys/amd64/acpica/acpi_wakecode.S
+++ b/sys/amd64/acpica/acpi_wakecode.S
@@ -220,7 +220,6 @@ wakeup_64:
mov %ax, %ds
/* Restore arguments. */
- movq wakeup_cr3 - wakeup_start(%rbx), %rsi
movq wakeup_pcb - wakeup_start(%rbx), %rdi
movq wakeup_ret - wakeup_start(%rbx), %rax
@@ -273,10 +272,6 @@ bootgdtdesc:
.long bootgdt - wakeup_start /* Offset plus %ds << 4 */
ALIGN_DATA
-wakeup_cr4: /* not used */
- .quad 0
-wakeup_cr3:
- .quad 0
wakeup_pcb:
.quad 0
wakeup_ret:
OpenPOWER on IntegriCloud