--- /dev/null
+/** @file\r
+\r
+ Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.<BR>\r
+\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
+**/\r
+\r
+#ifndef AML_CPC_INFO_H_\r
+#define AML_CPC_INFO_H_\r
+\r
+#include <IndustryStandard/Acpi.h>\r
+\r
+#pragma pack(1)\r
+\r
+/** A structure that describes the Cpc information.\r
+\r
+ Continuous Performance Control is described in DSDT/SSDT and associated\r
+ to cpus/clusters in the cpu topology.\r
+\r
+ Unsupported Optional registers should be encoded with NULL resource\r
+ Register {(SystemMemory, 0, 0, 0, 0)}\r
+\r
+ For values that support Integer or Buffer, integer will be used\r
+ if buffer is NULL resource.\r
+ If resource is not NULL then Integer must be 0\r
+\r
+ Cf. ACPI 6.4, s8.4.7.1 _CPC (Continuous Performance Control)\r
+\r
+**/\r
+\r
+typedef struct AmlCpcInfo {\r
+ /// The revision number of the _CPC package format.\r
+ UINT32 Revision;\r
+\r
+ /// Indicates the highest level of performance the processor\r
+ /// is theoretically capable of achieving.\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE HighestPerformanceBuffer;\r
+ UINT32 HighestPerformanceInteger;\r
+\r
+ /// Indicates the highest sustained performance level of the processor.\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE NominalPerformanceBuffer;\r
+ UINT32 NominalPerformanceInteger;\r
+\r
+ /// Indicates the lowest performance level of the processor with non-linear power savings.\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestNonlinearPerformanceBuffer;\r
+ UINT32 LowestNonlinearPerformanceInteger;\r
+\r
+ /// Indicates the lowest performance level of the processor..\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestPerformanceBuffer;\r
+ UINT32 LowestPerformanceInteger;\r
+\r
+ /// Guaranteed Performance Register Buffer.\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE GuaranteedPerformanceRegister;\r
+\r
+ /// Desired Performance Register Buffer.\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DesiredPerformanceRegister;\r
+\r
+ /// Minimum Performance Register Buffer.\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE MinimumPerformanceRegister;\r
+\r
+ /// Maximum Performance Register Buffer.\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE MaximumPerformanceRegister;\r
+\r
+ /// Performance Reduction Tolerance Register.\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PerformanceReductionToleranceRegister;\r
+\r
+ /// Time Window Register.\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE TimeWindowRegister;\r
+\r
+ /// Counter Wraparound Time\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CounterWraparoundTimeBuffer;\r
+ UINT32 CounterWraparoundTimeInteger;\r
+\r
+ /// Reference Performance Counter Register\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReferencePerformanceCounterRegister;\r
+\r
+ /// Delivered Performance Counter Register\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DeliveredPerformanceCounterRegister;\r
+\r
+ /// Performance Limited Register\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PerformanceLimitedRegister;\r
+\r
+ /// CPPC EnableRegister\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CPPCEnableRegister;\r
+\r
+ /// Autonomous Selection Enable\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE AutonomousSelectionEnableBuffer;\r
+ UINT32 AutonomousSelectionEnableInteger;\r
+\r
+ /// AutonomousActivity-WindowRegister\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE AutonomousActivityWindowRegister;\r
+\r
+ /// EnergyPerformance-PreferenceRegister\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EnergyPerformancePreferenceRegister;\r
+\r
+ /// Reference Performance\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReferencePerformanceBuffer;\r
+ UINT32 ReferencePerformanceInteger;\r
+\r
+ /// Lowest Frequency\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestFrequencyBuffer;\r
+ UINT32 LowestFrequencyInteger;\r
+\r
+ /// Nominal Frequency\r
+ /// Optional\r
+ EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE NominalFrequencyBuffer;\r
+ UINT32 NominalFrequencyInteger;\r
+} AML_CPC_INFO;\r
+\r
+#pragma pack()\r
+\r
+#endif //AML_CPC_INFO_H_\r
+++ /dev/null
-/** @file\r
-\r
- Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.<BR>\r
-\r
- SPDX-License-Identifier: BSD-2-Clause-Patent\r
-**/\r
-\r
-#ifndef AML_CPC_INFO_H_\r
-#define AML_CPC_INFO_H_\r
-\r
-#include <IndustryStandard/Acpi.h>\r
-\r
-#pragma pack(1)\r
-\r
-/** A structure that describes the Cpc information.\r
-\r
- Continuous Performance Control is described in DSDT/SSDT and associated\r
- to cpus/clusters in the cpu topology.\r
-\r
- Unsupported Optional registers should be encoded with NULL resource\r
- Register {(SystemMemory, 0, 0, 0, 0)}\r
-\r
- For values that support Integer or Buffer, integer will be used\r
- if buffer is NULL resource.\r
- If resource is not NULL then Integer must be 0\r
-\r
- Cf. ACPI 6.4, s8.4.7.1 _CPC (Continuous Performance Control)\r
-\r
-**/\r
-\r
-typedef struct AmlCpcInfo {\r
- /// The revision number of the _CPC package format.\r
- UINT32 Revision;\r
-\r
- /// Indicates the highest level of performance the processor\r
- /// is theoretically capable of achieving.\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE HighestPerformanceBuffer;\r
- UINT32 HighestPerformanceInteger;\r
-\r
- /// Indicates the highest sustained performance level of the processor.\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE NominalPerformanceBuffer;\r
- UINT32 NominalPerformanceInteger;\r
-\r
- /// Indicates the lowest performance level of the processor with non-linear power savings.\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestNonlinearPerformanceBuffer;\r
- UINT32 LowestNonlinearPerformanceInteger;\r
-\r
- /// Indicates the lowest performance level of the processor..\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestPerformanceBuffer;\r
- UINT32 LowestPerformanceInteger;\r
-\r
- /// Guaranteed Performance Register Buffer.\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE GuaranteedPerformanceRegister;\r
-\r
- /// Desired Performance Register Buffer.\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DesiredPerformanceRegister;\r
-\r
- /// Minimum Performance Register Buffer.\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE MinimumPerformanceRegister;\r
-\r
- /// Maximum Performance Register Buffer.\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE MaximumPerformanceRegister;\r
-\r
- /// Performance Reduction Tolerance Register.\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PerformanceReductionToleranceRegister;\r
-\r
- /// Time Window Register.\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE TimeWindowRegister;\r
-\r
- /// Counter Wraparound Time\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CounterWraparoundTimeBuffer;\r
- UINT32 CounterWraparoundTimeInteger;\r
-\r
- /// Reference Performance Counter Register\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReferencePerformanceCounterRegister;\r
-\r
- /// Delivered Performance Counter Register\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DeliveredPerformanceCounterRegister;\r
-\r
- /// Performance Limited Register\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PerformanceLimitedRegister;\r
-\r
- /// CPPC EnableRegister\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CPPCEnableRegister;\r
-\r
- /// Autonomous Selection Enable\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE AutonomousSelectionEnableBuffer;\r
- UINT32 AutonomousSelectionEnableInteger;\r
-\r
- /// AutonomousActivity-WindowRegister\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE AutonomousActivityWindowRegister;\r
-\r
- /// EnergyPerformance-PreferenceRegister\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EnergyPerformancePreferenceRegister;\r
-\r
- /// Reference Performance\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReferencePerformanceBuffer;\r
- UINT32 ReferencePerformanceInteger;\r
-\r
- /// Lowest Frequency\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE LowestFrequencyBuffer;\r
- UINT32 LowestFrequencyInteger;\r
-\r
- /// Nominal Frequency\r
- /// Optional\r
- EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE NominalFrequencyBuffer;\r
- UINT32 NominalFrequencyInteger;\r
-} AML_CPC_INFO;\r
-\r
-#pragma pack()\r
-\r
-#endif //AML_CPC_INFO_H_\r
#ifndef ARM_NAMESPACE_OBJECTS_H_\r
#define ARM_NAMESPACE_OBJECTS_H_\r
\r
-#include <AmlCpcInfo.h>\r
+#include <AcpiObjects.h>\r
#include <StandardNameSpaceObjects.h>\r
\r
#pragma pack(1)\r
@}\r
*/\r
\r
-#include <AmlCpcInfo.h>\r
+#include <AcpiObjects.h>\r
#include <IndustryStandard/Acpi.h>\r
\r
#ifndef AML_HANDLE\r
#include <AcpiTableGenerator.h>\r
\r
#include <AmlCoreInterface.h>\r
-#include <AmlCpcInfo.h>\r
+#include <AcpiObjects.h>\r
#include <AmlEncoding/Aml.h>\r
#include <Api/AmlApiHelper.h>\r
#include <CodeGen/AmlResourceDataCodeGen.h>\r