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

Serial/AArch64: treat LF as LF + CR #259

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

jongwu
Copy link
Contributor

@jongwu jongwu commented Jun 16, 2023

In current implementation of pl011, LF is just as LF. It is not the rule in Unix-like world which treats LF as CRLF.

See related linux kernel doc [1]

[1] https://www.kernel.org/doc/Documentation/serial/driver

Fixes: #258

@rbradford rbradford requested a review from retrage June 16, 2023 11:01
Copy link
Contributor

@retrage retrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me. Just a minor issue.

src/uart_pl011.rs Outdated Show resolved Hide resolved
In current implementation of pl011, LF is just as LF. It is not the
rule in Unix-like world which treats LF as CRLF.

See related linux kernel doc [1]

[1] https://www.kernel.org/doc/Documentation/serial/driver

Fixes: cloud-hypervisor#258
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
@retrage retrage merged commit 7a4271e into cloud-hypervisor:main Jun 19, 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.

Serial/AArch64: console output doesn't start with the beginning of newline
2 participants