mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-13 01:57:10 +03:00
cpu: Make rdseed() macro actually use rdseed
This commit is contained in:
parent
411d735e91
commit
0410e53e3d
@ -175,7 +175,7 @@ inline uint64_t rdtsc(void) {
|
|||||||
type ret; \
|
type ret; \
|
||||||
asm volatile ( \
|
asm volatile ( \
|
||||||
"1: " \
|
"1: " \
|
||||||
"rdrand %0;" \
|
"rdseed %0;" \
|
||||||
"jnc 1b;" \
|
"jnc 1b;" \
|
||||||
: "=r" (ret) \
|
: "=r" (ret) \
|
||||||
); \
|
); \
|
||||||
|
Loading…
Reference in New Issue
Block a user