xv6-riscv-kernel/user/halt.c

11 lines
142 B
C
Raw Normal View History

2024-08-09 07:58:00 +02:00
#include "user.h"
/** Stops the machine */
int
main(int argc, char *argv[])
{
printf("System powering down...\n");
2024-08-09 07:58:00 +02:00
halt();
return 0;
}