Go to the documentation of this file.
18 #ifndef __LIB_LIBRUNTIME_CORECLIENT_H
19 #define __LIB_LIBRUNTIME_CORECLIENT_H
21 #include <FreeNOS/API/ProcessID.h>
72 const Size programSize,
73 const char *programCmd)
const;
CoreClient provides a simple interface to a CoreServer.
Message format for communication with the CoreServer.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
Core::Result createProcess(const Size coreId, const Address programAddr, const Size programSize, const char *programCmd) const
Create a new process on a different core.
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.
unsigned int Size
Any sane size indicator cannot go negative.
Result
Result code for Actions.
Core::Result request(CoreMessage &msg) const
Send an IPC request to the CoreServer.