Go to the documentation of this file.
18 #include <FreeNOS/System.h>
19 #include <FreeNOS/ProcessEvent.h>
20 #include <FreeNOS/ProcessManager.h>
Represents a process which may run on the host.
Result
Enumeration of generic kernel API result codes.
Operation
Various actions which may be performed inside an APIHandler.
Represents a process which may run on the host.
API::Result VMShareHandler(const ProcessID procID, const API::Operation op, ProcessShares::MemoryShare *share)
Kernel handler prototype.
u32 ProcessID
Process Identification Number.
ProcessManager * getProcessManager()
Get process manager.
ProcessShares & getShares()
Get process shares.
#define DEBUG(msg)
Output a debug message to standard output.
static Kernel * instance()
Retrieve the instance.
Process * get(const ProcessID id)
Retrieve a Process by it's ID.
Result readShare(MemoryShare *share)
Read memory share by Process, Core and Tag IDs.
Result createShare(ProcessShares &instance, MemoryShare *share)
Process * current()
Current process running.
Result removeShares(ProcessID pid)
Remove all shares for the given ProcessID.