Go to the documentation of this file.
56 const Size programSize,
57 const char *programCmd)
const
static ChannelClient * instance()
Retrieve the instance.
Address programAddr
Contains the virtual address of a loaded program.
Message format for communication with the CoreServer.
Type type
Message type is either a request or response.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
Core::Result result
Result code.
Core::Result createProcess(const Size coreId, const Address programAddr, const Size programSize, const char *programCmd) const
Create a new process on a different core.
Core::Action action
Action to perform.
const ProcessID m_pid
ProcessID of the CoreServer.
Core::Result getCoreCount(Size &numCores) const
Get number of processor cores in the system.
CoreClient(const ProcessID pid=CORESRV_PID)
Class constructor function.
const char * programCmd
Command-line string for a loaded program.
Size coreNumber
Indicates a number of cores or a specific coreId.
unsigned int Size
Any sane size indicator cannot go negative.
Size programSize
Contains the size of a loaded program.
Result
Result code for Actions.
Core::Result request(CoreMessage &msg) const
Send an IPC request to the CoreServer.