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