summaryrefslogtreecommitdiff
path: root/arch/alpha/isa_desc
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2003-10-21 17:18:17 -0400
committerAndrew Schultz <alschult@umich.edu>2003-10-21 17:18:17 -0400
commitf600cff5c265bc69048bfd71c31434de3f34b204 (patch)
tree5a6e38ca3cce20a2b28027be0542b3f4ca7608df /arch/alpha/isa_desc
parentae232a883abf5c5f9dadaec4ccaf0268469b383d (diff)
downloadgem5-f600cff5c265bc69048bfd71c31434de3f34b204.tar.xz
Created new M5 instruction to allow an integer parameter (init_param) to be specified in the INI and then read inside the simulator.
arch/alpha/isa_desc: Added new M5FUNC instruction to put allow reading of init_param inside simulator kern/tru64/tru64_system.cc: kern/tru64/tru64_system.hh: sim/system.cc: sim/system.hh: Added support for init_param --HG-- extra : convert_revision : 8253f0b4239b194d4f04665c9deec1fcdf665c8a
Diffstat (limited to 'arch/alpha/isa_desc')
-rw-r--r--arch/alpha/isa_desc1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/isa_desc b/arch/alpha/isa_desc
index b5536525d..f36413ad8 100644
--- a/arch/alpha/isa_desc
+++ b/arch/alpha/isa_desc
@@ -2407,6 +2407,7 @@ decode OPCODE default Unknown::unknown() {
if (!xc->misspeculating())
m5_exit();
}}, No_OpClass);
+ 0x30: initparam({{ Ra = xc->cpu->system->init_param; }});
}
}