Skip to content

Commit 09cd17b

Browse files
vlsunilmergify[bot]
authored andcommitted
ArmVirtPkg/PlatformHasAcpiDtDxe: Move to OvmfPkg
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076 This module is required by other architectures like RISC-V. Hence, move this to OvmfPkg. Cc: Ard Biesheuvel <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Jordan Justen <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Sunil V L <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Reviewed-by: Andrei Warkentin <[email protected]>
1 parent a7dec79 commit 09cd17b

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

ArmVirtPkg/ArmVirtPkg.dec

-9
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
gEarly16550UartBaseAddressGuid = { 0xea67ca3e, 0x1f54, 0x436b, { 0x97, 0x88, 0xd4, 0xeb, 0x29, 0xc3, 0x42, 0x67 } }
3535
gArmVirtSystemMemorySizeGuid = { 0x504eccb9, 0x1bf0, 0x4420, { 0x86, 0x5d, 0xdc, 0x66, 0x06, 0xd4, 0x13, 0xbf } }
3636

37-
gArmVirtVariableGuid = { 0x50bea1e5, 0xa2c5, 0x46e9, { 0x9b, 0x3a, 0x59, 0x59, 0x65, 0x16, 0xb0, 0x0a } }
38-
3937
[PcdsFeatureFlag]
4038
#
4139
# Feature Flag PCD that defines whether TPM2 support is enabled
@@ -69,10 +67,3 @@
6967
# Cloud Hypervisor has no other way to pass Rsdp address to the guest except use a PCD.
7068
#
7169
gArmVirtTokenSpaceGuid.PcdCloudHvAcpiRsdpBaseAddress|0x0|UINT64|0x00000005
72-
73-
[PcdsDynamic]
74-
#
75-
# Whether to force disable ACPI, regardless of the fw_cfg settings
76-
# exposed by QEMU
77-
#
78-
gArmVirtTokenSpaceGuid.PcdForceNoAcpi|0x0|BOOLEAN|0x00000003

OvmfPkg/OvmfPkg.dec

+7
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
gVMMBootOrderGuid = {0x668f4529, 0x63d0, 0x4bb5, {0xb6, 0x5d, 0x6f, 0xbb, 0x9d, 0x36, 0xa4, 0x4a}}
162162
gUefiOvmfPkgTdxAcpiHobGuid = {0x6a0c5870, 0xd4ed, 0x44f4, {0xa1, 0x35, 0xdd, 0x23, 0x8b, 0x6f, 0x0c, 0x8d}}
163163
gEfiNonCcFvGuid = {0xae047c6d, 0xbce9, 0x426c, {0xae, 0x03, 0xa6, 0x8e, 0x3b, 0x8a, 0x04, 0x88}}
164+
gOvmfVariableGuid = {0x50bea1e5, 0xa2c5, 0x46e9, {0x9b, 0x3a, 0x59, 0x59, 0x65, 0x16, 0xb0, 0x0a}}
164165

165166
[Ppis]
166167
# PPI whose presence in the PPI database signals that the TPM base address
@@ -467,6 +468,12 @@
467468
# 2 - set by GOP Driver.
468469
gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0|UINT8|0x64
469470

471+
#
472+
# Whether to force disable ACPI, regardless of the fw_cfg settings
473+
# exposed by QEMU
474+
#
475+
gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|0x0|BOOLEAN|0x69
476+
470477
[PcdsFeatureFlag]
471478
gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE|BOOLEAN|0x1c
472479
gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|FALSE|BOOLEAN|0x1d

ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf OvmfPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
PlatformHasAcpiDtDxe.c
2020

2121
[Packages]
22-
ArmVirtPkg/ArmVirtPkg.dec
2322
EmbeddedPkg/EmbeddedPkg.dec
2423
MdeModulePkg/MdeModulePkg.dec
2524
MdePkg/MdePkg.dec
@@ -38,7 +37,7 @@
3837
gEdkiiPlatformHasDeviceTreeGuid ## SOMETIMES_PRODUCES ## PROTOCOL
3938

4039
[Pcd]
41-
gArmVirtTokenSpaceGuid.PcdForceNoAcpi
40+
gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi
4241

4342
[Depex]
4443
gEfiVariableArchProtocolGuid

0 commit comments

Comments
 (0)