You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
Create library instances of reading Machine mode timer. - MacineModeTimerLib is used to read mtime CSR through platfrom library. - EmulatedMacineModeTimerLib is used to read mtime CSR through shadow CSR. Cc: Sunil V L <sunilvl@ventanamicro.com> Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Signed-off-by: Abner Chang <abner.chang@hpe.com> Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
35 lines
839 B
INI
35 lines
839 B
INI
## @file
|
|
# Library to read Machine Mode Timer.
|
|
#
|
|
# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001b
|
|
BASE_NAME = EmulatedMachineModeTimerLib
|
|
FILE_GUID = 81B82615-D85C-4377-8BFF-7442322E2835
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = MachineModeTimerLib
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = RISCV64
|
|
#
|
|
|
|
[Sources]
|
|
|
|
[Sources.RISCV64]
|
|
EmulatedMachineModeTimerLib.S
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec
|
|
|
|
|
|
|