Really fixed...?
This commit is contained in:
@@ -155,13 +155,6 @@ namespace JabyEngine {
|
||||
__syscall_function_cast(Table_A, void(*)())();
|
||||
}
|
||||
|
||||
static __always_inline void SetDefaultExceptionJmpBuf() {
|
||||
register uint32_t FuncID asm("t1") = 0x18;
|
||||
__asm__ volatile("" : "=r"(FuncID) : "r"(FuncID));
|
||||
|
||||
__syscall_function_cast(Table_B, void(*)())();
|
||||
}
|
||||
|
||||
static __always_inline void* memcpy(void *dst, const void *src, size_t len) {
|
||||
register uint32_t FuncID asm("t1") = 0x2A;
|
||||
__asm__ volatile("" : "=r"(FuncID) : "r"(FuncID));
|
||||
@@ -176,8 +169,7 @@ namespace JabyEngine {
|
||||
return __syscall_function_cast(Table_B, ThreadHandle(*)(void(*)(), uint32_t*, uint32_t*))(thread_func, stack_ptr, gp);
|
||||
}
|
||||
|
||||
// No return??????
|
||||
static __always_inline void ChangeThread(ThreadHandle handle) {
|
||||
static __always_inline void [[noreturn]] ChangeThread(ThreadHandle handle) {
|
||||
register uint32_t FuncID asm("t1") = 0x10;
|
||||
__asm__ volatile("" : "=r"(FuncID) : "r"(FuncID));
|
||||
|
||||
@@ -219,6 +211,13 @@ namespace JabyEngine {
|
||||
__syscall_function_cast(Table_B, void(*)())();
|
||||
}
|
||||
|
||||
static __always_inline void SetDefaultExitFromException() {
|
||||
register uint32_t FuncID asm("t1") = 0x18;
|
||||
__asm__ volatile("" : "=r"(FuncID) : "r"(FuncID));
|
||||
|
||||
__syscall_function_cast(Table_B, void(*)())();
|
||||
}
|
||||
|
||||
static __always_inline int SysEnqIntRP(Priority prio, InterruptCallback* interElm) {
|
||||
register uint32_t FuncID asm("t1") = 0x02;
|
||||
__asm__ volatile("" : "=r"(FuncID) : "r"(FuncID));
|
||||
|
Reference in New Issue
Block a user