Go to the documentation of this file.
18 #ifndef __LIBARCH_COREINFO_H
19 #define __LIBARCH_COREINFO_H
29 #define KERNEL_PATHLEN 64
32 #define COREINFO_SIZE (KERNEL_PATHLEN + (8 * 4) + (4 * 4) + (4 * 4))
Address bootImageSize
Boot image size in bytes.
Address heapAddress
Physical memory address of the kernel heap.
C uint isKernel
Non-zero if this executable is linked as the kernel.
unsigned long Address
A memory address.
Memory::Range memory
Defines the physical memory available to the core.
Address coreChannelAddress
Physical memory address of IPC channel for CoreServer of this core.
unsigned int uint
Unsigned integer number.
uint coreId
Core identifier.
struct CoreInfo CoreInfo
Per-Core information structure.
#define C
Used to define external C functions.
char kernelCommand[KERNEL_PATHLEN]
Kernel command.
Address kernelEntry
Kernel entry point.
unsigned int Size
Any sane size indicator cannot go negative.
Address bootImageAddress
Boot image physical memory address.
uint booted
Set to non-zero by early boot code when this core is running.
Per-Core information structure.
CoreInfo coreInfo
Local CoreInfo instance.
uint timerCounter
Arch-specific timer counter.
Size coreChannelSize
Size of the IPC channel in bytes.
Memory::Range kernel
Kernel memory range.
bool operator==(const struct CoreInfo &info) const
Size heapSize
Size in bytes of the kernel heap.
bool operator!=(const struct CoreInfo &info) const