1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00

Added testing shell, no testing, yet.

This commit is contained in:
Stephen Marz 2020-04-21 20:30:09 -04:00
parent da92f55d1b
commit 625df1cf46
2 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,7 @@ pub fn get_random() -> u64 {
len: 8,
flags: virtio::VIRTIO_DESC_F_WRITE,
next: 0, };
let _val = unsafe { *ptr as u64 };
let _val = *ptr as u64;
kfree(ptr);
break;
}

2
risc_v/src/test.rs Normal file
View File

@ -0,0 +1,2 @@
// test.rs