In the next patches, we'll differentiate the PMBA IO port address that we program on PIIX4 vs. Q35. Normally we'd just turn PcdAcpiPmBaseAddress into a dynamic PCD. However, because we need this value in BaseRomAcpiTimerLib too (which cannot access RAM and dynamic PCDs), it must remain a build time constant. We will introduce its Q35 counterpart later. As first step, replace the PCD with a new macro in "OvmfPlatforms.h"; Jordan prefers the latter to fixed PCDs in this instance. Cc: Gabriel Somlo <somlo@cmu.edu> Cc: Jordan Justen <jordan.l.justen@intel.com> Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1333238 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Gabriel Somlo <somlo@cmu.edu>
		
			
				
	
	
		
			37 lines
		
	
	
		
			998 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			998 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  BaseRom ACPI Timer Library Instance.
 | |
| #
 | |
| #  Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.
 | |
| #
 | |
| #  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      = BaseRomAcpiTimerLib
 | |
|   FILE_GUID      = CDD9D74F-213E-4c28-98F7-8B4A167DB936
 | |
|   MODULE_TYPE    = BASE
 | |
|   VERSION_STRING = 1.0
 | |
|   LIBRARY_CLASS  = TimerLib|SEC
 | |
|   CONSTRUCTOR    = AcpiTimerLibConstructor
 | |
| 
 | |
| [Sources]
 | |
|   AcpiTimerLib.c
 | |
|   BaseRomAcpiTimerLib.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   OvmfPkg/OvmfPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   PciLib
 | |
|   IoLib
 |