Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cortex-ar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@

mod critical_section;

#[cfg(target_arch = "arm")]
#[cfg(any(doc, target_arch = "arm"))]
pub mod asm;

pub mod cache;
pub mod interrupt;
pub mod mmu;
pub mod register;

#[cfg(any(test, arm_architecture = "v7-r"))]
#[cfg(any(test, doc, arm_architecture = "v7-r"))]
pub mod pmsav7;

#[cfg(any(test, arm_architecture = "v8-r"))]
#[cfg(any(test, doc, arm_architecture = "v8-r"))]
pub mod generic_timer;

#[cfg(any(test, arm_architecture = "v8-r"))]
#[cfg(any(test, doc, arm_architecture = "v8-r"))]
pub mod pmsav8;

/// Generate an SVC call with the given argument.
Expand Down
4 changes: 2 additions & 2 deletions cortex-ar/src/register/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ pub use vmpidr::Vmpidr;
pub use vpidr::Vpidr;
pub use vsctlr::Vsctlr;

#[cfg(any(test, arm_architecture = "v8-r"))]
#[cfg(any(test, doc, arm_architecture = "v8-r"))]
pub mod armv8r;
#[cfg(any(test, arm_architecture = "v8-r"))]
#[cfg(any(test, doc, arm_architecture = "v8-r"))]
pub use armv8r::*;

pub use imp::*;
Expand Down