Go to the documentation of this file.
18 #include <FreeNOS/System.h>
19 #include <FreeNOS/ProcessManager.h>
Represents a process which may run on the host.
Result
Enumeration of generic kernel API result codes.
unsigned long Address
A memory address.
void param(Terminal *term, int key, int value)
Set terminal parameters.
ProcessManager * getProcessManager()
Get process manager.
#define FATAL(msg)
Output a critical message and terminate program immediatly.
#define DEBUG(msg)
Output a debug message to standard output.
#define cpu_reboot()
Reboot the system.
static Kernel * instance()
Retrieve the instance.
#define assert(exp)
Insert program diagnostics.
API::Result PrivExecHandler(const PrivOperation op, const Address param)
Prototype for kernel handler.
PrivOperation
Available operations to perform using PrivExec().
Process * current()
Current process running.
void setIdle(Process *proc)
Set the idle process.
#define cpu_shutdown()
Shutdown the machine via ACPI.