1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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
parent b847541ee8
commit ef40de9c6c

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: