Skip to content

Commit

Permalink
docs(Lab4): add instructions hints on IPC
Browse files Browse the repository at this point in the history
Signed-off-by: Yiyang Wu <[email protected]>
  • Loading branch information
ToolmanP committed Dec 12, 2024
1 parent 4af5b0d commit b78cbbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Pages/Lab4/IPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ ChCore的IPC接口不是传统的send/recv接口。其更像客户端/服务器
> [!CODING] 练习题 7
> `user/chcore-libc/musl-libc/src/chcore-port/ipc.c与kernel/ipc/connection.c`中实现了大多数IPC相关的代码,请根据注释补全`kernel/ipc/connection.c`中的代码。之后运行ChCore可以看到 “[TEST] Test IPC finished!” 输出,你可以通过 Test IPC 测试点。
> [!WARNING]
> 由于用户文件系统管理器(FSM) 与 服务管理器 (Procmgr) 需要通过IPC来进行数据传输,故如果IPC链路实现错误则无法运行`test_ipc.bin`以及`Chcore_Shell`
> [!HINT]
> 由于你已经在Lab3中了解到Printf的实现是系统调用并不经过IPC,所以你可以在所有的暴露代码(IPC链路上)中插入Printf/Printk指令进行Debug打印。
---

> [!SUCCESS]
Expand Down

0 comments on commit b78cbbf

Please sign in to comment.