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

Add a hypercall to allow UART to accept a whole buffer #491

Closed
wants to merge 3 commits into from
Closed

Add a hypercall to allow UART to accept a whole buffer #491

wants to merge 3 commits into from

Conversation

nathanwhyte
Copy link
Contributor

Addressing issue #455

Added a new UART hypercall (not replacing UHYVE_UART_PORT) that accepts a buffer of u8.

Hypercall uses a struct that contains the address of the buffer and the length of the buffer.
A slice of u8 is constructed from those fields and written to stdout.

The new handlers in each architecture module were modeled after the ones that already existed in that module.

@jounathaen
Copy link
Member

I think this looks just fine! 👍
I'd, however, merge #452 first and rebase this branch then.

@jounathaen jounathaen mentioned this pull request Jun 2, 2023
@jounathaen
Copy link
Member

jounathaen commented Jun 2, 2023

Closing this in favor of #515

@jounathaen jounathaen closed this Jun 2, 2023
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.

2 participants