Skip to content

Commit

Permalink
Merge pull request #402 from msft-jlange/tdx_efer
Browse files Browse the repository at this point in the history
boot_stage2: avoid modifying EFER if possible
  • Loading branch information
00xc authored Jul 4, 2024
2 parents ba195a5 + 8a09af0 commit 3e9ac9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/src/boot_stage2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ global_asm!(
movl $0xc0000080, %ecx
rdmsr
bts $8, %eax
jc 2f
wrmsr
2:
/* Load the static page table root. */
movl $pgtable, %eax
Expand Down

0 comments on commit 3e9ac9e

Please sign in to comment.