Please sign in to comment.
x86: ia32: do not use the first megabyte
After witnessing some strange errors with memory not being what it should be, lifiting everything above 1MB has solved it. The Zephyr binary was being loaded into memory containing reserved regions, resulting in data corruption. We still simulate XIP for testing purposes by setting up the memory map as follows: 0x000000 - 0x0FFFFF : Non-present 0x100000 - 0x4FFFFF : "Flash" ROM region 0x500000 - 0x8FFFFF : "SRAM" RAM region For a total of 9 megabytes of physical RAM used. Fixes problems observed in some large tests when code coverage is enabled (which increases the amount of RAM used even more). Fixes: #17782 Signed-off-by: Andrew Boie <email@example.com>
- Loading branch information...
Showing with 6 additions and 7 deletions.