1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![no_std]
#![feature(abi_x86_interrupt)]
#![feature(alloc_error_handler)]
#![feature(const_mut_refs)]
#![allow(missing_docs)]
#![feature(linkage)]
#![feature(asm_const)]
#![feature(step_trait)] // TODO check if needed/will stabilize
#![feature(const_option)]
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
// Testing
#![cfg_attr(test, no_main)]
#![feature(custom_test_frameworks)]
#![reexport_test_harness_main = "test_main"]
#![test_runner(crate::test_runner)]

//! mango_hal: mango hardware abstraction layer
//!
//! This crate contains drivers and interface to drivers to use in mango kernel or other kernel projects.
//!

extern crate alloc;

pub mod devices;
pub mod io;
pub mod systems;