projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9edd2
)
x86: Tidy up the 64-bit calling code
author
Simon Glass
<sjg@chromium.org>
Fri, 31 Jul 2015 15:31:30 +0000
(09:31 -0600)
committer
Simon Glass
<sjg@chromium.org>
Wed, 5 Aug 2015 14:42:41 +0000
(08:42 -0600)
The GDT works but technically the length is incorrect. Fix this and add a
comment.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/call64.S
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/call64.S
b/arch/x86/cpu/call64.S
index 74dd5a89dceeb3e55dcb6e7400b154d7b7cf2444..08dc473d6af40e528f574c19f26fae07cb658778 100644
(file)
--- a/
arch/x86/cpu/call64.S
+++ b/
arch/x86/cpu/call64.S
@@
-82,8
+82,8
@@
lret_target:
.data
gdt:
- .word gdt_end - gdt
- .long gdt
+ .word gdt_end - gdt
- 1
+ .long gdt
/* Fixed up by code above */
.word 0
.quad 0x0000000000000000 /* NULL descriptor */
.quad 0x00af9a000000ffff /* __KERNEL_CS */