| c6837f00 | 16-Jan-2026 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
include: Remove libpldm/utils.h
At this point it only existed to include other headers. Users should rather include the necessary headers directly.
Change-Id: Ie0fbf9caccea0dfe75be0127e675e3949dc52
include: Remove libpldm/utils.h
At this point it only existed to include other headers. Users should rather include the necessary headers directly.
Change-Id: Ie0fbf9caccea0dfe75be0127e675e3949dc52d61 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 4e3d5725 | 12-Jan-2026 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
utils: Migrate pldm_base_ver2str() to base
The ver32 type is defined in the base specification (DSP0240). Associated functions should also be defined in the base module.
Change-Id: I71e06b3b1be83fe
utils: Migrate pldm_base_ver2str() to base
The ver32 type is defined in the base specification (DSP0240). Associated functions should also be defined in the base module.
Change-Id: I71e06b3b1be83fe512f573b9f2227e2a17a93c63 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| edc1b1f5 | 12-Jan-2026 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
utils: Rename bcd2dec16() to pldm_bcd_bcd2dec16()
Tidy-up the un-prefixed namespace.
Change-Id: Idaf648c681288f73b9898d845f7a146a460d4f4d Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> |
| 65b74a74 | 12-Jan-2026 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
utils: Rename bcd2dec8() to pldm_bcd_bcd2dec8()
Tidy-up the un-prefixed namespace.
Change-Id: I6dea486e3ee08cd9a9c4df675e6ebe5974ccc062 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> |
| bf554b2a | 25-Aug-2025 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
pdr: Stabilize APIs for removing records
- pldm_entity_association_pdr_remove_contained_entity() - pldm_entity_association_tree_delete_node() - pldm_pdr_delete_by_effecter_id() - pldm_pdr_delete_by_
pdr: Stabilize APIs for removing records
- pldm_entity_association_pdr_remove_contained_entity() - pldm_entity_association_tree_delete_node() - pldm_pdr_delete_by_effecter_id() - pldm_pdr_delete_by_sensor_id() - pldm_pdr_remove_fru_record_set_by_rsi()
Use of all these APIs is demonstrated in [1].
[1]: https://gerrit.openbmc.org/c/openbmc/pldm/+/79879
Change-Id: I4dc97c4f5b60621b281d97feab79b3349432b598 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 9e458e10 | 12-Sep-2025 |
Kasun Athukorala <kasunath@google.com> |
dsp: base: Omit checksum for Multipart receive ACKNOWLEDGE_COMPLETION
This fix is based on DSP0240 v1.2.0 section 9.6.6, Table 17 DataIntegrityChecksum property description.
DataIntegrityChecksum p
dsp: base: Omit checksum for Multipart receive ACKNOWLEDGE_COMPLETION
This fix is based on DSP0240 v1.2.0 section 9.6.6, Table 17 DataIntegrityChecksum property description.
DataIntegrityChecksum property should be there unless the response TransferFlag property is ACKNOWLEDGE_COMPLETION
This patch fixes the issue where DataIntegrityChecksum is only included if the TransferFlag is PLDM_END or PLDM_START_AND_END
Change-Id: I6d715d21d9d9d55bbda6139108be9cfb288ad209 Fixes: 21a639d6e67d ("dsp: base: Add encode resp for MultipartReceive command") Signed-off-by: Kasun Athukorala <kasunath@google.com>
show more ...
|
| d50035f5 | 05-Sep-2025 |
Kasun Athukorala <kasunath@google.com> |
dsp: base: Fix MultipartReceive Request decoding
This fix is based on DSP0240 v1.2.0 section 9.6.6 - Flag usage for MultipartReceive (paragraph 351) and Table 17 MultipartReceive request format.
-
dsp: base: Fix MultipartReceive Request decoding
This fix is based on DSP0240 v1.2.0 section 9.6.6 - Flag usage for MultipartReceive (paragraph 351) and Table 17 MultipartReceive request format.
- Removed RequestedSectionOffset check.
The Property can be 0 for any TransferOperation flag.
- Changed DataTransferHandle check.
The property can be 0 except with PLDM_XFER_NEXT_PART. Eg. In DSP0242 v1.0.0 section 9.8.2, Table 19, and DSP0240 v1.2.0 section 9.6.5, Table 17, when using MultipartReceive to read a file, the client has to send transfer handle 0 with XFER_FIRST_PART.
Change-Id: I06428556f9dee341de97f72b015ed0347adc9454 Fixes: 9c76679224cf ("libpldm: Migrate to subproject") Signed-off-by: Kasun Athukorala <kasunath@google.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 9d320cbc | 26-Sep-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-tidy-21: uninitialized-const-pointer warnings
Fix a few clang warnings raised with clang-tidy-21:
``` ../tests/dsp/platform.cpp:917:46: error: variable 'effecter_value' is uninitialized when
clang-tidy-21: uninitialized-const-pointer warnings
Fix a few clang warnings raised with clang-tidy-21:
``` ../tests/dsp/platform.cpp:917:46: error: variable 'effecter_value' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer] 917 | 0, 0, 6, reinterpret_cast<uint8_t*>(&effecter_value), request, ../tests/dsp/firmware_update.cpp:4837:47: error: variable 'data' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer] 4837 | rc = decode_pldm_firmware_update_package(&data, sizeof(data), nullptr, &hdr, ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I468d2a1db894cf8ea0e72cd44b6fdc6c9130607d
show more ...
|
| 1ad093f8 | 19-Sep-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat with clang-21
Copy the latest format file from the docs repository and apply using clang-format-21.
See I795e88ada8e676c242b5a18888ce9c08afdedc93 for c
clang-format: update latest spec and reformat with clang-21
Copy the latest format file from the docs repository and apply using clang-format-21.
See I795e88ada8e676c242b5a18888ce9c08afdedc93 for clang-21 enablement.
Change-Id: Ie541f039aa995c7cd7654ae28ece19884595eb32 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| ae7410c3 | 12-Sep-2025 |
Kasun Athukorala <kasunath@google.com> |
dsp: base: Added encode_pldm_base_negotiate_transfer_params_resp()
This command is based on DSP0240 v1.2.0 section 9.6.2 NegotiateTransferParameters (0x07).
gitlint-ignore: T1 Signed-off-by: Kasun
dsp: base: Added encode_pldm_base_negotiate_transfer_params_resp()
This command is based on DSP0240 v1.2.0 section 9.6.2 NegotiateTransferParameters (0x07).
gitlint-ignore: T1 Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: I619ca0b356df065b662b16d4a469730fd145f9de
show more ...
|
| cb987c5c | 18-Jun-2025 |
Kasun Athukorala <kasunath@google.com> |
dsp: base: Added decode_pldm_base_negotiate_transfer_params_req()
This command is based on DSP0240 v1.2.0 section 9.6.2 NegotiateTransferParameters (0x07).
gitlint-ignore: T1 Change-Id: I4fa193444d
dsp: base: Added decode_pldm_base_negotiate_transfer_params_req()
This command is based on DSP0240 v1.2.0 section 9.6.2 NegotiateTransferParameters (0x07).
gitlint-ignore: T1 Change-Id: I4fa193444df9ba5b109ca063163d7f7d109fcbda Signed-off-by: Kasun Athukorala <kasunath@google.com>
show more ...
|
| c144ea91 | 15-Sep-2025 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
tests: dsp: firmware_update: Drop guards for package parsing tests
These are now marked stable and shouldn't be conditionally compiled.
Fixes:
``` ../tests/dsp/firmware_update.cpp:53:5: error: unu
tests: dsp: firmware_update: Drop guards for package parsing tests
These are now marked stable and shouldn't be conditionally compiled.
Fixes:
``` ../tests/dsp/firmware_update.cpp:53:5: error: unused variable 'PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_1' [-Werror,-Wunused-const-variable] 53 | PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_1{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/dsp/firmware_update.cpp:59:5: error: unused variable 'PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_2' [-Werror,-Wunused-const-variable] 59 | PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_2{0x31, 0x19, 0xce, 0x2f, 0xe8, 0x0a, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/dsp/firmware_update.cpp:64:5: error: unused variable 'PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_3' [-Werror,-Wunused-const-variable] 64 | PLDM_FWUP_PACKAGE_HEADER_IDENTIFIER_V1_3{0x7b, 0x29, 0x1c, 0x99, 0x6d, 0xb6, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
Fixes: f6ef78f676a9 ("dsp: firmware_update: Stabilized new firmware package parsing ABI") Change-Id: I3386d3827b80d31cb702cb9f3f67d616b09be478 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 7a8d932b | 27-Aug-2025 |
John Chung <john.chung@arm.com> |
msgbuf: Define a separate msgbuf structure for encode/decode function
Define separate msgbuf structures to avoid casting away const-qualifiers in the msgbuf constructor function:
* pldm_msgbuf_rw:
msgbuf: Define a separate msgbuf structure for encode/decode function
Define separate msgbuf structures to avoid casting away const-qualifiers in the msgbuf constructor function:
* pldm_msgbuf_rw: for encode functions with non const-qualified buffer * pldm_msgbuf_ro: for decode functions with const-qualified buffer
Further, use _Generic() to keep the API ergonomic while still yielding a compile error when wrong msgbuf type is passed.
Change-Id: I71dbcb7996e9fb402b49870fce539a939c1497e5 Signed-off-by: John Chung <john.chung@arm.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 94f7fd64 | 15-Sep-2025 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
include, tests: Address concerns from -Wsign-compare
After switching to Debian Trixie these surfaced as issues when building locally.
Change-Id: I92a4d19579257e796aa29be8d4fb79fe92466780 Signed-off
include, tests: Address concerns from -Wsign-compare
After switching to Debian Trixie these surfaced as issues when building locally.
Change-Id: I92a4d19579257e796aa29be8d4fb79fe92466780 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 6ae2fd7b | 17-Jul-2025 |
Kasun Athukorala <kasunath@google.com> |
dsp: platform: Add file PDR descriptor encoding
Change-Id: Ic1627b0ba2a4c87f4a8352e7c63eede0a2513b80 Signed-off-by: Kasun Athukorala <kasunath@google.com> |
| f6ef78f6 | 11-Jun-2025 |
Unive Tien <unive.tien.wiwynn@gmail.com> |
dsp: firmware_update: Stabilized new firmware package parsing ABI
Below new APIs will be consumed by openbmc/pldm[1]: - `decode_pldm_firmware_update_package()` - `pldm_package_firmware_device_id_r
dsp: firmware_update: Stabilized new firmware package parsing ABI
Below new APIs will be consumed by openbmc/pldm[1]: - `decode_pldm_firmware_update_package()` - `pldm_package_firmware_device_id_record_iter_init()` - `decode_pldm_package_firmware_device_id_record_from_iter()` - `pldm_package_downstream_device_id_record_iter_init()` - `decode_pldm_package_downstream_device_id_record_from_iter()` - `pldm_package_component_image_information_iter_init()` - `decode_pldm_package_component_image_information_from_iter()` - The newly added APIs uses iterators to parse the firmware update packages, which provide the efficiency and safety benefits than the old ones. - The new APIs support DSP0267 v1.1.0 to v1.3.0, which provides additional fields in the firmware update package. - Since the old APIs will be soon marked as deprecated, this is a good opportunity to stabilize the new APIs. - Build pass and passed google test on CI. - Build pass and tested successfully on Yosemite4.
[1]: https://gerrit.openbmc.org/c/openbmc/pldm/+/80194
Change-Id: I44bd1be07b0cb19a7a1044d6b36e26ffbd771285 Signed-off-by: Unive Tien <unive.tien.wiwynn@gmail.com> Signed-off-by: Carter Chen <carter.chen.wiwynn@gmail.com>
show more ...
|
| a93a3a04 | 15-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
dsp: base: Correct test case name for decode_multipart_receive_req()
The test case name for the group of unit tests for `decode_multipart_receive_req()` API was incorrectly renamed to `DecodeMultipa
dsp: base: Correct test case name for decode_multipart_receive_req()
The test case name for the group of unit tests for `decode_multipart_receive_req()` API was incorrectly renamed to `DecodeMultipartReceiveResponse` in [1]. This commit updates the test case name to `DecodeMultipartReceiveRequest` to match the API name, and not duplicate with that of `decode_pldm_base_multipart_receive_resp()`
[1]: https://gerrit.openbmc.org/c/openbmc/libpldm/+/82805
Change-Id: I037fed711b35dcdc7295e40dc365c4fb71ab0b0f Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| 6121773c | 15-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
dsp: base: Don't extract MultipartReceive resp's CRC once complete
According to DSP0240 v1.2.0 - Table 17 MultipartReceive Request and Response Message Format, `DataIntegrityChecksum` field:
- Shal
dsp: base: Don't extract MultipartReceive resp's CRC once complete
According to DSP0240 v1.2.0 - Table 17 MultipartReceive Request and Response Message Format, `DataIntegrityChecksum` field:
- Shall be included with all part transfers. - Shall be omitted in response to a request message where TransferOperation was set to XFER_COMPLETE or XFER_ABORT.
The only possible TransferFlag in a response for a request, where TransferOperation was set to `XFER_COMPLETE` or `XFER_ABORT`, is `ACKNOWLEDGE_COMPLETION`. So this is the only condition to ignore the `DataIntegrityChecksum` field.
In the current implementation, `DataIntegrityChecksum` field is only extracted when `TransferOperation` is `END` or `START_AND_END` and this is incorrect.
Therefore, this commit updates `decode_pldm_base_multipart_receive_resp` function to not extract `DataIntegrityChecksum` only when `TransferFlag` field is `ACKNOWLEDGE_COMPLETION`. This also adds 2 more unit tests for the API, which are respectively decoding an `ACKNOWLEDGE_COMPLETION` response with a redundant checksum field and decoding a non-`ACKNOWLEDGE_COMPLETION` response without a checksum field.
Change-Id: I325a6393eaabfecc08f758dcae417470dde65efb Fixes: 8836784f1e06 ("dsp: base: Add encode req & decode resp for MultipartReceive command") Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| 72442dea | 12-Aug-2025 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: firmware_update: Flags for decode_pldm_firmware_update_package()
Allow influencing the parser behavior down the track.
Change-Id: If63284f5c67b7a8e40d5b3176f5b8367038eb98e Signed-off-by: Andre
dsp: firmware_update: Flags for decode_pldm_firmware_update_package()
Allow influencing the parser behavior down the track.
Change-Id: If63284f5c67b7a8e40d5b3176f5b8367038eb98e Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| c53c6fe9 | 11-Aug-2025 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: firmware_update: Run-time state machine for package parsing
Encoding the necessary sequence of calls with an approximation of linear types is hampered by DSP0267's introduction of entirely new
dsp: firmware_update: Run-time state machine for package parsing
Encoding the necessary sequence of calls with an approximation of linear types is hampered by DSP0267's introduction of entirely new sections into the package format across revisions. The existing design enforced a sequence that precluded _not_ calling the decoder for downstream device records in the case of pinning to format revision 1. The choice had the further effect of stunting the API to future expansion of the spec.
Switch from linear types to tracking parse state at runtime based on the provided pin and the extracted package header.
The state machine implementation is modeled on the TLA+ specification below, with NR_FORMATS set to 4 in the model:
```tla ---- MODULE pldm_package_parser ---- EXTENDS Integers, Sequences
\* pin and format have non-deterministic init, but are then constant VARIABLE state, pin, format
vars == << state, pin, format >>
States == { "Init", "Header", "FirmwareDevices", "DownstreamDevices", "ComponentImageInfos", "Complete", "Unsupported", "Error" }
Formats == 1..4
DecodeHeader == /\ state = "Init" /\ state' = IF format <= pin THEN "Header" ELSE "Unsupported" /\ UNCHANGED << pin, format >>
DecodeFirmwareDevices == /\ state = "Header" /\ state' = "FirmwareDevices" /\ UNCHANGED << pin, format >>
DecodeDownstreamDevices == /\ state = "FirmwareDevices" /\ state' = IF pin = 1 THEN "Error" ELSE "DownstreamDevices" /\ UNCHANGED << pin, format >>
DecodeComponentImageInfos == /\ \/ /\ state = "FirmwareDevices" /\ pin = 1 \/ /\ state = "DownstreamDevices" /\ pin \in ( Formats \ { 1 } ) /\ state' = "Complete" /\ UNCHANGED << pin, format >>
Done == state \in { "Complete", "Unsupported", "Error" } /\ UNCHANGED vars
Init == /\ state = "Init" /\ pin \in Formats /\ format \in Formats
Next == \/ DecodeHeader \/ DecodeFirmwareDevices \/ DecodeDownstreamDevices \/ DecodeComponentImageInfos \/ Done
Spec == Init /\ [][Next]_vars /\ WF_state(Next)
TypeInvariant == /\ state \in States /\ pin \in Formats /\ format \in Formats
Safety == /\ TypeInvariant /\ state \in States \ { "Init", "Unsupported" } => format <= pin
Liveness == /\ [][(state \in { "Complete", "Unsupported", "Error" } => UNCHANGED state)]_vars /\ [][UNCHANGED <<pin, format>>]_vars
==== ```
For an introduction to TLA+ see https://www.learntla.com/
Note that the implemented state machine does not exactly replicate that specified in the model. Specifically:
- No "Unsupported" state is defined. Instead, the APIs return -ENOTSUP - No "Error" state is defined. Instead, the APIs return -EPROTO
It is expected that callers perform appropriate error handling.
Change-Id: Id8780c1f5f130b77e6eea2519b5d5734aa79040e Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
| 530d1a3a | 15-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
dsp: file: Let some encode APIs accept pointer to payload_length
In order to achieve [1], this commit updates some encoding APIs to accept the length of the message as an in/out parameter (pointer t
dsp: file: Let some encode APIs accept pointer to payload_length
In order to achieve [1], this commit updates some encoding APIs to accept the length of the message as an in/out parameter (pointer to size_t). The APIs are then updated to return the encoded payload length through this parameter.
The unit tests for these APIs are updated accordingly. The change list includes:
- encode_pldm_file_df_open_req() - encode_pldm_file_df_close_req() - encode_pldm_file_df_heartbeat_req()
[1]: https://github.com/openbmc/libpldm/blob/main/CONTRIBUTING.md?plain=1#L270-L272
Change-Id: Ic81327438190bfa0541333f35e0b52a51010db91 Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| e98a72fd | 14-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
dsp: base: Let some encode APIs accept pointer to payload_length
In order to achieve [1], this commit updates some encoding APIs to accept the length of the message as an in/out parameter (pointer t
dsp: base: Let some encode APIs accept pointer to payload_length
In order to achieve [1], this commit updates some encoding APIs to accept the length of the message as an in/out parameter (pointer to size_t). The APIs are then updated to return the encoded payload length through this parameter.
The unit tests for these APIs are updated accordingly. The change list includes:
- encode_pldm_base_multipart_receive_req() - encode_pldm_base_negotiate_transfer_params_req()
[1]: https://github.com/openbmc/libpldm/blob/main/CONTRIBUTING.md?plain=1#L270-L272
Change-Id: I17cb3641b2c4a7a30fe757a3275b1713499484cc Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| 7c655302 | 13-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
platform: Reinforce some symbol names
This commit rename some symbol names for base APIs to reinforce API naming convention defined here [1]. The list of change includes:
1. `struct pldm_file_descr
platform: Reinforce some symbol names
This commit rename some symbol names for base APIs to reinforce API naming convention defined here [1]. The list of change includes:
1. `struct pldm_file_descriptor_pdr` to `struct pldm_platform_file_descriptor_pdr` 2. `decode_pldm_file_descriptor_pdr()` to `decode_pldm_platform_file_descriptor_pdr()`
[1]: https://github.com/openbmc/libpldm/blob/main/docs/checklists/changes.md#adding-a-new-api
Change-Id: I76bd12fa59a7d61d450d9d36cbf091b39101faa8 Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| 41846238 | 12-Aug-2025 |
Chau Ly <chaul@amperecomputing.com> |
base: Reinforce some symbol names
This commit renames some symbol names for base APIs to reinforce API naming convention defined here [1]. The list of change includes:
1. `encode_base_multipart_rec
base: Reinforce some symbol names
This commit renames some symbol names for base APIs to reinforce API naming convention defined here [1]. The list of change includes:
1. `encode_base_multipart_receive_req()` to `encode_pldm_base_multipart_receive_req()` 2. `decode_base_multipart_receive_resp()` to `decode_pldm_base_multipart_receive_resp()` 3. `struct pldm_multipart_receive_resp` to `struct pldm_base_multipart_receive_resp` 4. `struct pldm_multipart_receive_req` to `struct pldm_base_multipart_receive_req`
This also removes `__attribute__((packed))` from `struct pldm_base_multipart_receive_req` to adapt [1].
[1]: https://github.com/openbmc/libpldm/blob/main/docs/checklists/changes.md#adding-a-new-api
Change-Id: Iefbec44efd48923fa4458228d80678a3995742e6 Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|
| edb88268 | 14-Aug-2025 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
dsp: base: Implement decode_multipart_receive_req() in terms of msgbuf
Also rework related tests so we can avoid the casting the struct over the buffers. This is motivated by an impending patch that
dsp: base: Implement decode_multipart_receive_req() in terms of msgbuf
Also rework related tests so we can avoid the casting the struct over the buffers. This is motivated by an impending patch that drops __attribute__((packed)) from the struct definition.
Change-Id: I21386e12ea65577920237fd28ea1fd340c749f42 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|