#![no_std]
pub mod clocksource;
pub mod console;
pub mod irqchip;
pub mod memrange;
pub mod smp;
pub trait BspDefine<C, I, CLK>
where
C: console::ConsoleImpl,
I: irqchip::IrqchipImpl,
CLK: clocksource::ClockImpl,
{
const DEFINE_SMP: smp::SmpDefine = smp::SmpDefine::create(
smp::PsciCompatible::Psci0_1,
smp::PsciEnableMethod::Hvc,
0,
[0; smp::NR_CPUS],
1,
);
const DEFINE_MEMS: memrange::MemDefine;
const DEFINE_CONSOLE: C;
const DEFINE_IRQCHIP: I;
const DEFINE_CLOCK: CLK;
const DEFINE_SYSTEM_TICK: usize = 5;
fn early_init(&self) {}
fn late_init(&self);
fn secondary_init(&self) {}
}