Go to the documentation of this file.
18 #ifndef __KERNEL_API_PROCESSCTL_H
19 #define __KERNEL_API_PROCESSCTL_H
21 #include <FreeNOS/Process.h>
Process information structure, used for Info.
struct ProcessInfo ProcessInfo
Process information structure, used for Info.
Result
Enumeration of generic kernel API result codes.
ProcessID parent
Parent process id.
ProcessID id
Process Identity number.
API::Result ProcessCtlHandler(const ProcessID proc, const ProcessOperation op, const Address addr, const Address output)
Kernel handler prototype.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
API::Result ProcessCtl(const ProcessID proc, const ProcessOperation op, const Address addr=0, const Address output=0)
Prototype for user applications.
Process::State state
Defines the current state of the Process.
ulong trapKernel4(ulong api, ulong arg1, ulong arg2, ulong arg3, ulong arg4)
Perform a kernel trap with 4 arguments.
ProcessOperation
Available operation to perform using ProcessCtl.
State
Represents the execution state of the Process.
Log & operator<<(Log &log, ProcessOperation op)
Operator to print a ProcessOperation to a Log.