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

Make printf use the platform UART. #215

Merged
merged 1 commit into from
May 20, 2024
Merged

Make printf use the platform UART. #215

merged 1 commit into from
May 20, 2024

Conversation

davidchisnall
Copy link
Collaborator

For historical reasons, this had its own hard-coded version of a 16550.

@davidchisnall davidchisnall force-pushed the printf branch 2 times, most recently from b375231 to 2c959d0 Compare May 17, 2024 15:44
For historical reasons, this had its own hard-coded version of a 16550.

Doing this required making the file C++.  At the same time, fix a load
of style issue and replace a void* and function pointer with the
function wrapper from the network stack.  This provides a type-erased
way of calling a lambda, so we can clean up the code a bit.

Also remove ambient Uart access from this compartment and move the UART
access into the header.
@davidchisnall davidchisnall enabled auto-merge (rebase) May 20, 2024 11:37
@davidchisnall davidchisnall merged commit 18df7ca into main May 20, 2024
7 checks passed
@davidchisnall davidchisnall deleted the printf branch May 20, 2024 11:37
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.

None yet

1 participant