Load kernel on qemu/k210.

This commit is contained in:
Yifan Wu 2020-11-11 16:50:00 +08:00
parent 4480790386
commit 5b69a312ba
10 changed files with 1588 additions and 1 deletions

View file

@ -1,5 +1,12 @@
#![no_std]
#![no_main]
#![feature(global_asm)]
mod lang_items;
global_asm!(include_str!("entry.asm"));
#[no_mangle]
pub extern "C" fn rust_main() -> ! {
loop {}
}