loader: split debug and asm modules between arm and riscv

This commit is contained in:
eupn 2023-03-09 20:16:52 +04:00
parent 787312bf82
commit 3caf8dedd0
No known key found for this signature in database
GPG key ID: 0BBE77FB42014014

View file

@ -4,10 +4,14 @@
#[macro_use] #[macro_use]
mod args; mod args;
use args::{KernelArgument, KernelArguments}; use args::{KernelArgument, KernelArguments};
#[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/debug.rs")]
mod debug; mod debug;
mod fonts; mod fonts;
#[cfg(feature="secboot")] #[cfg(feature="secboot")]
mod secboot; mod secboot;
#[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/asm.rs")]
mod asm; mod asm;
#[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/consts.rs")] #[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/consts.rs")]
mod consts; mod consts;