Skip to content

Commit

Permalink
fix(AP Boot): remove nops
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Dec 8, 2023
1 parent e28ff39 commit c5b07eb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/arch/x86_64/kernel/boot.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c5b07eb

Please sign in to comment.