Kernel: Don't mix AT&T and Intel ASM syntax in boot.S

The rest of the file is in AT&T syntax, so for the time being, I'll
switch these instructions to AT&T too to make Clang shut up.
This commit is contained in:
Daniel Bertalan 2021-07-08 13:32:25 +02:00 committed by Andreas Kling
commit ef40de9c6c
Notes: sideshowbarker 2024-07-18 09:04:51 +09:00

View file

@ -260,7 +260,7 @@ exiting_real_mode:
/* far jump to protected_mode_16_bit in 0x5000 */
pushw $8
push $PROTECTED_MODE_16_BIT_CODE
retf
lret
hlt
.code16
@ -275,7 +275,7 @@ protected_mode_16_bit:
pushw $0
push $REAL_MODE_CODE
retf
lret
hlt
real_mode: