You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ZCH 1145a3ab45
five
4 years ago
..
.vscode five 4 years ago
include five 4 years ago
.DS_Store 徐涛和张春晖 4 years ago
Makefile five 4 years ago
README five 4 years ago
clone.c five 4 years ago
echo.c five 4 years ago
execve.c five 4 years ago
execve2.c five 4 years ago
getcwd.c five 4 years ago
getdents.c five 4 years ago
mmap.c five 4 years ago
munmap.c five 4 years ago
new.h five 4 years ago
oscomp_syscalls.html five 4 years ago
oscomp_syscalls.md five 4 years ago
pipe.c five 4 years ago
sleep.c five 4 years ago

README

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1.新的系统调用号定义在../include/unistd.h中。

2.为了在Linux 0.11中顺利进行make需要在bochs虚拟机中对硬盘作一些调整如下
cd /bin
mv sh sh.old
ln bash sh

3.编译
编译所有文件:
  make

编译某个文件,如:
  make execve2

4.测试
make test

4.清除中间文件
make clean