16 #include <rtems/sysinit.h> 19 extern uintptr_t rdb_start;
26 static void bsp_memory_initialize(
void )
32 size = rdb_start - (uintptr_t)begin;
37 bsp_memory_initialize,
39 RTEMS_SYSINIT_ORDER_MIDDLE
44 return &_Memory_Information;
#define MEMORY_INFORMATION_INITIALIZER(areas)
Statically initialize a memory information.
The memory area description.
static __inline__ void _Memory_Initialize_by_size(Memory_Area *area, void *begin, uintptr_t size)
Initialize the memory area by size.
const Memory_Information * _Memory_Get(void)
Return the memory information of this platform.