#
4058b2cb |
| 07-Nov-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
control: Add basic MCTP Control Protocol handler
This will respond to the 4 mandatory MCTP Control Protocol commands. Applications can register supported types using mctp_control_add_type().
Change
control: Add basic MCTP Control Protocol handler
This will respond to the 4 mandatory MCTP Control Protocol commands. Applications can register supported types using mctp_control_add_type().
Change-Id: Ia904bcbe118626adf9254ffa71dd8e17fbdfc9b7 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
e5b941d9 |
| 17-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
i2c: Add binding for MCTP over I2C transport
Implements DSP0237. This has a fixed neighbor table (currently 4 entries), with neighbors learned on reception, or set with mctp_i2c_set_neighbour().
Ch
i2c: Add binding for MCTP over I2C transport
Implements DSP0237. This has a fixed neighbor table (currently 4 entries), with neighbors learned on reception, or set with mctp_i2c_set_neighbour().
Change-Id: I9b1e2c3673149cd0b9fee0d8113f3cac0e336bc7 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
f9b99f1f |
| 17-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
build: Generate libmctp-sizes.h
This can be used to allocate static storage for a struct mctp used with heapless mctp_setup().
core.c internal data structures are moved to core-internal.h so that s
build: Generate libmctp-sizes.h
This can be used to allocate static storage for a struct mctp used with heapless mctp_setup().
core.c internal data structures are moved to core-internal.h so that sizeof(struct mctp) can be compiled without linking other objects.
Change-Id: I72dcd46ef11d6f4b4f5ba1c9ae6c95e40dda40f8 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
1250727f |
| 30-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
build/core: Add 'nolog' build option to omit logging entirely
This can be used to avoid dereferencing the global `log_type` which may be inaccessible on platforms with memory protection.
Change-Id:
build/core: Add 'nolog' build option to omit logging entirely
This can be used to avoid dereferencing the global `log_type` which may be inaccessible on platforms with memory protection.
Change-Id: Ib48468018e3afaf05978018199a9a2022cb49fdf Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
bbfcc6e1 |
| 17-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
build/core: Add MCTP_CUSTOM_ALLOC option
This avoids storing the allocator function pointers in mutable memory, which is a problem when building on platforms with memory protection. Instead the appl
build/core: Add MCTP_CUSTOM_ALLOC option
This avoids storing the allocator function pointers in mutable memory, which is a problem when building on platforms with memory protection. Instead the application/platform defines custom functions that are linked with libmctp.
Change-Id: Icaf88968b50c88bbd2305d325f9530658465e21f Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
63338a2e |
| 10-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
build: Better fileio test, required for utils
The existing fileio configure test only tests for unistd/fcntl header existence, which isn't sufficient. This change instead tests for linking poll().
build: Better fileio test, required for utils
The existing fileio configure test only tests for unistd/fcntl header existence, which isn't sufficient. This change instead tests for linking poll().
The utils programs need fileio so the meson build is made conditional for those.
Change-Id: I7edf632cf81ed3e78f2f02488e95c28d78edfc31 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|
#
6586fc10 |
| 10-Sep-2024 |
Matt Johnston <matt@codeconstruct.com.au> |
build: Add meson build
This replicates most of the current autotools build.
Code coverage is omitted, it should be possible to use built-in Meson functionality.
Valgrind for tests has not been add
build: Add meson build
This replicates most of the current autotools build.
Code coverage is omitted, it should be possible to use built-in Meson functionality.
Valgrind for tests has not been added, instead it can run as meson test --wrap='valgrind --leak-check=full --error-exitcode=1'
Change-Id: I5566a6c30630c486d22390e126899dbe4a6331ce Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
show more ...
|