Browse Source

fix: Cpu.S compilation error due to multiple declaration

Signed-off-by: Yuin Yee Chew <yuinyee.chew@linux.starfivetech.com>
Yuin Yee Chew 1 year ago
parent
commit
e682e6a47c
1 changed files with 0 additions and 9 deletions
  1. 0 9
      Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/Cpu.S

+ 0 - 9
Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/Cpu.S

@@ -132,12 +132,3 @@ ASM_FUNC (RiscVSetSupervisorStvec)
 ASM_FUNC (RiscVGetSupervisorStvec)
     csrr a0, RISCV_CSR_SUPERVISOR_STVEC
     ret
-
-//
-// Set Supervisor Address Translation and
-// Protection Register.
-//
-ASM_FUNC (RiscVSetSupervisorAddressTranslationRegister)
-    csrw  RISCV_CSR_SUPERVISOR_SATP, a0
-    ret
-