mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	 34e3bd44ff
			
		
	
	34e3bd44ff
	
	
	
		
			
			Implement a support library for SMBIOS-related SMC calls. Currently this implements a function to return the SoC ID. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
		
			
				
	
	
		
			71 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ## @file
 | |
| #  Dsc file for Dynamic Tables Framework.
 | |
| #
 | |
| #  Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>
 | |
| #  Copyright (c) 2019 - 2022, Arm Limited. All rights reserved.<BR>
 | |
| #  Copyright (C) 2024 - 2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   PLATFORM_NAME                  = DynamicTables
 | |
|   PLATFORM_GUID                  = f39096a0-7a0a-442a-9413-cf584ef80cbb
 | |
|   PLATFORM_VERSION               = 0.1
 | |
|   DSC_SPECIFICATION              = 0x0001001a
 | |
|   OUTPUT_DIRECTORY               = Build/DynamicTables
 | |
|   SUPPORTED_ARCHITECTURES        = AARCH64|X64
 | |
|   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
 | |
|   SKUID_IDENTIFIER               = DEFAULT
 | |
| 
 | |
| !include DynamicTables.dsc.inc
 | |
| 
 | |
| !include MdePkg/MdeLibs.dsc.inc
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
 | |
|   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
 | |
|   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 | |
|   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
 | |
|   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | |
|   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
 | |
|   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
 | |
|   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
 | |
|   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
 | |
|   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
 | |
|   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
 | |
|   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
 | |
| 
 | |
| [LibraryClasses.AARCH64]
 | |
|   PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
 | |
| 
 | |
| [Components.common]
 | |
|   DynamicTablesPkg/Library/Common/AcpiHelperLib/AcpiHelperLib.inf
 | |
|   DynamicTablesPkg/Library/Common/AmlLib/AmlLib.inf
 | |
|   DynamicTablesPkg/Library/Common/CmObjHelperLib/CmObjHelperLib.inf
 | |
|   DynamicTablesPkg/Library/Common/SsdtPcieSupportLib/SsdtPcieSupportLib.inf
 | |
|   DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.inf
 | |
|   DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf
 | |
|   DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/DynamicPlatRepoLib.inf
 | |
|   DynamicTablesPkg/Library/Common/SmbiosStringTableLib/SmbiosStringTableLib.inf
 | |
|   DynamicTablesPkg/Library/Common/MetadataObjLib/MetadataObjLib.inf
 | |
|   DynamicTablesPkg/Library/Common/MetadataHandlerLib/MetadataHandlerLib.inf
 | |
|   DynamicTablesPkg/Library/Common/Tpm2DeviceTableLib/Tpm2DeviceTableLib.inf
 | |
| 
 | |
| [Components.AARCH64]
 | |
|   DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserLib.inf
 | |
|   DynamicTablesPkg/Library/Smbios/Arm/SmbiosSmcLib/SmbiosSmcLib.inf
 | |
| 
 | |
| [Components.AARCH64]
 | |
|   DynamicTablesPkg/Library/DynamicTablesScmiInfoLib/DynamicTablesScmiInfoLib.inf
 | |
| 
 | |
| [BuildOptions]
 | |
|   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
 | |
| 
 | |
| !ifdef STATIC_ANALYSIS
 | |
|   # Check all rules
 | |
|   # Inhibit C6305: Potential mismatch between sizeof and countof quantities.
 | |
|   *_VS2017_*_CC_FLAGS = /wd6305 /analyze
 | |
| !endif
 |