Skip to content

Commit c50d9b8

Browse files
committed
update ch0-2
1 parent a36d739 commit c50d9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/chapter0/2os-interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@ API与ABI
196196
ret
197197
}
198198
199-
这里我们看到,API中的各个参数和返回值分别被RISC-V通用寄存器 `x17` (即存放系统调用号,也保存返回值)、 `x10` (存放 `fd` ) 、 `x11` (存放 `buf` )和 `x12` (存放 `len` )保存。
199+
这里我们看到,API中的各个参数和返回值分别被RISC-V通用寄存器 `x17` (即存放系统调用号)、 `x10` (存放 `fd` ,也保存返回值) 、 `x11` (存放 `buf` )和 `x12` (存放 `len` )保存。

0 commit comments

Comments
 (0)