fit musl for riscv64 boards.

This commit is contained in:
TXuian
2022-07-27 05:35:56 -07:00
parent 214cf55603
commit cb4a9d03e0
124 changed files with 768 additions and 1260 deletions
@@ -156,14 +156,12 @@ uint8 KTaskStackSetup(struct TaskDescriptor *task)
}
#else
StackContex->ExErrorStackContex.lr = (unsigned long)KTaskQuit;
KPrintf("DEBUG: ExErrorStackContex.lr set KTaskQuit..\n");
#endif
#if USE_FPU
StackContex->flag = 0;
#endif
KPrintf("DEBUG: KTaskStackSetup end, task: %i.\n", task->id.id);
return EOK;
}
@@ -20,7 +20,7 @@ Author: AIIT XUOS Lab
*************************************************/
#include "board.h"
#include <atomic.h>
#include <bsp_atomic.h>
#include <clint.h>
#include <encoding.h>
#include <xs_spinlock.h>