Skip to content

Commit

Permalink
Merge pull request #439 from roy-hopkins/fix_stage1
Browse files Browse the repository at this point in the history
stage1: Fix boot issue where %esi was wrong on stage2 entry
  • Loading branch information
joergroedel authored Aug 16, 2024
2 parents 6103334 + 5223a55 commit def188b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stage1/stage1.S
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ startup_32:
/* Reserve space for VTOM */
pushl %eax
pushl %eax

/* Clear ESI to inform stage 2 that this is the BSP */
xorl %esi, %esi
#else
/*
* Stage 2 launch info has been prepared
Expand Down

0 comments on commit def188b

Please sign in to comment.