Karg  v0.2.0
The kernel of CargOS
reboot.c File Reference
#include <syscall.h>
#include <errno.h>
#include <pm.h>

Enumerations

enum  reboot_type_t { REBOOT_TYPE_REBOOT = 0 , REBOOT_TYPE_SHUTDOWN = 1 , REBOOT_TYPE_HANG = 2 }
 

Functions

isize sys_reboot (const trapframe_t *frame)
 

Enumeration Type Documentation

◆ reboot_type_t

Enumerator
REBOOT_TYPE_REBOOT 
REBOOT_TYPE_SHUTDOWN 
REBOOT_TYPE_HANG 

Function Documentation

◆ sys_reboot()

isize sys_reboot ( const trapframe_t frame)