From d0039ee2cf0f8e40d536d4f57fad8d221e152aa8 Mon Sep 17 00:00:00 2001 From: jkim Date: Wed, 13 Jun 2012 22:53:56 +0000 Subject: - Remove unused code for CR3 and CR4. - Fix few style(9) nits while I am here. --- sys/amd64/acpica/acpi_wakecode.S | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/amd64/acpica') 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: -- cgit v1.1