Skip to content
Snippets Groups Projects
Commit 7ee63f9e authored by Japheth Lim's avatar Japheth Lim
Browse files

ARM boot: add MODE_RESERVED to MAX_NUM_FREEMEM_REG

This accounts for the ASID PD hole splitting the main memory region.
parent dbb39024
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* + 1: allow the kernel to release its own boot data region
* + 1: possible gap between ELF images and rootserver objects;
* see arm/arch_init_freemem */
#define MAX_NUM_FREEMEM_REG (ARRAY_SIZE(avail_p_regs) + 1 + 1)
#define MAX_NUM_FREEMEM_REG (ARRAY_SIZE(avail_p_regs) + MODE_RESERVED + 1 + 1)
#endif
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment