Kernel: Change up the logging in the kernel's PRNG

This commit is contained in:
apio 2022-11-12 12:56:13 +01:00
parent 11ee01f269
commit de2451e553

View File

@ -38,11 +38,11 @@ static uint64_t rdrand()
void Mersenne::init()
{
kdbgln("Preparing random number generator");
has_rdrand = CPU::has_feature(CPU::Features::RDRAND);
has_rdseed = asm_test_rdseed();
if (!has_rdrand && !has_rdseed) kwarnln("CPU does not support either RDRAND or RDSEED");
state ^= (0x45fe1024UL + __moon_version_major()) * (__moon_version_minor() ^ 200UL);
state ^= 0xe0e4f5332ea75b;