diff options
author | 2017-06-23 16:00:38 -0500 | |
---|---|---|
committer | 2017-06-30 18:08:28 -0500 | |
commit | 85f78eb40a432801e7f1a2633d8e825235b1aca4 (patch) | |
tree | 7f09496ebba91288c2a3bebe15fe8c4ccafc6277 /src/lib.rs | |
parent | 39875a3f538f64134bfe3b1619316bee4b3f39f3 (diff) | |
download | cortex-m-85f78eb40a432801e7f1a2633d8e825235b1aca4.tar.gz cortex-m-85f78eb40a432801e7f1a2633d8e825235b1aca4.tar.zst cortex-m-85f78eb40a432801e7f1a2633d8e825235b1aca4.zip |
revamp the exception registration mechanism
[breaking-change]
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -8,12 +8,13 @@ //! - Data structures like the vector table //! - Safe wrappers around assembly instructions like `bkpt` -#![cfg_attr(target_arch = "arm", feature(core_intrinsics))] #![deny(missing_docs)] #![deny(warnings)] #![feature(asm)] #![feature(const_fn)] +#![feature(linkage)] #![feature(naked_functions)] +#![feature(used)] #![no_std] extern crate aligned; @@ -25,17 +26,8 @@ mod macros; #[macro_use] pub mod asm; -pub mod ctxt; pub mod exception; pub mod interrupt; pub mod itm; pub mod peripheral; pub mod register; - -/// A reserved spot in the vector table -#[derive(Clone, Copy)] -#[repr(u32)] -pub enum Reserved { - /// Reserved - Vector = 0, -} |