mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 01:00:12 +00:00
Fix loop counter... was overrunning a table on larger ELF files
This commit is contained in:
parent
dcc711f3f2
commit
53bd807186
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ static int up_addrenv_create_region(FAR uintptr_t **list,
|
|||
*/
|
||||
|
||||
nmapped = 0;
|
||||
for (i = 0; i < npages; i++)
|
||||
for (i = 0; i < npages; i += ENTRIES_PER_L2TABLE)
|
||||
{
|
||||
/* Allocate one physical page for the L2 page table */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue