diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-03-12 11:49:19 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2019-03-27 16:57:16 +1100 |
commit | dccba372193c95469de633144c1f3ba2ba8ac223 (patch) | |
tree | 3fc8ebd76a269105af4fc620c662976a69615b85 /p9-fsi.dtsi.m4 | |
parent | 5a5334451cd22a40bc21b41789fcd74e04eb28ba (diff) | |
download | pdbg-dccba372193c95469de633144c1f3ba2ba8ac223.tar.gz pdbg-dccba372193c95469de633144c1f3ba2ba8ac223.zip |
libpdbg/p8chip.c: ram state setup sequence match workbook
This makes a few changes to stop and ram procedure.
First of all, the existing thread_stop procedure is also setting up some
of the ram state. Change that to just do the stop sequence from the
workbook, and move the ram stuff into ram setup and destroy.
The workbook calls for inactive threads being rammed to set a thread
active state before ram mode is exited, in order for GPRs modified by
ramming to avoid getting lost. Currently the code does that in the
stop sequence before ram mode is activated.
The code also currently deasserts the thread active bit after exiting
ram mode, which is not part of the workbook, so this is no longer done.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'p9-fsi.dtsi.m4')
0 files changed, 0 insertions, 0 deletions