Explorar el Código

fix: Cpu.S compilation error due to multiple declaration

Signed-off-by: Yuin Yee Chew <yuinyee.chew@linux.starfivetech.com>
Yuin Yee Chew hace 1 año
padre
commit
e682e6a47c
Se han modificado 1 ficheros con 0 adiciones y 9 borrados
  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
-