This repository has been archived on 2021-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
/* halt.c
|
|
|
|
Simple program to test whether running a user program works.
|
|
|
|
Just invokes a system call that shuts down the OS. */
|
|
|
|
#include <syscall.h>
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
halt ();
|
|
/* not reached */
|
|
}
|