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