summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:05 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:05 -0500
commita76ab8e040c6582a1d60a8c70e90ce757b347485 (patch)
tree500b73f164f1fe5bce0048f3a761d5b35fcd7b89 /src/arch/arm
parentcbdebf852efd56651a18532c6ffbe7ac580aa539 (diff)
downloadgem5-a76ab8e040c6582a1d60a8c70e90ce757b347485.tar.xz
ARM: Hook SVC into the thumb decoder.
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/isa/formats/branch.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/isa/formats/branch.isa b/src/arch/arm/isa/formats/branch.isa
index 45464018e..e03fbfda3 100644
--- a/src/arch/arm/isa/formats/branch.isa
+++ b/src/arch/arm/isa/formats/branch.isa
@@ -91,7 +91,7 @@ def format Thumb16CondBranchAndSvc() {{
return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
(ConditionCode)(uint32_t)bits(machInst, 11, 8));
} else if (bits(machInst, 8)) {
- return new WarnUnimplemented("svc", machInst);
+ return new Svc(machInst);
} else {
// This space will not be allocated in the future.
return new WarnUnimplemented("unimplemented", machInst);