Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

uefi/helpers: logger logs to debugcon device#1172

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicholasbishop merged 1 commit intorust-osdev:mainfromphip1611:debugcon
May 22, 2024

Conversation

phip1611
Copy link
Member

@phip1611phip1611 commentedMay 22, 2024
edited
Loading

uefi/helpers: logger logs to debugcon device

This modifies the logger so that it also prints to the debugcon device
in QEMU respectively the debug-console device in cloud-hypervisor [0].
By default, this device is at I/O port 0xe9. This only works on x86.

The major benefit is that one can get log output from the logger set up
by uefi::helpers::init even after boot services has been exited. Now the
memory map can be logged, for example.

When the integration test runs, the output txt file is put into the root
directory of the project.

Also everyone else developing UEFI apps using uefi-rs and running them in
QEMU or cloud-hypervisor (on x86) benefits.

[0]https://phip1611.de/blog/how-to-use-qemus-debugcon-feature/

@phip1611phip1611force-pushed thedebugcon branch 5 times, most recently from480d816 to0652ed6CompareMay 22, 2024 17:49
This modifies the logger so that it also prints to the debugcon devicein QEMU respectively the debug-console device in cloud-hypervisor [0].By default, this device is at I/O port 0xe9. This only works on x86.The major benefit is that one can get log output from the logger set upby uefi::helpers::init even after boot services has been exited. Now thememory map can be logged, for example.When the integration test runs, the output txt file is put into the rootdirectory of the project.Also everyone else developing UEFI apps using uefi-rs and running them inQEMU or cloud-hypervisor (on x86) benefits.[0]:https://phip1611.de/blog/how-to-use-qemus-debugcon-feature/
@nicholasbishopnicholasbishop added this pull request to themerge queueMay 22, 2024
Merged via the queue intorust-osdev:main with commit65a215dMay 22, 2024
@phip1611phip1611 deleted the debugcon branchJune 21, 2024 07:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicholasbishopnicholasbishopnicholasbishop approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@phip1611@nicholasbishop

[8]ページ先頭

©2009-2025 Movatter.jp