Hello Andreas Sandberg, Brandon Potter, kokoro, Jason Lowe-Power,

I'd like you to reexamine a change. Please visit

    https://gem5-review.googlesource.com/c/public/gem5/+/21466

to look at the new patch set (#4).

Change subject: arch,base: Separate the idea of a memory image and object file.
......................................................................

arch,base: Separate the idea of a memory image and object file.

A memory image can be described by an object file, but an object file
is more than a memory image. Also, it makes sense to manipulate a
memory image to, for instance, change how it's loaded into memory. That
takes on larger implications (relocations, the entry point, symbols,
etc.) when talking about the whole object file, and also modifies
aspects which may not need to change. For instance if an image needs
to be loaded into memory at addresses different from what's in the
object file, but other things like symbols need to stay unmodified.

Change-Id: Ia360405ffb2c1c48e0cc201ac0a0764357996a54
---
M src/arch/alpha/process.cc
M src/arch/alpha/system.cc
M src/arch/arm/freebsd/system.cc
M src/arch/arm/linux/system.cc
M src/arch/arm/process.cc
M src/arch/arm/system.cc
M src/arch/mips/process.cc
M src/arch/power/process.cc
M src/arch/riscv/bare_metal/system.cc
M src/arch/riscv/process.cc
M src/arch/sparc/process.cc
M src/arch/sparc/process.hh
M src/arch/sparc/system.cc
M src/arch/x86/process.cc
M src/base/SConscript
M src/base/loader/aout_object.cc
M src/base/loader/aout_object.hh
M src/base/loader/dtb_object.cc
M src/base/loader/dtb_object.hh
M src/base/loader/ecoff_object.cc
M src/base/loader/ecoff_object.hh
M src/base/loader/elf_object.cc
M src/base/loader/elf_object.hh
A src/base/loader/memory_image.cc
A src/base/loader/memory_image.hh
M src/base/loader/object_file.cc
M src/base/loader/object_file.hh
M src/base/loader/raw_object.cc
M src/base/loader/raw_object.hh
M src/sim/process.cc
M src/sim/process.hh
M src/sim/syscall_emul.hh
M src/sim/system.cc
M src/sim/system.hh
34 files changed, 424 insertions(+), 338 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/21466
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ia360405ffb2c1c48e0cc201ac0a0764357996a54
Gerrit-Change-Number: 21466
Gerrit-PatchSet: 4
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Andreas Sandberg <andreas.sandb...@arm.com>
Gerrit-Reviewer: Brandon Potter <brandon.pot...@amd.com>
Gerrit-Reviewer: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to