Code: Select all
//! size of physical memory
static uint32_t _mmngr_memory_size=0;
//! number of blocks currently in use
static uint32_t _mmngr_used_blocks=0;
//! maximum number of available memory blocks
static uint32_t _mmngr_max_blocks=0;
//! memory map bit array. Each bit represents a memory block
static uint32_t* _mmngr_memory_map= 0;
Is this correct? I am asking because the address 0 is using by the bios. (I mean If I write to it,may I have a problem or not ?)