summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Include
diff options
context:
space:
mode:
authorOlivier Martin <Olivier.Martin@arm.com>2015-05-27 15:07:01 +0000
committeroliviermartin <oliviermartin@Edk2>2015-05-27 15:07:01 +0000
commitb71bd28a26e6422ea3b8a4e454cfbd4175ccaafa (patch)
tree28762137d75f3970180dcc18b6c4e090ef74ab19 /EmbeddedPkg/Include
parente0ae276139a24baea95f6fc2f97892263d0e0443 (diff)
downloadedk2-platforms-b71bd28a26e6422ea3b8a4e454cfbd4175ccaafa.tar.xz
EmbeddedPkg/AcpiLib.h: Introduced EFI_ACPI_6_0_GIC_MSI_FRAME_INIT()
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <Olivier.Martin@arm.com> Reviewed-by: Ronald Cron <Ronald.Cron@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17523 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Include')
-rw-r--r--EmbeddedPkg/Include/Library/AcpiLib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/EmbeddedPkg/Include/Library/AcpiLib.h b/EmbeddedPkg/Include/Library/AcpiLib.h
index 9fa9c5102d..b0cde9aed4 100644
--- a/EmbeddedPkg/Include/Library/AcpiLib.h
+++ b/EmbeddedPkg/Include/Library/AcpiLib.h
@@ -52,6 +52,12 @@
GsivId, GicRBase, Mpidr \
}
+#define EFI_ACPI_6_0_GIC_MSI_FRAME_INIT(GicMsiFrameId, PhysicalBaseAddress, Flags, SPICount, SPIBase) \
+ { \
+ EFI_ACPI_6_0_GIC_MSI_FRAME, sizeof (EFI_ACPI_6_0_GIC_MSI_FRAME_STRUCTURE), EFI_ACPI_RESERVED_WORD, \
+ GicMsiFrameId, PhysicalBaseAddress, Flags, SPICount, SPIBase \
+ }
+
//
// SBSA Generic Watchdog
//