parent
2fac6e9941
commit
9f03bfc849
@ -0,0 +1,3 @@
|
||||
pub fn rand() -> u64 {
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
pub fn rand() -> u64 {
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
use core::arch::x86_64::_rdtsc;
|
||||
|
||||
pub fn rand() -> u64 {
|
||||
// rdrand is not implemented in QEMU
|
||||
// so use rdtsc instead
|
||||
unsafe { _rdtsc() as u64 }
|
||||
}
|
@ -1 +1 @@
|
||||
Subproject commit 835568e2059ef872320e41517e826ced0768e357
|
||||
Subproject commit bf9d296331fd160849abd45faf361941b533c08d
|
Loading…
Reference in new issue