Add RHSA (remapping hardware static Affinity) structure definition according to VT-d spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9271 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
htao 2009-09-16 09:44:55 +00:00
parent 533403e696
commit af2cfce391
1 changed files with 12 additions and 0 deletions

View File

@ -46,6 +46,7 @@ Abstract:
#define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_DRHD 0 #define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_DRHD 0
#define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_RMRR 1 #define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_RMRR 1
#define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_ATSR 2 #define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_ATSR 2
#define EFI_ACPI_DMA_REMAPPING_STRUCTURE_TYPE_RHSA 3
// //
// Definition for DMA Remapping Structure Header // Definition for DMA Remapping Structure Header
@ -117,6 +118,17 @@ typedef struct {
UINT16 SegmentNumber; UINT16 SegmentNumber;
} EFI_ACPI_DMAR_ROOT_PORT_ATS_CAPABILITY_REPORTING_STRUCTURE; } EFI_ACPI_DMAR_ROOT_PORT_ATS_CAPABILITY_REPORTING_STRUCTURE;
//
// Definition for Remapping Hardware Static Affinity(RHSA) Structure
//
typedef struct {
UINT16 Type;
UINT16 Length;
UINT32 Reserved;
UINT64 RegisterBaseAddress;
UINT32 ProximityDomain;
} EFI_ACPI_DMAR_REMAPPING_HARDWARE_STATIC_AFFINITY_STRUCTURE;
// //
// Definition for DMA Remapping Structure // Definition for DMA Remapping Structure
// //