|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#![no_std]
|
|
|
|
|
#![cfg_attr(not(test), no_std)]
|
|
|
|
|
#![feature(alloc)]
|
|
|
|
|
#![feature(const_fn)]
|
|
|
|
|
#![feature(linkage)]
|
|
|
|
@ -6,16 +6,9 @@
|
|
|
|
|
#![feature(vec_resize_default)]
|
|
|
|
|
#![feature(asm)]
|
|
|
|
|
#![feature(exact_size_is_empty)]
|
|
|
|
|
#![feature(extern_crate_item_prelude)]
|
|
|
|
|
|
|
|
|
|
extern crate alloc;
|
|
|
|
|
#[macro_use]
|
|
|
|
|
extern crate log;
|
|
|
|
|
extern crate spin;
|
|
|
|
|
|
|
|
|
|
// To use `println!` in test
|
|
|
|
|
#[cfg(test)]
|
|
|
|
|
#[macro_use]
|
|
|
|
|
extern crate std;
|
|
|
|
|
|
|
|
|
|
mod process_manager;
|
|
|
|
|
mod processor;
|
|
|
|
@ -24,5 +17,5 @@ pub mod thread;
|
|
|
|
|
mod event_hub;
|
|
|
|
|
mod interrupt;
|
|
|
|
|
|
|
|
|
|
pub use process_manager::*;
|
|
|
|
|
pub use processor::Processor;
|
|
|
|
|
pub use crate::process_manager::*;
|
|
|
|
|
pub use crate::processor::Processor;
|
|
|
|
|