Remove asm code used for payload entry. Use patchable PCD instead a fixed PCD PcdPayloadStackTop to avoid potential conflict. Based on the removal, use same HobLib regardless UNIVERSAL_PAYLOAD. Use same PlatformHookLib regardless UNIVERSAL_PAYLOAD. The original PlatformHookLib was removed and UniversalPayloadPlatformHookLib was rename to new PlatformHookLib. Cc: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Signed-off-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			908 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			908 B
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Coreboot Table Parse Library.
 | 
						|
#
 | 
						|
#  Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
 | 
						|
#  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
#
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION                    = 0x00010005
 | 
						|
  BASE_NAME                      = CbParseLib
 | 
						|
  FILE_GUID                      = 49EDFC9E-5945-4386-9C0B-C9B60CD45BB1
 | 
						|
  MODULE_TYPE                    = BASE
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  LIBRARY_CLASS                  = BlParseLib
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  CbParseLib.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
  UefiPayloadPkg/UefiPayloadPkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  BaseLib
 | 
						|
  BaseMemoryLib
 | 
						|
  IoLib
 | 
						|
  DebugLib
 | 
						|
  PcdLib
 | 
						|
 | 
						|
[Pcd]
 | 
						|
  gUefiPayloadPkgTokenSpaceGuid.PcdBootloaderParameter
 |