Skip to content

Commit

Permalink
Merge pull request #1001 from mkroening/smp-nop
Browse files Browse the repository at this point in the history
fix(AP Boot): remove `nop`s
  • Loading branch information
mkroening authored Dec 8, 2023
2 parents e28ff39 + c5b07eb commit 1a89693
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 1a89693

Please sign in to comment.