Add test architecture
This commit is contained in:
parent
1c9b6361c9
commit
29b6544d8f
1 changed files with 108 additions and 7 deletions
11
arch/test/src/main.rs
Normal file
11
arch/test/src/main.rs
Normal 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();
|
||||
}
|
||||
Loading…
Reference in a new issue