From c5b07ebfa6c5dcf57ed293908272a47899b2155a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 8 Dec 2023 16:16:05 +0100 Subject: [PATCH] fix(AP Boot): remove `nop`s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/arch/x86_64/kernel/boot.s | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/arch/x86_64/kernel/boot.s b/src/arch/x86_64/kernel/boot.s index 29d53b010b..013526b958 100644 --- a/src/arch/x86_64/kernel/boot.s +++ b/src/arch/x86_64/kernel/boot.s @@ -21,11 +21,6 @@ _start: jmp _rmstart - # Fill padding with `nop` to generate exact same binary as NASM - .rept 5 - nop - .endr - # PARAMETERS .align 8 entry_point: .8byte 0xDEADC0DE @@ -49,11 +44,6 @@ _rmstart: ljmpl $codesel, $_pmstart .intel_syntax noprefix - # Fill padding with `nop` to generate exact same binary as NASM - .rept 2 - nop - .endr - .code32 .align 4 _pmstart: @@ -158,11 +148,6 @@ stublet: ljmpl $GDT64.Code, $start64 .intel_syntax noprefix - # Fill padding with `nop` to generate exact same binary as NASM - .rept 1 - nop - .endr - .code64 .align 8 start64: