Hello Jason Lowe-Power, Curtis Dunham, Brandon Potter,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/2323
to look at the new patch set (#3).
Change subject: sim: Implement load_addr_mask auto-calculation
......................................................................
sim: Implement load_addr_mask auto-calculation
Recent Linux kernels for AArch64 have changed their start addresses
but we still want to relocate the kernel to 0x80080000 which
required hacking the load_addr_mask in Realview.py to be 0x7ffffff
from 0xfffffff to mask off the proper number of MSBs to load the
kernel in the desired location. To avoid having to make this change
in the future again, we auto-calculate the load_addr_mask if it is
specified as 0x0 in the System sim-object to find the most restrictive
address mask instead of having the configuration specify it. If the
configuration does specify the address mask, we use it instead of
auto-calculating.
Change-Id: I18aabb5d09945c6e3e3819c9c8036ea24b6c35cf
Signed-off-by: Geoffrey Blake <[email protected]>
Reviewed-by: Curtis Dunham <[email protected]>
Signed-off-by: Andreas Sandberg <[email protected]>
---
M src/arch/arm/ArmSystem.py
M src/dev/arm/RealView.py
M src/sim/System.py
M src/sim/system.cc
4 files changed, 30 insertions(+), 12 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/2323
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I18aabb5d09945c6e3e3819c9c8036ea24b6c35cf
Gerrit-Change-Number: 2323
Gerrit-PatchSet: 3
Gerrit-Owner: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Brandon Potter <[email protected]>
Gerrit-Reviewer: Curtis Dunham <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev