-
Notifications
You must be signed in to change notification settings - Fork 29
feat(arm-qemu-virt): add initial support for ARM QEMU platform #32
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
base: main
Are you sure you want to change the base?
Conversation
|
Please rebase it first. |
| default = [] | ||
|
|
||
| [dependencies] | ||
| axplat = "0.2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use axplat = { workspace = true }
| bl {init_pt} | ||
|
|
||
| // Enable MMU | ||
| // bl {enable_mmu} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment this line?
| fn timer_frequency() -> u64 { | ||
| let freq: u32; | ||
| unsafe { | ||
| // CNTFRQ: c14, c0, 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use helpful register access functions from the aarch32_cpu crate? This crate also provides generic timer abstraction like El1PhysicalTimer .
| mod generic_timer; | ||
| mod init; | ||
| mod mem; | ||
| // mod pl011; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented lines.
No description provided.