Kernel user link
This is a crate that contains common definitions for the kernel and the user space. And it is implemented in emerald_kernel_user_link crate.
It contains common definitions such as:
syscallnumbers.SyscallResult, andSyscallErrortypes.- some
processrelated arguments:SpawnFileMapping: For mapping files from current process to new process.
filerelated structures and arguments:DirEntry: For directory entries.FileStat: For file stats, such as size, type, etc.BlockingMode: For blocking modes of the operations on files.FileType: For file types.FileMeta: For assigning and getting metadata of files.
clockrelated structures and arguments:ClockType: For specifying the type of the clock to get the time from.RealTime: For getting the real time, which is based on theunix time.SystemTime: For getting the time since the system booted.
ClockTime: Structure holding the time,secondsandnanos.
STDIN,STDOUT,STDERRfile descriptors numbers.