2 Star 6 Fork 3

稀风/KOS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
syscall6.c 609 Bytes
一键复制 编辑 原始数据 按行查看 历史
稀风 提交于 2023-03-27 10:37 . 进程等待机制:完善笔记
#include <syscall.h>
#include <task.h>
#include <print.h>
#include <mutex.h>
#include <event.h>
typedef U32 (*SYSCALL_FUNC)();
SYSCALL_FUNC syscall_table[] = {
(SYSCALL_FUNC)SYS_TaskDestory,
(SYSCALL_FUNC)SYS_print,
(SYSCALL_FUNC)SYS_SetCursorPos,
(SYSCALL_FUNC)SYS_MutexCreat,
(SYSCALL_FUNC)SYS_MutexLock,
(SYSCALL_FUNC)SYS_MutexUnLock,
(SYSCALL_FUNC)SYS_MutexDestory,
(SYSCALL_FUNC)SYS_MutexTryLock,
(SYSCALL_FUNC)SYS_EventCreat,
(SYSCALL_FUNC)SYS_WaitEvent,
(SYSCALL_FUNC)SYS_SetEvent,
(SYSCALL_FUNC)SYS_ClearEvent,
(SYSCALL_FUNC)SYS_EventDestory,
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/thin-wind/KOS.git
git@gitee.com:thin-wind/KOS.git
thin-wind
KOS
KOS
main

搜索帮助