summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-22 09:47:46 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-24 08:17:00 +0000
commit2397bafec5665891a58cc0c7cfb19463f27d1326 (patch)
treeaee2880237e2c72b56833d0d0fee310b120198fa
parentf661b4df3b611b8083b7cb47d9c6d48a3983e870 (diff)
downloadcoreboot-2397bafec5665891a58cc0c7cfb19463f27d1326.tar.xz
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>
-rw-r--r--src/arch/x86/wakeup.S28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/arch/x86/wakeup.S b/src/arch/x86/wakeup.S
index aad72c2d61..ba502fefa5 100644
--- a/src/arch/x86/wakeup.S
+++ b/src/arch/x86/wakeup.S
@@ -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 */