Get AcpiTables and SmbiosPlatformDxe to compile

This freezes device when registering tables because of invalid addresses
This commit is contained in:
Zhuowei Zhang 2019-02-23 20:33:25 -08:00
parent 5ec95839cb
commit 3448f2f889
5 changed files with 12 additions and 7 deletions

View File

@ -16,15 +16,15 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = JunoAcpiTables
FILE_GUID = a1dd808e-1e95-4399-abc0-653c82e8530c
BASE_NAME = Pixel3XLAcpiTables
FILE_GUID = BA2168C2-F177-4A28-B3A6-AF973C40D7E5
MODULE_TYPE = USER_DEFINED
VERSION_STRING = 1.0
[Sources]
Dsdt.asl
Dbg2.aslc
Spcr.aslc
#Spcr.aslc
Fadt.aslc
Gtdt.aslc
Madt.aslc
@ -36,7 +36,7 @@
EmbeddedPkg/EmbeddedPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
Platform/ARM/JunoPkg/ArmJuno.dec
Pixel3XL/Pixel3XL.dec
[FixedPcd]
gArmPlatformTokenSpaceGuid.PcdCoreCount

View File

@ -90,6 +90,7 @@
0, // Flags
},
{
#if 0
// Format: EFI_ACPI_5_1_GICC_STRUCTURE_INIT(GicId, AcpiCpuUid, Flags, PmuIrq, GicBase, GicVBase, GicHBase,
// GsivId, GicRBase, Mpidr)
// Note: The GIC Structure of the primary CPU must be the first entry (see note in 5.2.12.14 GICC Structure of
@ -117,6 +118,7 @@
EFI_ACPI_5_1_GICC_STRUCTURE_INIT( // A57-1
1, 5, GET_MPID(0, 1), EFI_ACPI_5_0_GIC_ENABLED, 38, FixedPcdGet64 (PcdGicInterruptInterfaceBase),
0x2C06F000, 0x2C04F000, 25, 0 /* GicRBase */),
#endif
},
EFI_ACPI_6_0_GIC_DISTRIBUTOR_INIT(0, FixedPcdGet64 (PcdGicDistributorBase), 0, 2),
// Format: EFI_ACPI_6_0_GIC_MSI_FRAME_INIT(GicMsiFrameId, PhysicalBaseAddress, Flags, SPICount, SPIBase)

View File

@ -17,7 +17,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = SmbiosPlatformDxe
FILE_GUID = 4110465d-5ff3-4f4b-b580-24ed0d06747a
FILE_GUID = B736DF5D-59ED-48C0-AC10-1EEE228D085B
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
@ -37,7 +37,7 @@
ArmPlatformPkg/ArmPlatformPkg.dec
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
Platform/ARM/JunoPkg/ArmJuno.dec
Pixel3XL/Pixel3XL.dec
[LibraryClasses]
ArmLib

View File

@ -25,6 +25,9 @@
# BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
#
################################################################################
[Includes.common]
Include # Root include for the package
[Guids.common]
gPixel3XLTokenSpaceGuid = { 0x99a14446, 0xaad7, 0xe460, {0xb4, 0xe5, 0x1f, 0x79, 0xaa, 0xa4, 0x93, 0xfd } }

View File

@ -194,7 +194,7 @@ READ_LOCK_STATUS = TRUE
#
# SMBIOS Support
#
INF Pixel3XL/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
INF Pixel3XL/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
#