f4a0b7aedd
Drop to user-space in kernel/protected build with up_pthread_exit, now all pthread_cleanup functions executed in user mode. * A new syscall SYS_pthread_exit added * A new tcb flag TCB_FLAG_CANCEL_DOING added * up_pthread_exit implemented for riscv/arm arch Signed-off-by: Huang Qi <huangqi3@xiaomi.com> |
||
---|---|---|
.. | ||
configs | ||
include | ||
kernel | ||
scripts | ||
src | ||
Kconfig | ||
README-qemu.txt | ||
README.txt |
README.txt
1. Download and install toolchain https://occ.t-head.cn/community/download 2. Download and install qemu https://occ.t-head.cn/community/download 3. Modify defconfig 4. Configure and build NuttX $ make distclean $ ./tools/configure.sh smartl-c906:nsh $ make -j 5. Run the nuttx by downloading elf to RAM via HW debugger 6. TODO Support FPU Support ELF based file applications Support RISC-V User mode