Skip to content

Commit

Permalink
Revert "UefiCpuPkg: Solve that stack top address is not mapped in pag…
Browse files Browse the repository at this point in the history
…etable"

This reverts commit b1db096.

Commit breaks booting on AMD Zen platforms.

Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: Id86c84dbca13d68bb6c9c28ec170dc6e9f1c9e56
  • Loading branch information
MrChromebox committed Aug 7, 2024
1 parent 371701a commit 94cbae5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ MwaitCheckGeneric:
MwaitLoopGeneric:
cli
mov rax, rsp ; Set Monitor Address
sub eax, 8 ; To ensure the monitor address is in the page table
xor ecx, ecx ; ecx = 0
xor edx, edx ; edx = 0
monitor
Expand Down

0 comments on commit 94cbae5

Please sign in to comment.