mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-11-03 21:17:23 +01:00 
			
		
		
		
	REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076 Add the RISC-V instance of the TimerLib. This is mostly copied from edk2-platforms/Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Daniel Schaefer <git@danielschaefer.me> Cc: Abner Chang <abner.chang@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com> Acked-by: Ray Ni <ray.ni@Intel.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			898 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			898 B
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
# RISC-V Base CPU Timer Library Instance
 | 
						|
#
 | 
						|
#  Copyright (c) 2016 - 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
 | 
						|
#  Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>
 | 
						|
#
 | 
						|
#  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
#
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION                    = 0x0001001B
 | 
						|
  BASE_NAME                      = BaseRisV64CpuTimerLib
 | 
						|
  FILE_GUID                      = B635A600-EA24-4199-88E8-5761EEA96A51
 | 
						|
  MODULE_TYPE                    = BASE
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  LIBRARY_CLASS                  = TimerLib
 | 
						|
  MODULE_UNI_FILE                = BaseRisV64CpuTimerLib.uni
 | 
						|
 | 
						|
[Sources]
 | 
						|
  CpuTimerLib.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  UefiCpuPkg/UefiCpuPkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  BaseLib
 | 
						|
  PcdLib
 | 
						|
  DebugLib
 | 
						|
 | 
						|
[Pcd]
 | 
						|
  gUefiCpuPkgTokenSpaceGuid.PcdCpuCoreCrystalClockFrequency  ## CONSUMES
 |