From d01d897655a8685f7ac2a061ad742aa139dae2d8 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Fri, 29 Sep 2023 14:49:53 +0200 Subject: [PATCH] Added simulation termination on first 'ecall' occurrence Signed-off-by: Maciej Kurc --- scripts/renode_wrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/renode_wrapper.py b/scripts/renode_wrapper.py index a9597742..722114d5 100644 --- a/scripts/renode_wrapper.py +++ b/scripts/renode_wrapper.py @@ -29,6 +29,7 @@ cpu MaximumBlockSize 1 cpu SetHookAtBlockEnd "print('REGDUMP:' + ','.join(self.GetRegistersValues()))" +cpu InstallCustomInstructionHandlerFromString "00000000000000000000000001110011" "monitor.Parse('quit')" emulation RunFor "0.000100"