|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include "hal/rand/rand.h"#include "hal/acpi/hpet.h"#include "hal/cpu/cpuid.h"#include "init/init.h"#include "libk/serial.h"Go to the source code of this file.
Macros | |
| #define | RAND_MAX 0xFFFFFFFF |
Functions | |
| INIT (Rand) | |
| uint32_t | vxRand () |
Variables | |
| static boolean_t | random_available = 0 |
| INIT | ( | Rand | ) |
Definition at line 11 of file rand.c.
References cpuid(), LOG_INFO, and random_available.
| uint32_t vxRand | ( | ) |
Definition at line 18 of file rand.c.
References RAND_MAX, random_available, vxHPETGetMainCount(), and vxHPETIsAvailable().
Referenced by send_command().