mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +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
Notes:
sideshowbarker
2024-07-18 09:04:51 +09:00
Author: https://github.com/BertalanD
Commit: ef40de9c6c
Pull-request: https://github.com/SerenityOS/serenity/pull/8696
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/networkException
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