Skip to content

Commit fd1c625

Browse files
Merge pull request #165 from rust-embedded/vbar-available-for-armv7a
Vbar is now available for ARMv7-A as well
2 parents 6770083 + d06833e commit fd1c625

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

aarch32-cpu/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88
## [Unreleased]
99

1010
- Added `Iciallu` register which allows invalidating the instruction cache.
11+
- `register::vbar` and `register::Vbar` are also available for ARMv7-A now.
1112
- Added `defmt` implementations for PMSA types.
1213

1314
## [aarch32-cpu v0.2.0]

aarch32-cpu/src/register/armv8r/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ pub mod prlar7;
7272
pub mod prlar8;
7373
pub mod prlar9;
7474
pub mod prselr;
75-
pub mod vbar;
7675

7776
pub use hmpuir::Hmpuir;
7877
pub use hprbar::Hprbar;
@@ -146,4 +145,3 @@ pub use prlar7::Prlar7;
146145
pub use prlar8::Prlar8;
147146
pub use prlar9::Prlar9;
148147
pub use prselr::Prselr;
149-
pub use vbar::Vbar;

aarch32-cpu/src/register/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ pub mod tpidrprw;
101101
pub mod tpidruro;
102102
pub mod tpidrurw;
103103
pub mod ttbr0;
104+
#[cfg(any(test, doc, arm_architecture = "v7-a", arm_architecture = "v8-r"))]
105+
pub mod vbar;
104106
pub mod vmpidr;
105107
pub mod vpidr;
106108
pub mod vsctlr;
@@ -202,6 +204,8 @@ pub use tpidrprw::Tpidrprw;
202204
pub use tpidruro::Tpidruro;
203205
pub use tpidrurw::Tpidrurw;
204206
pub use ttbr0::Ttbr0;
207+
#[cfg(any(test, doc, arm_architecture = "v7-a", arm_architecture = "v8-r"))]
208+
pub use vbar::Vbar;
205209
pub use vmpidr::Vmpidr;
206210
pub use vpidr::Vpidr;
207211
pub use vsctlr::Vsctlr;

0 commit comments

Comments
 (0)