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