Skip to content

Gicv3#183

Merged
ken4647 merged 6 commits into
syswonder:devfrom
lhw2002426:gicv3
Mar 13, 2025
Merged

Gicv3#183
ken4647 merged 6 commits into
syswonder:devfrom
lhw2002426:gicv3

Conversation

@lhw2002426
Copy link
Copy Markdown
Contributor

No description provided.

use crate::{irq::IrqHandler, mem::phys_to_virt};
#[cfg(not(feature = "gic-v3"))]
use arm_gic::gic_v2::{GicCpuInterface, GicDistributor};
#[cfg(feature = "gic-v3")]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this file should be seperated into two file as "gicv2.rs" and "gicv3.rs", and mod their pub interface (such as set_enable and dispatch_irq) via "mod.rs" or `"lib.rs".

Comment thread app_eval.py Outdated
@@ -0,0 +1,121 @@
import subprocess
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why this file moved from directory script?

Copy link
Copy Markdown
Contributor Author

@lhw2002426 lhw2002426 Mar 12, 2025

Choose a reason for hiding this comment

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

This file is from @coolyjg 's repo, should I keep it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No need to keep it, just recover the directories

Comment thread modules/ruxruntime/src/lib.rs Outdated
let pl011_base = ruxdtb::get_pl011_base();
info!("pl011_base: 0x{:x}", pl011_base);
let pl031_base = ruxdtb::get_pl031_base();
info!("pl031_base: 0x{:x}", pl031_base);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are these code suitable for other architecture such as x86 or riscv64? as pl011 and pl031 are not the devices for them.

@lhw2002426 lhw2002426 force-pushed the gicv3 branch 10 times, most recently from 2baa6aa to f58e0c7 Compare March 13, 2025 03:07
@ken4647 ken4647 merged commit 70850c9 into syswonder:dev Mar 13, 2025
@lhw2002426 lhw2002426 deleted the gicv3 branch July 22, 2025 14:00
@ken4647 ken4647 mentioned this pull request Jul 22, 2025
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.

3 participants