diff options
| author | Michael Brown | 2023-02-15 23:43:33 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-02-15 23:43:33 +0100 |
| commit | cff857461be443339aa39d614635d9a4eae8f8b2 (patch) | |
| tree | a145a1a693e24028edcd9cbf61c2127c160cdc2e /src/arch/x86/include/ipxe/cpuid.h | |
| parent | [efi] Support the initrd autodetection mechanism in newer Linux kernels (diff) | |
| download | ipxe-cff857461be443339aa39d614635d9a4eae8f8b2.tar.gz ipxe-cff857461be443339aa39d614635d9a4eae8f8b2.tar.xz ipxe-cff857461be443339aa39d614635d9a4eae8f8b2.zip | |
[rng] Add RDRAND as an entropy source
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/ipxe/cpuid.h')
| -rw-r--r-- | src/arch/x86/include/ipxe/cpuid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/include/ipxe/cpuid.h b/src/arch/x86/include/ipxe/cpuid.h index 3983dfb89..90d1bf01d 100644 --- a/src/arch/x86/include/ipxe/cpuid.h +++ b/src/arch/x86/include/ipxe/cpuid.h @@ -39,6 +39,9 @@ struct x86_features { /** Get standard features */ #define CPUID_FEATURES 0x00000001UL +/** RDRAND instruction is supported */ +#define CPUID_FEATURES_INTEL_ECX_RDRAND 0x40000000UL + /** Hypervisor is present */ #define CPUID_FEATURES_INTEL_ECX_HYPERVISOR 0x80000000UL |
