UefiCpuPkg: Add CpuTimerDxeRiscV64 module
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076 This DXE module initializes the timer interrupt handler and installs the Arch Timer protocol. 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: 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>
This commit is contained in:
51
UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
Normal file
51
UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
Normal file
@@ -0,0 +1,51 @@
|
||||
## @file
|
||||
# Timer Arch protocol module
|
||||
#
|
||||
# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x0001001b
|
||||
BASE_NAME = CpuTimerDxeRiscV64
|
||||
MODULE_UNI_FILE = CpuTimerDxeRiscV64.uni
|
||||
FILE_GUID = 055DDAC6-9142-4013-BF20-FC2E5BC325C9
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = TimerDriverInitialize
|
||||
#
|
||||
# The following information is for reference only and not required by the build
|
||||
# tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = RISCV64
|
||||
#
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
UefiCpuPkg/UefiCpuPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
DebugLib
|
||||
IoLib
|
||||
CpuLib
|
||||
UefiBootServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
|
||||
[LibraryClasses.RISCV64]
|
||||
RiscVSbiLib
|
||||
|
||||
[Sources.RISCV64]
|
||||
Timer.h
|
||||
Timer.c
|
||||
|
||||
[Protocols]
|
||||
gEfiCpuArchProtocolGuid ## CONSUMES
|
||||
gEfiTimerArchProtocolGuid ## PRODUCES
|
||||
|
||||
[Depex]
|
||||
gEfiCpuArchProtocolGuid
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
CpuTimerDxeRiscV64Extra.uni
|
Reference in New Issue
Block a user