## @file
#  RISC-V CPU Exception Handler Library
#
#  Copyright (c) 2016 - 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#

[Defines]
  INF_VERSION                    = 0x0001001b
  BASE_NAME                      = CpuExceptionHandlerLib
  MODULE_UNI_FILE                = CpuExceptionHandlerLib.uni
  FILE_GUID                      = 16309FCF-E900-459C-B071-052118394D11
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = CpuExceptionHandlerLib
  CONSTRUCTOR                    = CpuExceptionHandlerLibConstructor

#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = RISCV64
#

[Sources.RISCV64]
  SupervisorTrapHandler.S

[Sources.common]
  CpuExceptionHandlerLib.c
  CpuExceptionHandlerLib.h

[LibraryClasses]
  BaseLib
  DebugLib
  RiscVCpuLib
  UefiBootServicesTableLib

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec

