Procházet zdrojové kódy

fix: Cpu.S compilation error due to multiple declaration

Signed-off-by: Yuin Yee Chew <yuinyee.chew@linux.starfivetech.com>
Yuin Yee Chew před 1 rokem
rodič
revize
e682e6a47c

+ 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
-