Update rustsbi-qemu && batch worked on qemu/k210.

This commit is contained in:
Yifan Wu 2020-11-20 11:10:38 +08:00
parent 3b920ac8f5
commit 5e5ed05399
8 changed files with 33 additions and 5 deletions

View file

@ -0,0 +1,14 @@
#![no_std]
#![no_main]
#![feature(llvm_asm)]
#[macro_use]
extern crate user_lib;
#[no_mangle]
fn main() -> i32 {
println!("Into Test store_fault, we will insert an invalid store behavior...");
println!("Kernel should kill this application!");
unsafe { (0x0 as *mut u8).write_volatile(0); }
0
}