1be126606d
Read DWARF type entries as TARGET2 values
...
Under the ARM EHABI, type information is encoded as a TARGET2 value,
rather than a DWARF pointer.
For the kernel ELF object, we have a ttype_encoding of DW_EH_PE_absptr,
which we combine with DW_EH_PE_pcrel when reading the type info.
For non-null pointers, this is equivalent to TARGET2 - we read a 32bit
value, and then use it as an offset from the current DWARF info. However,
null pointers should *not* apply an offset, and should instead return 0
directly.
An alternative fix here would be to change read_encoded_pointer_with_base
to skip adding base/original_ptr when reading 0. This is what GCC
does[^1], but feels a more dangerous change.
[^1]: 2a77afa0ee/libgcc/unwind-pe.h (L265)
2025-01-30 13:31:24 +00:00
63157588bb
flake: update dependencies
2025-01-15 21:17:34 +08:00
11f8675ad6
drtio: fix RTIO channel name resolution for remote channels
2025-01-15 13:12:14 +08:00
a0281e4989
cargo fmt
2024-12-23 12:51:10 +08:00
850e783139
bump rustfmt
2024-12-23 12:50:54 +08:00
8fd8cae9d5
update dependencies
2024-12-20 16:11:26 +08:00
7acf8af7f7
flake add outputHashes
2024-12-20 16:11:26 +08:00
13264d9992
update cargo lockfile
2024-12-20 16:11:26 +08:00
8d07f006f2
silence inline_const warns
2024-12-20 16:11:26 +08:00
97e15d51f2
remove unused abi-blacklist, force-unwind-tables
2024-12-20 16:11:26 +08:00
0021a01bdf
use forked core_io, up nalgebra
2024-12-20 16:11:04 +08:00
16801a35f4
llvm11 -> llvm13
2024-12-18 17:06:39 +08:00
81eba30a29
prevent cursor r/w optimization
2024-12-18 17:06:39 +08:00
7d6d40a785
replace deprecated NoneError use
2024-12-18 17:06:39 +08:00
ffe3020788
replace const_in_array_expression with inline
2024-12-18 17:06:39 +08:00
8f510b5ca6
change to C-unwind interface
2024-12-18 17:06:38 +08:00
5582ca74d2
runtime: clean up unused imports
2024-12-17 15:52:17 +08:00
7c741d9c18
flake: update dependencies
2024-12-11 13:34:54 +08:00
922a03b807
drtio: restore copy_work_buffer for transmission
2024-12-11 12:09:21 +08:00
716a5924d1
kasli_soc: fix acpki import
2024-12-10 12:54:22 +08:00
4856cddb65
gateware: add extra ident info, source version
2024-12-10 12:54:22 +08:00
e1f493f3ca
drtio: add InjectionRequest to expects_response
2024-11-26 14:58:24 +08:00
1f5ea41934
flake: update dependencies
2024-11-20 19:58:55 +08:00
7f83d56ef5
cargo fmt
2024-11-20 09:42:49 +08:00
1d431456f4
Fix DWARF parser treating catch blocks as unconditional
...
Signed-off-by: Jonathan Coates <jonathan.coates@oxionics.com>
2024-11-20 09:32:38 +08:00
b03e380c1e
flake: update dependencies
2024-11-20 09:07:00 +08:00
47fc53c4bf
drtio_tuple -> drtio_context
2024-11-18 13:13:10 +08:00
42eaecf9e1
remove debug message
2024-11-18 12:19:37 +08:00
beb7e6f994
cargo fmt
2024-11-18 12:19:37 +08:00
4502a47aa6
drtio_proto: add allocate step for flashing
...
This avoids reallocation while transfering binaries.
2024-11-18 12:19:37 +08:00
ac6b7d5cf0
satman: fix checksum error message
2024-11-18 12:19:37 +08:00
3019bc6123
runtime: check crc when flashing
2024-11-18 12:19:37 +08:00
95b8562812
cargo fmt
2024-11-18 12:19:37 +08:00
a13f5d02fa
mgmt: supplementary tuple -> tuple struct
2024-11-18 12:19:37 +08:00
e52aa77068
cargo fmt
2024-11-18 12:19:37 +08:00
8e28d12ad0
runtime mgmt: avoid pull_log resource hog
2024-11-18 12:19:37 +08:00
47cddae04f
runtime mgmt: avoid passing incomplete log to core_log
2024-11-18 12:19:37 +08:00
27a65df40e
satman mgmt: fix uart log level change message
2024-11-18 12:19:37 +08:00
759cca3bfd
satman mgmt: allow sliceable to consume log source
2024-11-18 12:19:37 +08:00
aadb6fc22d
satman mgmt: get logger unconditionally
2024-11-18 12:19:37 +08:00
ae4d5a4228
mgmt: minor fix
2024-11-18 12:19:37 +08:00
6f1d727ca2
drtio-proto: avoid expecting response to drop link ack
2024-11-18 12:19:37 +08:00
7da5061f7e
coremgmt: fix import/uses
2024-11-18 12:19:37 +08:00
47d418c69e
coremgmt: remove unnecsaary cursors
2024-11-18 12:19:37 +08:00
d2979e8894
runtime coremgmt: implement firmware rewrite
2024-11-18 12:19:37 +08:00
3884c14a19
satman coremgmt: code after reboot is unreachable
2024-11-18 12:19:37 +08:00
c5b00d8e4e
cargo fmt
2024-11-18 12:19:37 +08:00
2985875f9a
satman: implement boot file rewrite sequence
2024-11-18 12:19:37 +08:00
5cb565a7e0
coremgr: current_payload -> config_payload
2024-11-18 12:19:37 +08:00
59954829a2
drtio-proto: (N)ACK -> Reply { succeeded }
2024-11-18 12:19:37 +08:00