diff options
author | James G. Smith <jsmith@rallysmith.co.uk> | 2021-05-26 10:08:26 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-01-15 14:51:21 +0000 |
commit | d96dc47ef67e427cd64a07d9825fd297e3a81633 (patch) | |
tree | f46a2e5215a38b221f1d7b205de6aacb2f525991 /src/target/armv8.c | |
parent | 9a7781ff8c9dea6ef5998238b1932094b8a226da (diff) | |
download | riscv-openocd-d96dc47ef67e427cd64a07d9825fd297e3a81633.zip riscv-openocd-d96dc47ef67e427cd64a07d9825fd297e3a81633.tar.gz riscv-openocd-d96dc47ef67e427cd64a07d9825fd297e3a81633.tar.bz2 |
src/rtos/eCos : Support per-build configuration specific structure layouts
Extended feature. This is a large patch, but is self-contained to the
eCos support and does not affect any other openocd functionality. It
does NOT affect existing eCos RTOS plugin users where their
applications do not provide the extended symbolic helper
information. If the helper symbols are not available the rtos support
code will behave as before. This "dynamic" functionality is *required*
because eCos does NOT have a fixed/hardwired, known, layout for the
thread descriptor structure. The per-application build eCos
configuration can affect the shape of the thread descriptor structure
(field presence, and hence offsets of subsequent fields) such that
constant values cannot be used to consistently interpret all possible
eCos application configurations. For historical reasons, there is not
yet a consistent namespace for the helper symbols across eCos HALs
hence the support is currently limited to specific architectures
(Cortex-M and ARM/Cortex-A). No new Clang analyser warnings are raised
by this changeset.
Change-Id: Ib3a36877326eeb56595cbca55e21b9e59a59c98a
Signed-off-by: James G. Smith <jsmith@rallysmith.co.uk>
Reviewed-on: https://review.openocd.org/c/openocd/+/6275
Reviewed-by: Alex Schuilenburg <alex.schuilenburg@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'src/target/armv8.c')
0 files changed, 0 insertions, 0 deletions