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:
parent
da92f55d1b
commit
625df1cf46
@ -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
2
risc_v/src/test.rs
Normal file
@ -0,0 +1,2 @@
|
||||
// test.rs
|
||||
|
Loading…
Reference in New Issue
Block a user