feat(PowerManagement/lightsleep): Define and export a strong symbol of rv_core_critical_regs_restore

pull/12384/head
Lou Tianhao 2023-07-06 15:58:04 +08:00
rodzic fc4f091e7a
commit 34f8f1bb2c
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -166,9 +166,16 @@ wait_sync_done:
.section .iram1,"ax"
.global rv_core_critical_regs_restore
.weak rv_core_critical_regs_restore
.type rv_core_critical_regs_restore,@function
.global _rv_core_critical_regs_restore
.type _rv_core_critical_regs_restore,@function
.align 4
_rv_core_critical_regs_restore: /* export a strong symbol to jump to here, used
* for a static callback */
nop
rv_core_critical_regs_restore:
la t0, rv_core_critical_regs_frame