51 kernelAllocationMap.
brk = &
_brk;
70 #ifndef LZ_STATIC_ANALYSIS 71 #if (LZ_CONFIG_ON_PANIC_INFINITE_LOOP + LZ_CONFIG_ON_PANIC_SOFTWARE_RESET) != 1 72 #error "Only one kernel panic configuration must be defined in config.h." void Arch_InfiniteLoop(void)
Function that loops forever, never returns.
void Scheduler_Init(void)
Initialize the scheduler prior to running it.
void Arch_InitIdleCpuMode(void)
Initialize idle CPU modes.
void Kernel_Main(void)
This is the kernel entry point.
const bool LZ_CONFIG_INSTRUMENT_CONTEXT_SWITCHES
When set, add instrumentation code to measure context switches.
AllocationMap kernelAllocationMap
The allocation map for the whole kernel.
Include appropriate config file.
void Arch_InitSerial(void)
Initialize serial line with default configuration at system startup.
void * brk
Break position, points to the first location beyond the current end of the heap.
Lazuli scheduler interface.
Symbols defined by the linker.
void * baseMem
Base address of the memory region.
void Kernel_Panic(void)
Kernel panic.
void Arch_InitInstrumentation(void)
Initialize the context switch instrumentation.
const bool LZ_CONFIG_MODULE_SERIAL_USED
Use module "serial": Serial interface configuration.
const bool LZ_CONFIG_ON_PANIC_INFINITE_LOOP
When 1, run an infinite loop on kernel panic.
Represents a map of the allocated memory regions and useful memory handlers for a task or the kernel...
const bool LZ_CONFIG_ON_PANIC_SOFTWARE_RESET
When 1, perform a software reset on kernel panic.
void * endMem
End address of the memory region.
Basic type definitions and useful macros.
Architecture Abstraction API.
uint8_t _brk
Initial break address.
int main(void)
Main entry point for user tasks.
void Arch_ResetSystem(void)
Reset the whole system.
uint8_t _ramend
Last address of RAM.