diff options
author | Tim Newsome <tim@sifive.com> | 2021-04-08 12:53:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 12:53:30 -0700 |
commit | 737f013ada404fdd620c2c0d4f1cb318a0ff64b2 (patch) | |
tree | 70cb46a7050fb037607b1c0f460e089581f5ca95 /git-hooks/commit-msg | |
parent | 28724d996a9b68e490f6bd90b5537c71631c753d (diff) | |
download | riscv-openocd-737f013ada404fdd620c2c0d4f1cb318a0ff64b2.zip riscv-openocd-737f013ada404fdd620c2c0d4f1cb318a0ff64b2.tar.gz riscv-openocd-737f013ada404fdd620c2c0d4f1cb318a0ff64b2.tar.bz2 |
Support RV32/RV64 mainline/metal stackings (#586)
* Support mainline FreeRTOS instead of metal FreeRTOS
I'll have to add an option or something before this can be merged.
The stack pointer value for suspended threads is computed, and I didn't
check that it's right. Can't be written.
Does not support accessing gp/tp in suspended threads.
Change-Id: Ibe7f5167b970d5990a296e968df2b4480135d673
Signed-off-by: Tim Newsome <tim@sifive.com>
* Add riscv_freertos_stacking command.
This lets the user describe how registers are stored on the stack.
Change-Id: I052188fa9c6cb4f8670fa4b01a8878272ed6fc4d
* Redo how we handle offsets in FreeRTOS.
Instead of hard-coding them for each "target," hard code the data types
in FreeRTOS list structures, and compute the offsets based on size of
pointers and ubase_t types.
Doesn't work right now.
Change-Id: I444cd1ef47121190e2222f19a67edf3c6155a96a
* Correctly get thread list.
Works on RV32 and RV64.
Change-Id: I27768aef698475bef425d6a7e27ea609c9b9a1b6
* Fix SP calculation and RV64 register stacking.
Smoketest now passes on spike with both RV32 and RV64.
Change-Id: I94b43e041abe5370a833bd3afb4a2a8591538d7a
Signed-off-by: Tim Newsome <tim@sifive.com>
* Style fixes.
Change-Id: I269b5aac8c233022c41ebc8ac8c5aeb437882719
Signed-off-by: Tim Newsome <tim@sifive.com>
* Style fix.
Change-Id: I18fbff7dcaad9bd35f0942598c05c2a45bdb9f3b
Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions