diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-03-17 10:31:03 -0700 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-03-17 10:31:03 -0700 |
commit | 9b4249410ec18cac9df2c7e9c0a4a6ce5459233d (patch) | |
tree | c3260ef4f23b9eca7d835ab1e0dfc8ce1173b17c /src/sim/process.hh | |
parent | 4fc69db8f89049a881a5f4aa68545840818b124c (diff) | |
download | gem5-9b4249410ec18cac9df2c7e9c0a4a6ce5459233d.tar.xz |
base: support dynamic loading of Linux ELF objects in SE mode
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index 72f789ec7..aa4c7a008 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -336,6 +336,14 @@ class LiveProcess : public Process */ EmulatedDriver *findDriver(std::string filename); + // This function acts as a callback to update the bias value in + // the object file because the parameters needed to calculate the + // bias are not available when the object file is created. + void updateBias(); + + Addr getBias(); + Addr getStartPC(); + // this function is used to create the LiveProcess object, since // we can't tell which subclass of LiveProcess to use until we // open and look at the object file. |