Go to the documentation of this file.
18 #include <FreeNOS/System.h>
41 const char * textStates[] = {
Result
Enumeration of generic kernel API result codes.
Result processInfo(const ProcessID pid, Info &info) const
Get process information by its ID.
ProcessID id
Process Identity number.
ProcessID getParentID() const
Get parent process identifier.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
ProcessID getProcessID() const
Get current process identifier.
API::Result ProcessCtl(const ProcessID proc, const ProcessOperation op, const Address addr=0, const Address output=0)
Prototype for user applications.
static const Size MaximumProcesses
Maximum number of processes.
String command
Full command including program path.
Memory mapping for the kernel and user processes on the ARM architecture.
Process::State state
Defines the current state of the Process.
String textState
Textual state of the process.
Memory::Range range(Region region) const
Get memory range for the given region.
ProcessInfo kernelState
Process state retrieved from the kernel.
static const ProcessID m_pid
Our own process identifier.
ProcessID findProcess(const String program) const
Find a process by its program name.
static const ProcessID m_parent
Our parent process identifier.
Address virt
Virtual address.
@ UserArgs
< Used for copying program arguments and file descriptors
API::Result VMCopy(const ProcessID proc, const API::Operation how, const Address ours, const Address theirs, const Size sz)
Prototype for user applications.
virtual bool equals(const String &str) const
Alias for compareTo().