mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 03:57:26 +00:00 
			
		
		
		
	Add PCDs PcdCpuMicrocodePatchAddress and PcdCpuMicrocodePatchRegionSize that are used to detect microcode patch from microcode region. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18000 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			78 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
## @file  UefiCpuPkg.dec
 | 
						|
# This Package provides UEFI compatible CPU modules and libraries.
 | 
						|
#
 | 
						|
# Copyright (c) 2007 - 2015, 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]
 | 
						|
  DEC_SPECIFICATION              = 0x00010005
 | 
						|
  PACKAGE_NAME                   = UefiCpuPkg
 | 
						|
  PACKAGE_UNI_FILE               = UefiCpuPkg.uni
 | 
						|
  PACKAGE_GUID                   = 2171df9b-0d39-45aa-ac37-2de190010d23
 | 
						|
  PACKAGE_VERSION                = 0.3
 | 
						|
 | 
						|
[Includes]
 | 
						|
  Include
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  ##  @libraryclass  Defines some routines that are generic for IA32 family CPU
 | 
						|
  ##                 to be UEFI specification compliant.
 | 
						|
  ##
 | 
						|
  UefiCpuLib|Include/Library/UefiCpuLib.h
 | 
						|
 | 
						|
[LibraryClasses.IA32, LibraryClasses.X64]
 | 
						|
  ##  @libraryclass  Provides functions to manage MTRR settings on IA32 and X64 CPUs.
 | 
						|
  ##
 | 
						|
  MtrrLib|Include/Library/MtrrLib.h
 | 
						|
 | 
						|
  ##  @libraryclass  Provides functions to manage the Local APIC on IA32 and X64 CPUs.
 | 
						|
  ##
 | 
						|
  LocalApicLib|Include/Library/LocalApicLib.h
 | 
						|
  
 | 
						|
[Guids]
 | 
						|
  gUefiCpuPkgTokenSpaceGuid      = { 0xac05bf33, 0x995a, 0x4ed4, { 0xaa, 0xb8, 0xef, 0x7a, 0xe8, 0xf, 0x5c, 0xb0 }}
 | 
						|
 | 
						|
#
 | 
						|
# [Error.gUefiCpuPkgTokenSpaceGuid]
 | 
						|
#   0x80000001 | Invalid value provided.
 | 
						|
#
 | 
						|
 | 
						|
[PcdsFixedAtBuild, PcdsPatchableInModule]
 | 
						|
  ## This value is the CPU Local Apic base address, which aligns the address on a 4-KByte boundary.
 | 
						|
  # @Prompt Configure base address of CPU Local Apic
 | 
						|
  # @Expression  0x80000001 | (gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress & 0xfff) == 0
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress|0xfee00000|UINT32|0x00000001
 | 
						|
  ## Specifies delay value in microseconds after sending out an INIT IPI.
 | 
						|
  # @Prompt Configure delay value after send an INIT IPI
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds|10000|UINT32|0x30000002
 | 
						|
  ## Specifies max supported number of Logical Processors.
 | 
						|
  # @Prompt Configure max supported number of Logical Processorss
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64|UINT32|0x00000002
 | 
						|
  ## This value specifies the Application Processor (AP) stack size, used for Mp Service, which must
 | 
						|
  ## aligns the address on a 4-KByte boundary.
 | 
						|
  # @Prompt Configure stack size for Application Processor (AP)
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize|0x8000|UINT32|0x00000003
 | 
						|
 | 
						|
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
 | 
						|
  ## Specifies timeout value in microseconds for the BSP to detect all APs for the first time.
 | 
						|
  # @Prompt Timeout for the BSP to detect all APs for the first time.
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000|UINT32|0x00000004
 | 
						|
  ## Specifies the base address of the first microcode Patch in the microcode Region.
 | 
						|
  # @Prompt Microcode Region base address.
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0|UINT64|0x00000005
 | 
						|
  ## Specifies the size of the microcode Region.
 | 
						|
  # @Prompt Microcode Region size.
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x00000006
 | 
						|
 | 
						|
[UserExtensions.TianoCore."ExtraFiles"]
 | 
						|
  UefiCpuPkgExtra.uni
 |