From 25ec278a0be5e3e09d396ef5be993e45b766790b Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 12 Jan 2013 22:09:48 -0600 Subject: x86: Changes to decoder, corrects 9376 The changes made by the changeset 9376 were not quite correct. The patch made changes to the code which resulted in decoder not getting initialized correctly when the state was restored from a checkpoint. This patch adds a startup function to each ISA object. For x86, this function sets the required state in the decoder. For other ISAs, the function is empty right now. --- src/arch/arm/isa.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/arm') diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index f5fe5f834..12ecc4921 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -193,6 +193,8 @@ namespace ArmISA updateRegMap(tmp_cpsr); } + void startup(ThreadContext *tc) {} + typedef ArmISAParams Params; const Params *params() const; -- cgit v1.2.3