Add test architecture

This commit is contained in:
Jeremy Soller 2016-08-14 14:59:18 -06:00
commit 29b6544d8f

11
arch/test/src/main.rs Normal file
View file

@ -0,0 +1,11 @@
/// This function is where the kernel sets up IRQ handlers
/// It is increcibly unsafe, and should be minimal in nature
extern {
fn kmain() -> !;
}
#[no_mangle]
pub unsafe extern fn kstart() -> ! {
kmain();
}