audk/MdePkg/Include
Jian J Wang 364a54742f MdePkg/BaseLib: Add stack switch related definitions for IA32
The new definitions include two structures

  IA32_TASK_STATE_SEGMENT
  IA32_TSS_DESCRIPTOR

two macros

  IA32_GDT_TYPE_TSS
  IA32_GDT_ALIGNMENT

and one API

  VOID
  EFIAPI
  AsmWriteTr (
    IN UINT16 Selector
    );

They're needed to setup task gate and interrupt stack table for stack switch.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Suggested-by: Ayellet Wolman <ayellet.wolman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>
Reviewed-by: Jiewen.yao@intel.com
2017-12-08 14:38:48 +08:00
..
AArch64 MdePkg: Arm/AArch64 - filter #pragma pack() when __ASSEMBLER__ 2017-12-07 11:31:50 +00:00
Arm MdePkg: Arm/AArch64 - filter #pragma pack() when __ASSEMBLER__ 2017-12-07 11:31:50 +00:00
Ebc MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Guid MdePkg/Btt.h: Add Block Translation Table definitions 2017-11-09 11:09:11 +08:00
Ia32 MdePkg: Disable VS warning 4701 & 4703 for VS2017 2017-11-29 16:03:10 +08:00
IndustryStandard MdePkg/PciExpress21.h: Fix typo in PCI_REG_PCIE_SLOT_CONTROL 2017-11-08 12:46:50 +08:00
Ipf MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Library MdePkg/BaseLib: Add stack switch related definitions for IA32 2017-12-08 14:38:48 +08:00
Pi MdePkg PiFirmwareVolume.h: Add USED_SIZE FV_EXT_TYPE definitions 2017-12-01 09:36:46 +08:00
Ppi MdePkg: Add definition for SecHobData PPI 2017-08-04 08:56:05 +08:00
Protocol MdePkg MmCommunication.h: Follow PI spec to update EFI_MM_COMMUNICATE 2017-12-07 17:40:21 +08:00
Uefi MdePkg: Deprecate EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 2017-11-01 22:25:18 +08:00
X64 MdePkg: Disable VS warning 4701 & 4703 for VS2017 2017-11-29 16:03:10 +08:00
Base.h MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain 2017-07-11 21:36:45 +08:00
PiDxe.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiMm.h MdePkg: Add new definitions for Management Mode. 2017-08-29 09:37:36 +08:00
PiPei.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiSmm.h MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table 2017-07-27 14:08:09 +08:00
Uefi.h Update the copyright notice format 2010-04-23 15:46:20 +00:00