diff options
author | Gabor Dozsa <gabor.dozsa@arm.com> | 2016-01-07 16:33:47 -0600 |
---|---|---|
committer | Gabor Dozsa <gabor.dozsa@arm.com> | 2016-01-07 16:33:47 -0600 |
commit | e67749426054d8ddb7f11b53a89741d4808f3acb (patch) | |
tree | 6070cdd030bb632be375ababdf30680f50fccae0 /src/sim/pseudo_inst.hh | |
parent | 6caa2c9b4ea8ed3a29c44dec60b791344b5fd477 (diff) | |
download | gem5-e67749426054d8ddb7f11b53a89741d4808f3acb.tar.xz |
pseudo inst,util: Add optional key to initparam pseudo instruction
The key parameter can be used to read out various config parameters from
within the simulated software.
Diffstat (limited to 'src/sim/pseudo_inst.hh')
-rw-r--r-- | src/sim/pseudo_inst.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/pseudo_inst.hh b/src/sim/pseudo_inst.hh index b6e32847a..5f0b700c6 100644 --- a/src/sim/pseudo_inst.hh +++ b/src/sim/pseudo_inst.hh @@ -75,7 +75,7 @@ uint64_t writefile(ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset, Addr filenameAddr); void loadsymbol(ThreadContext *xc); void addsymbol(ThreadContext *tc, Addr addr, Addr symbolAddr); -uint64_t initParam(ThreadContext *xc); +uint64_t initParam(ThreadContext *xc, uint64_t key_str1, uint64_t key_str2); uint64_t rpns(ThreadContext *tc); void wakeCPU(ThreadContext *tc, uint64_t cpuid); void m5exit(ThreadContext *tc, Tick delay); |