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:
parent
b847541ee8
commit
ef40de9c6c
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue