Kernel: Implement super simple PRNG
This commit is contained in:
16
kernel/include/kernel/Random.h
Normal file
16
kernel/include/kernel/Random.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
|
||||
class Random
|
||||
{
|
||||
public:
|
||||
static void initialize();
|
||||
static uint32_t get_u32();
|
||||
static uint64_t get_u64();
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user