DynamicTablesPkg: AcpiSsdtPcieLibArm: Create support library
Add support library to allow for customization of _OSC and slot info. The functions in the library are unchanged, with the exception of adding PciInfo pointer to the APIs. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
9ac155bf0b
commit
19a8768365
@@ -36,29 +36,8 @@
|
||||
// _SB scope of the AML namespace.
|
||||
#define SB_SCOPE "\\_SB_"
|
||||
|
||||
/** C array containing the compiled AML template.
|
||||
This symbol is defined in the auto generated C file
|
||||
containing the AML bytecode array.
|
||||
*/
|
||||
extern CHAR8 ssdtpcieosctemplate_aml_code[];
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
/** Structure used to map integer to an index.
|
||||
*/
|
||||
typedef struct MappingTable {
|
||||
/// Mapping table.
|
||||
/// Contains the Index <-> integer mapping
|
||||
UINT32 *Table;
|
||||
|
||||
/// Last used index of the Table.
|
||||
/// Bound by MaxIndex.
|
||||
UINT32 LastIndex;
|
||||
|
||||
/// Number of entries in the Table.
|
||||
UINT32 MaxIndex;
|
||||
} MAPPING_TABLE;
|
||||
|
||||
/** A structure holding the Pcie generator and additional private data.
|
||||
*/
|
||||
typedef struct AcpiPcieGenerator {
|
||||
|
Reference in New Issue
Block a user