diff options
author | Jan Matyas <jan.matyas@codasip.com> | 2025-02-09 19:31:44 +0100 |
---|---|---|
committer | Jan Matyas <jan.matyas@codasip.com> | 2025-02-26 15:27:14 +0100 |
commit | 068f566fb8a76963d871ce5a1aa6732f1cb33f62 (patch) | |
tree | 3a50a4a575dbc49df6527ec70dd780070706083e /git-hooks/commit-msg | |
parent | fa7e2351c834d63016db65923f25ec599bb7ceac (diff) | |
download | riscv-openocd-068f566fb8a76963d871ce5a1aa6732f1cb33f62.zip riscv-openocd-068f566fb8a76963d871ce5a1aa6732f1cb33f62.tar.gz riscv-openocd-068f566fb8a76963d871ce5a1aa6732f1cb33f62.tar.bz2 |
Fix datatypes around opcodes.h and program.{c,h}
- Fix and clean-up datatypes in opcodes.h and program.{c,h}.
Some of the changes were pointed by -Wconversion, others
come from manual code inspection.
- Remove commented code from opcodes.h (unused for very long time).
- Add assertions to opcodes.h to check that instruction
immediates (and other fields) don't exceed their range.
Change-Id: I7fc7c30ac2fdb00a93158d63d1379e7f16b1d168
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions