1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

Kernel: Unify x86-64 assembly snippets naming for RDSEED & RDRAND

This commit is contained in:
konrad 2023-01-08 05:26:46 +01:00 committed by Jelle Raaijmakers
parent d7d233ab04
commit 7c8e61f4d1
3 changed files with 6 additions and 6 deletions

View file

@ -128,7 +128,7 @@ ALWAYS_INLINE u64 read_tsc()
return ((u64)msw << 32) | lsw;
}
ALWAYS_INLINE u32 rdrand()
ALWAYS_INLINE u32 read_rdrand()
{
u32 value;
asm volatile(
@ -139,7 +139,7 @@ ALWAYS_INLINE u32 rdrand()
return value;
}
ALWAYS_INLINE u32 rdseed()
ALWAYS_INLINE u32 read_rdseed()
{
u32 value;
asm volatile(