1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:17:34 +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 */ /* far jump to protected_mode_16_bit in 0x5000 */
pushw $8 pushw $8
push $PROTECTED_MODE_16_BIT_CODE push $PROTECTED_MODE_16_BIT_CODE
retf lret
hlt hlt
.code16 .code16
@ -275,7 +275,7 @@ protected_mode_16_bit:
pushw $0 pushw $0
push $REAL_MODE_CODE push $REAL_MODE_CODE
retf lret
hlt hlt
real_mode: real_mode: