diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:26 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:26 -0500 |
commit | 8cee4dacc83bdea41563272449442bd322ca786f (patch) | |
tree | c369d8bb5338c687c1abbd764f19faddabb9500b /src/arch/arm | |
parent | 798403b6896ba55c55ef3238f61c7bff962dc439 (diff) | |
download | gem5-8cee4dacc83bdea41563272449442bd322ca786f.tar.xz |
gem5: Fix a number of incorrect case statements
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/miscregs.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index 73f92cabb..a8abbf692 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -392,6 +392,7 @@ decodeCP15Reg(unsigned crn, unsigned opc1, unsigned crm, unsigned opc2) case 7: return MISCREG_PMCEID1; } + break; case 13: switch (opc2) { case 0: @@ -401,6 +402,7 @@ decodeCP15Reg(unsigned crn, unsigned opc1, unsigned crm, unsigned opc2) case 2: return MISCREG_PMXEVCNTR; } + break; case 14: switch (opc2) { case 0: @@ -410,6 +412,7 @@ decodeCP15Reg(unsigned crn, unsigned opc1, unsigned crm, unsigned opc2) case 2: return MISCREG_PMINTENCLR; } + break; } } else if (opc1 == 1) { switch (crm) { @@ -422,6 +425,7 @@ decodeCP15Reg(unsigned crn, unsigned opc1, unsigned crm, unsigned opc2) crn,crm, opc1,opc2); break; } + break; default: return MISCREG_L2LATENCY; } |