aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/acpica/acpi_wakecode.S
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-06-13 22:53:56 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-06-13 22:53:56 +0000
commit6ad799103dbb4076a1dc3c4236f85d89d39abe3a (patch)
treef90f07af9dcf9fce8852f9747a65291bae3c4a75 /sys/amd64/acpica/acpi_wakecode.S
parent620216725a3772c20d092e0eacbfd84b7221b838 (diff)
downloadsrc-6ad799103dbb4076a1dc3c4236f85d89d39abe3a.tar.gz
src-6ad799103dbb4076a1dc3c4236f85d89d39abe3a.zip
- Remove unused code for CR3 and CR4.
- Fix few style(9) nits while I am here.
Notes
Notes: svn path=/head/; revision=237037
Diffstat (limited to 'sys/amd64/acpica/acpi_wakecode.S')
-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 a87732819226..c4b0dcdfd502 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: