Skip to content

Conversation

@luodeb
Copy link
Contributor

@luodeb luodeb commented Dec 18, 2025

No description provided.

@aarkegz
Copy link
Contributor

aarkegz commented Dec 20, 2025

Please rebase it first.

default = []

[dependencies]
axplat = "0.2.0"
Copy link
Member

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}
Copy link
Member

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
Copy link
Member

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;
Copy link
Member

Choose a reason for hiding this comment

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

remove commented lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants