fix merge

This commit is contained in:
angie
2023-09-19 15:32:30 -03:00
parent 09a1d31be0
commit 48fe9d0f46
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
u32 __osSpGetStatus(void);
void __osSpSetStatus(u32 data);
s32 __osSpSetPc(void* pc);
s32 __osSpRawStartDma(s32 direction, void* devAddr, void* dramAddr, size_t size);
s32 __osSpSetPc(u32 pc);
s32 __osSpRawStartDma(s32 direction, u32 devAddr, void* dramAddr, size_t size);
#endif
+1
View File
@@ -36,6 +36,7 @@ void osSpTaskLoad(OSTask* intp) {
tp->t.ucode = IO_READ((uintptr_t)intp->t.yieldDataPtr + OS_YIELD_DATA_SIZE - 4);
}
}
osWritebackDCache(tp, sizeof(OSTask));
__osSpSetStatus(SP_CLR_SIG0 | SP_CLR_SIG1 | SP_CLR_SIG2 | SP_SET_INTR_BREAK);