mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 b097ba371a
			
		
	
	
		b097ba371a
		
	
	
	
	
		
			
			On UEFI systems, the SMBIOS entry point (a.k.a. anchor) structures are found similarly to the ACPI RSD PTR table(s): by scanning the ConfigurationTable array in the EFI system table for well-known GUIDs. Locate the SMBIOS 2.1 (32-bit) and 3.0 (64-bit) anchors in the BiosTablesTest UEFI application, and report the addresses in new fields appended to the BIOS_TABLES_TEST structure. Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Launchpad: https://bugs.launchpad.net/qemu/+bug/1821884 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| # Populate the BIOS_TABLES_TEST structure.
 | |
| #
 | |
| # Copyright (C) 2019, Red Hat, Inc.
 | |
| #
 | |
| # This program and the accompanying materials are licensed and made available
 | |
| # under the terms and conditions of the BSD License that 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                = 1.27
 | |
|   BASE_NAME                  = BiosTablesTest
 | |
|   UEFI_SPECIFICATION_VERSION = 2.31
 | |
|   FILE_GUID                  = 87f00433-3b7c-45c3-ae78-a56495bd4e62
 | |
|   MODULE_TYPE                = UEFI_APPLICATION
 | |
|   ENTRY_POINT                = BiosTablesTestMain
 | |
| 
 | |
| [Sources]
 | |
|   BiosTablesTest.c
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   BaseMemoryLib
 | |
|   MemoryAllocationLib
 | |
|   UefiApplicationEntryPoint
 | |
|   UefiBootServicesTableLib
 | |
|   UefiLib
 | |
| 
 | |
| [Guids]
 | |
|   gBiosTablesTestGuid
 | |
|   gEfiAcpi10TableGuid
 | |
|   gEfiAcpi20TableGuid
 | |
|   gEfiSmbios3TableGuid
 | |
|   gEfiSmbiosTableGuid
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   UefiTestToolsPkg/UefiTestToolsPkg.dec
 |