Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI ONLY] Test #8878

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

[CI ONLY] Test #8878

wants to merge 7 commits into from

Conversation

softwarecki
Copy link
Collaborator

DNR

@softwarecki softwarecki force-pushed the lib-test branch 11 times, most recently from d7704c3 to 3bbe5ec Compare February 29, 2024 10:28
@softwarecki softwarecki force-pushed the lib-test branch 4 times, most recently from 70c22c0 to 1fe992f Compare March 4, 2024 12:15
@softwarecki softwarecki force-pushed the lib-test branch 13 times, most recently from d422085 to d37d689 Compare March 13, 2024 14:20
@softwarecki softwarecki force-pushed the lib-test branch 2 times, most recently from a25b144 to f1855e2 Compare April 3, 2024 15:10
@softwarecki softwarecki force-pushed the lib-test branch 4 times, most recently from 1aee3e5 to d9a8a78 Compare September 13, 2024 11:16
@softwarecki softwarecki force-pushed the lib-test branch 3 times, most recently from 96fddef to b0d9601 Compare September 27, 2024 14:40
@softwarecki softwarecki force-pushed the lib-test branch 2 times, most recently from 92bcbef to 9cda98d Compare October 7, 2024 08:22
@softwarecki
Copy link
Collaborator Author

SOFCI TEST

Change the type of the UUID parameter in the ipc4_get_drv function to avoid
unnecessary typecasting.

There are currently two ways to store UUIDs in SOF: as a byte array or
as a sof_uuid structure. The ipc4_get_drv function compares UUIDs using
the memcmp function, so it is not dependent on the type of the argument
passed.

This change is intended to prepare the code for standardizing the UUID
format across the project.

Signed-off-by: Adrian Warecki <[email protected]>
Change the uuid parameter type to void * in the parse_uuid function to make
it independent of the UUID type and avoid unnecessary type casting.

This change is intended to prepare the code for standardizing the UUID
format across the project.

Signed-off-by: Adrian Warecki <[email protected]>
Some identifiers are taken from the module manifest. Since the module
manifest structure (sof_man_module) is marked as packed, the pointer
to the sof_uuid structure may not be properly aligned.

Mark the sof_uuid structure as packed to avoid possible problems with
accessing fields of this structure from unaligned addresses.

Signed-off-by: Adrian Warecki <[email protected]>
Separate the SOF_REG_UUID macro to allow use it to initialize variables
with a value from the register.

Signed-off-by: Adrian Warecki <[email protected]>
Remove the reference to the first element of the array storing the uuid
to prepare the code for changing the uuid type from an array to a struct.

Signed-off-by: Adrian Warecki <[email protected]>
Add a & symbol for getting the address of a variable to prepare the code
for changing the uuid type from an array to a structure.

Signed-off-by: Adrian Warecki <[email protected]>
Change the UUID storage type in the module manifest to a sof-compatible
structure to enable retrieval of the UUIDs from the registry. Obtain the
UUIDs of loadable llext modules from the uuid-registry.

Signed-off-by: Adrian Warecki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant