For now using the checkpoint or switchcpu pseudo instructions will return control to Python, returning the cause to be the instruction name.  The user's script must then interpret the reason for exiting the simulation loop and handle the action accordingly.  This may change in the future.
For now using the checkpoint or switchcpu pseudo instructions will return control to Python, returning the cause to be the instruction name.  The user's script must then interpret the reason for exiting the simulation loop and handle the action accordingly.  This may change in the future.

src/sim/pseudo_inst.cc:
    Exit sim loop with a specific string to indicate to Python what caused the exit.  The user's script needs to interpret the exit events and handle them as desired.

andrewfu0325/gem5-aladdin,LingxiaoJIA/gem5,haowu4682/gem5,andrewfu0325/gem5-aladdin,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,LingxiaoJIA/gem5,haowu4682/gem5,andrewfu0325/gem5-aladdin,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,andrewfu0325/gem5-aladdin