1
0
Fork 0
forked from AbleOS/ableos
ableos_time/kernel/src/syscalls.rs

27 lines
449 B
Rust
Raw Normal View History

//!
use crate::proccess::{Signals, PID};
2022-04-11 17:23:11 -05:00
/// All possible system calls
pub enum Syscall {
/// Create a new process and return its PID
CreateProcess,
2022-04-11 17:23:11 -05:00
/// Send a signal to a process
SendSignal(PID, Signals),
/// Get the current process ID
GetPID,
2022-04-11 17:23:11 -05:00
/// Get the current time
GetTime,
2022-04-11 17:23:11 -05:00
/// Set the time
SetTime,
2022-04-11 17:23:11 -05:00
// ListInodes,
// CreateInode,
// RemoveInode,
// OpenInode,
// CloseInode,
}