diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2025-09-08 17:32:38 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-09-11 22:32:07 +0300 |
| commit | 4a1dca59f6730da5746597b24c608b001c87486f (patch) | |
| tree | dceca2ec2e286438c2b3d2e2d094d5026e8804fa /BaseTools/Source/Python/Table/Table.py | |
| parent | 6d90162e2803a9627460a0b88548028d46910dba (diff) | |
| download | edk2-4a1dca59f6730da5746597b24c608b001c87486f.tar.xz | |
OvmfPkg/ResetVector: reorganize #vc exit handler setup.
Move setup + teardown of the #vc exception handler to separate
functions. Setup as early as possible (right after entering 32-bit
mode). Teardown as late as possible (right before entering 64-bit
mode).
This makes the cpuid instruction work in all 32-bit code, no matter
what mode (native/TDX/SEV) the code is running in. Specifically
the TDX probe code works properly in SEV mode because the #vc handler
emulates the instruction properly.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/Table.py')
0 files changed, 0 insertions, 0 deletions
