diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/c_start.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/c_start.S b/src/arch/x86/c_start.S index b6375b1243..a4a7b28cbb 100644 --- a/src/arch/x86/c_start.S +++ b/src/arch/x86/c_start.S @@ -39,8 +39,9 @@ _start: movl %eax, %ds movl %eax, %es movl %eax, %ss + xor %eax, %eax /* zero out the gs and fs segment index */ movl %eax, %fs - movl %eax, %gs + movl %eax, %gs /* Will be used for cpu_info */ #if ENV_X86_64 mov $RAM_CODE_SEG64, %ecx call SetCodeSelector |