qemu_x86: increase to 8MB of RAM
Previously we were instantiating QEMU with 32MB of RAM but only enabling a small fraction of it. Now we boot with 8MB of ram. We ignore the first 4K so we can make that an unmapped paged to catch NULL pointer dereferences. If XIP is enabled, the "ROM" region will be the first half of memory, the "RAM" region the latter. Move the IDT_LIST and MMU_LIST regions elsewhere so they don't overlap the new memory arrangement. Use !XIP to fix a problem where CONFIG_RAM_SIZE was set incorrectly for XIP case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
304f91c4cb
commit
103d655dee
3 changed files with 7 additions and 7 deletions
|
@ -38,8 +38,8 @@ MEMORY
|
|||
* target. However, it shouldn't overlap any other regions.
|
||||
*/
|
||||
|
||||
IDT_LIST : ORIGIN = 2K, LENGTH = 2K
|
||||
MMU_LIST : ORIGIN = 4k, LENGTH = 1K
|
||||
IDT_LIST : ORIGIN = 0xFFFF1000, LENGTH = 2K
|
||||
MMU_LIST : ORIGIN = 0xFFFF2000, LENGTH = 1K
|
||||
}
|
||||
|
||||
#include <arch/x86/linker.ld>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue