diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-05-23 18:15:13 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-24 00:25:15 +0200 |
commit | 9241dfe7f2772fc73c82eb950afb1c795d2c012c (patch) | |
tree | 6c04350f6b935f54893741a27642dd4eaec9f68e /drivers/firmware/efi/libstub/tpm.c | |
parent | 6e99d3213b10ee18428d6d20715ad6c0e89ead4d (diff) |
efi/x86: Drop the special GDT for the EFI thunk
Instead of using efi_gdt64 to switch back to 64-bit mode and then
switching to the real boot-time GDT, just switch to the boot-time GDT
directly. The two GDT's are identical other than efi_gdt64 not including
the 32-bit code segment.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200523221513.1642948-1-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/tpm.c')
0 files changed, 0 insertions, 0 deletions