diff options
Diffstat (limited to 'pintos-progos/examples/halt.c')
| -rw-r--r-- | pintos-progos/examples/halt.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pintos-progos/examples/halt.c b/pintos-progos/examples/halt.c deleted file mode 100644 index bad7250..0000000 --- a/pintos-progos/examples/halt.c +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | /* halt.c | ||
| 2 | |||
| 3 | Simple program to test whether running a user program works. | ||
| 4 | |||
| 5 | Just invokes a system call that shuts down the OS. */ | ||
| 6 | |||
| 7 | #include <syscall.h> | ||
| 8 | |||
| 9 | int | ||
| 10 | main (void) | ||
| 11 | { | ||
| 12 | halt (); | ||
| 13 | /* not reached */ | ||
| 14 | } | ||
