At this point all platforms that use OvmfPkg/SmbiosPlatformDxe in edk2, namely ArmVirtQemu.dsc and OvmfPkg*.dsc, have been migrated to SmbiosVersionLib. Therefore SmbiosPlatformDxe itself can forego verifying QEMU's SMBIOS entry point; if SmbiosVersionLib's validation was successful, it should just rely on that. (Note that SmbiosPlatformDxe has a depex on EFI_SMBIOS_PROTOCOL, installed by SmbiosDxe, containing SmbiosVersionLib, therefore the set/get order of PcdQemuSmbiosValidated is ensured.) Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Wei Huang <wei@redhat.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gabriel L. Somlo <somlo@cmu.edu> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18180 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			70 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  This driver installs SMBIOS information for OVMF
 | |
| #
 | |
| #  Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>
 | |
| #  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #  This program and the accompanying materials
 | |
| #  are licensed and made available under the terms and conditions of the BSD License
 | |
| #  which accompanies this distribution. The full text of the license may be found at
 | |
| #  http://opensource.org/licenses/bsd-license.php
 | |
| #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = SmbiosPlatformDxe
 | |
|   FILE_GUID                      = 4110465d-5ff3-4f4b-b580-24ed0d06747a
 | |
|   MODULE_TYPE                    = DXE_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
|   ENTRY_POINT                    = SmbiosTablePublishEntry
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM AARCH64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   SmbiosPlatformDxe.h
 | |
|   SmbiosPlatformDxe.c
 | |
|   Qemu.c
 | |
| 
 | |
| [Sources.IA32, Sources.X64]
 | |
|   X86Xen.c
 | |
| 
 | |
| [Sources.ARM, Sources.AARCH64]
 | |
|   ArmXen.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
|   OvmfPkg/OvmfPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   UefiBootServicesTableLib
 | |
|   BaseMemoryLib
 | |
|   BaseLib
 | |
|   UefiDriverEntryPoint
 | |
|   DebugLib
 | |
|   HobLib
 | |
|   QemuFwCfgLib
 | |
|   MemoryAllocationLib
 | |
|   PcdLib
 | |
| 
 | |
| [Pcd]
 | |
|   gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiSmbiosProtocolGuid                      # PROTOCOL ALWAYS_CONSUMED
 | |
| 
 | |
| [Guids]
 | |
|   gEfiXenInfoGuid
 | |
| 
 | |
| [Depex]
 | |
|   gEfiSmbiosProtocolGuid
 | |
| 
 |