arch/x86/wakeup.S: Use tabs instead of white spaces

Change-Id: I5ada2cd4c27eb34b453210fb86848f20569b8e83
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30379
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
This commit is contained in:
Elyes HAOUAS 2018-12-22 09:47:46 +01:00 committed by Patrick Georgi
parent f661b4df3b
commit 2397bafec5
1 changed files with 14 additions and 14 deletions

View File

@ -29,29 +29,29 @@
.globl __wakeup
__wakeup:
#ifdef __x86_64__
xor %rax,%rax
mov %ss, %ax
push %rax
mov %rsp, %rax
add $8, %rax
push %rax
xor %rax,%rax
mov %ss, %ax
push %rax
mov %rsp, %rax
add $8, %rax
push %rax
pushfq
push $0x10
lea 3(%rip), %rax
push %rax
push $0x10
lea 3(%rip), %rax
push %rax
iretq
.code32
/* disable paging */
mov %cr0, %eax
btc $31, %eax
mov %eax, %cr0
mov %cr0, %eax
btc $31, %eax
mov %eax, %cr0
/* disable long mode */
mov $0xC0000080, %ecx
mov $0xC0000080, %ecx
rdmsr
btc $8, %eax
btc $8, %eax
wrmsr
#endif
/* First prepare the jmp to the resume vector */