commit | e155f4b858be42a825e8270f65abb0fdcf6cbc9f | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed Dec 06 15:18:38 2017 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Tue Dec 12 11:42:21 2017 +0000 |
tree | 545d99febd61872a7a7c1c8e77e53b104db0ad7a | |
parent | bc96fc6e2d8dd02e9b085b1c7ec03c3f01982816 [diff] |
Decouple virtual memory allocation in ElfBuilder. Multi-boot-image requires knowing the loaded size ahead of time, and calculating that size ended up being fairly hacky. Decouple allocation of virtual memory and allocation of file space, so that we have more flexibility when we do those. Test: The generated boot image is bit-for-bit identical as before. Change-Id: I012b55a71e7625f2310570f9b91447c9db73578b