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