Use new memory layout for pVM firmware.
Moved data memory to just above pVM firmware image, rather than an arbitrary location higher in RAM. Bug: 223166344 Test: ran with patched crosvm Change-Id: I4fc92edf7752352bc962169b009d052ddd07479d
This commit is contained in:
parent
1b5ec6fb13
commit
ebd40c8ccb
|
@ -44,9 +44,9 @@ idmap:
|
|||
.fill 509, 8, 0x0 // 509 GB of remaining VA space
|
||||
|
||||
/* level 2 */
|
||||
0: .fill 511, 8, 0x0
|
||||
.quad .L_BLOCK_MEM_XIP | 0x7fe00000 // pVM firmware image
|
||||
0: .fill 510, 8, 0x0
|
||||
.quad .L_BLOCK_MEM_XIP | 0x7fc00000 // pVM firmware image
|
||||
.quad .L_BLOCK_MEM | 0x7fe00000 // Writable memory for stack, heap &c.
|
||||
1: .quad .L_BLOCK_RO | 0x80000000 // DT provided by VMM
|
||||
.quad .L_BLOCK_RO | 0x80200000 // 2 MB of DRAM containing payload image
|
||||
.quad .L_BLOCK_MEM | 0x80400000 // Writable memory for stack, heap &c.
|
||||
.fill 509, 8, 0x0
|
||||
.fill 510, 8, 0x0
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
MEMORY
|
||||
{
|
||||
image : ORIGIN = 0x7fe00000, LENGTH = 2M
|
||||
image : ORIGIN = 0x7fc00000, LENGTH = 2M
|
||||
writable_data : ORIGIN = 0x7fe00000, LENGTH = 2M
|
||||
dtb_region : ORIGIN = 0x80000000, LENGTH = 2M
|
||||
writable_data : ORIGIN = 0x80400000, LENGTH = 2M
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue