Commit 0bc74ab3 authored by Simon Glass's avatar Simon Glass
Browse files

x86: Tidy up the 64-bit calling code



The GDT works but technically the length is incorrect. Fix this and add a
comment.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 0d9edd2d
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment