-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
76 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,6 +188,7 @@ UPROGS=\ | |
$U/_grind\ | ||
$U/_wc\ | ||
$U/_zombie\ | ||
$U/_symlinktest | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#define O_RDONLY 0x000 | ||
#define O_WRONLY 0x001 | ||
#define O_RDWR 0x002 | ||
#define O_CREATE 0x200 | ||
#define O_TRUNC 0x400 | ||
#define O_RDONLY 0x000 | ||
#define O_WRONLY 0x001 | ||
#define O_RDWR 0x002 | ||
#define O_CREATE 0x200 | ||
#define O_TRUNC 0x400 | ||
#define O_NOFOLLOW 0x008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
// System call numbers | ||
#define SYS_fork 1 | ||
#define SYS_exit 2 | ||
#define SYS_wait 3 | ||
#define SYS_pipe 4 | ||
#define SYS_read 5 | ||
#define SYS_kill 6 | ||
#define SYS_exec 7 | ||
#define SYS_fstat 8 | ||
#define SYS_chdir 9 | ||
#define SYS_dup 10 | ||
#define SYS_getpid 11 | ||
#define SYS_sbrk 12 | ||
#define SYS_sleep 13 | ||
#define SYS_uptime 14 | ||
#define SYS_open 15 | ||
#define SYS_write 16 | ||
#define SYS_mknod 17 | ||
#define SYS_unlink 18 | ||
#define SYS_link 19 | ||
#define SYS_mkdir 20 | ||
#define SYS_close 21 | ||
#define SYS_fork 1 | ||
#define SYS_exit 2 | ||
#define SYS_wait 3 | ||
#define SYS_pipe 4 | ||
#define SYS_read 5 | ||
#define SYS_kill 6 | ||
#define SYS_exec 7 | ||
#define SYS_fstat 8 | ||
#define SYS_chdir 9 | ||
#define SYS_dup 10 | ||
#define SYS_getpid 11 | ||
#define SYS_sbrk 12 | ||
#define SYS_sleep 13 | ||
#define SYS_uptime 14 | ||
#define SYS_open 15 | ||
#define SYS_write 16 | ||
#define SYS_mknod 17 | ||
#define SYS_unlink 18 | ||
#define SYS_link 19 | ||
#define SYS_mkdir 20 | ||
#define SYS_close 21 | ||
#define SYS_symlink 22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ sub entry { | |
entry("sbrk"); | ||
entry("sleep"); | ||
entry("uptime"); | ||
entry("symlink"); |