From ef40de9c6c475cde9ce6a74ebc0cd9a6594f4cb3 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Thu, 8 Jul 2021 13:32:25 +0200 Subject: 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. --- Kernel/Arch/x86/common/Boot/boot.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Arch/x86/common/Boot/boot.S b/Kernel/Arch/x86/common/Boot/boot.S index c5e6f81081..011e7f05d9 100644 --- a/Kernel/Arch/x86/common/Boot/boot.S +++ b/Kernel/Arch/x86/common/Boot/boot.S @@ -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: -- cgit v1.2.3