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

Rework serial config files #256

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Courtney3141
Copy link
Contributor

This PR redesigns the serial config files in line with the ethernet config files updated here #203.

Rather than initialising the serial queues on behalf of the components, the config functions now initialise the variables required by the components to initialise the queues, allowing the components to initialise their own queues.

In the case of the serial clients, this is just the capacity of the serial queues. For the virtualisers, this PR introduces a serial_queue_info struct (like the net_queue_info struct), which contains client queue addresses, capacity and data region addresses. A struct is initialised for each client, allowing the virtualisers to initialise client queues with the struct.

Note that this PR is based off #255, and should be merged secondary to that.

@Courtney3141 Courtney3141 force-pushed the rework_serial_config_files branch 2 times, most recently from 8b0e1ac to 3850432 Compare September 24, 2024 11:19
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