diff options
Diffstat (limited to 'src/arch/arm/isa')
-rw-r--r-- | src/arch/arm/isa/insts/misc64.isa | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/arch/arm/isa/insts/misc64.isa b/src/arch/arm/isa/insts/misc64.isa index 00724c095..dd6711e62 100644 --- a/src/arch/arm/isa/insts/misc64.isa +++ b/src/arch/arm/isa/insts/misc64.isa @@ -1,6 +1,6 @@ // -*- mode:c++ -*- -// Copyright (c) 2011-2013, 2016 ARM Limited +// Copyright (c) 2011-2013, 2016-2017 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -162,4 +162,16 @@ let {{ header_output += BasicDeclare.subst(clrexIop) decoder_output += BasicConstructor64.subst(clrexIop) exec_output += BasicExecute.subst(clrexIop) + + + brkCode = ''' + fault = std::make_shared<SoftwareBreakpoint>(machInst, + bits(machInst, 20, 5)); + ''' + + brkIop = InstObjParams("brk", "Brk64", "ArmStaticInst", + brkCode, ["IsSerializeAfter"]) + header_output += BasicDeclare.subst(brkIop) + decoder_output += BasicConstructor64.subst(brkIop) + exec_output += BasicExecute.subst(brkIop) }}; |