93 IN UINT32 AcpiProcessorUid,
100 CHAR8 AslName[AML_NAME_SEG_SIZE + 1];
103 ASSERT (ParentNode !=
NULL);
106 if (EFI_ERROR (Status)) {
112 if (EFI_ERROR (Status)) {
123 if (EFI_ERROR (Status)) {
134 if (EFI_ERROR (Status)) {
140 if (EtNodePtr !=
NULL) {
170 IN UINT32 AcpiProcessorUid,
179 Status = GetEArmObjEtInfo (
185 if (EFI_ERROR (Status)) {
192 return EFI_UNSUPPORTED;
230 UINT32 GicCInfoCount;
235 ASSERT (CfgMgrProtocol !=
NULL);
236 ASSERT (ScopeNode !=
NULL);
238 Status = GetEArmObjGicCInfo (
244 if (EFI_ERROR (Status)) {
250 for (Index = 0; Index < GicCInfoCount; Index++) {
254 GicCInfo[Index].AcpiProcessorUid,
258 if (EFI_ERROR (Status)) {
267 if (EFI_ERROR (Status)) {
277 GicCInfo[Index].AcpiProcessorUid,
278 GicCInfo[Index].EtToken,
282 if (EFI_ERROR (Status)) {
318 OUT UINT32 *AcpiProcessorUid,
326 Status = GetEArmObjGicCInfo (
332 if (EFI_ERROR (Status)) {
336 if (AcpiProcessorUid !=
NULL) {
340 if (CpcToken !=
NULL) {
344 if (PsdToken !=
NULL) {
381 Status = GetEArmObjGicCInfo (
387 if (EFI_ERROR (Status)) {
401 if (EFI_ERROR (Status)) {
EFI_STATUS EFIAPI AmlCodeGenDevice(IN CONST CHAR8 *NameString, IN AML_NODE_HANDLE ParentNode OPTIONAL, OUT AML_OBJECT_NODE_HANDLE *NewObjectNode OPTIONAL)
EFI_STATUS EFIAPI AmlCodeGenNameString(IN CONST CHAR8 *NameString, IN CONST CHAR8 *String, IN AML_NODE_HANDLE ParentNode OPTIONAL, OUT AML_OBJECT_NODE_HANDLE *NewObjectNode OPTIONAL)
EFI_STATUS EFIAPI AmlCodeGenNameInteger(IN CONST CHAR8 *NameString, IN UINT64 Integer, IN AML_NODE_HANDLE ParentNode OPTIONAL, OUT AML_OBJECT_NODE_HANDLE *NewObjectNode OPTIONAL)
void * AML_OBJECT_NODE_HANDLE
@ ArmEtTypeEte
Embedded Trace Extension.
@ EArmObjEtInfo
23 - Embedded Trace Extension/Module Info
@ EArmObjGicCInfo
2 - GIC CPU Interface Info
EFI_STATUS EFIAPI CreateTopologyFromIntC(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN AML_OBJECT_NODE_HANDLE ScopeNode)
EFI_STATUS EFIAPI GetIntCInfo(IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN CM_OBJECT_TOKEN AcpiIdObjectToken, OUT UINT32 *AcpiProcessorUid, OUT CM_OBJECT_TOKEN *CpcToken, OUT CM_OBJECT_TOKEN *PsdToken)
EFI_STATUS EFIAPI AddArchAmlCpuInfo(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN CM_OBJECT_TOKEN AcpiIdObjectToken, IN UINT32 CpuName, OUT AML_OBJECT_NODE_HANDLE *CpuNode)
STATIC EFI_STATUS EFIAPI CreateAmlEtNode(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN UINT32 AcpiProcessorUid, IN CM_OBJECT_TOKEN EtToken, IN UINT32 CpuName, IN AML_OBJECT_NODE_HANDLE *CpuNode)
STATIC EFI_STATUS EFIAPI CreateAmlEtd(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN AML_NODE_HANDLE ParentNode, IN UINT32 AcpiProcessorUid, IN UINT32 CpuName, OUT AML_OBJECT_NODE_HANDLE *EtNodePtr OPTIONAL)
#define GET_OBJECT_LIST(CmObjectNameSpace, CmObjectId, Type)
@ EObjNameSpaceArm
ARM Objects Namespace.
#define ASSERT_EFI_ERROR(StatusParameter)
EFI_STATUS EFIAPI CreateAmlCpu(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN AML_NODE_HANDLE ParentNode, IN UINT32 AcpiProcessorUid, IN UINT32 CpuName, OUT AML_OBJECT_NODE_HANDLE *CpuNodePtr OPTIONAL)
EFI_STATUS EFIAPI WriteAslName(IN CHAR8 LeadChar, IN UINT32 Value, IN OUT CHAR8 *AslName)
EFI_STATUS EFIAPI CreateAmlCpcNode(IN ACPI_CPU_TOPOLOGY_GENERATOR *Generator, IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL *CONST CfgMgrProtocol, IN CM_OBJECT_TOKEN CpcToken, IN AML_OBJECT_NODE_HANDLE *Node)
#define ACPI_HID_ET_DEVICE
HID for a ETM/ETE device.