mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 23:14:38 +00:00
Added cpuid 0x40000000 struct
This commit is contained in:
parent
e4b7fa4244
commit
e371e7a21b
@ -2098,6 +2098,53 @@ namespace CPU
|
|||||||
} EDX;
|
} EDX;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** @brief Get CPU hypervisor information */
|
||||||
|
struct CPUID0x40000000
|
||||||
|
{
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @brief Maximum input value for hypervisor CPUID information.
|
||||||
|
* @note Can be from 0x40000001 to 0x400000FF
|
||||||
|
*/
|
||||||
|
uint64_t MaximumInputValue : 32;
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EAX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EBX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} ECX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EDX;
|
||||||
|
};
|
||||||
|
|
||||||
/** @brief Extended CPU information */
|
/** @brief Extended CPU information */
|
||||||
struct CPUID0x80000000
|
struct CPUID0x80000000
|
||||||
{
|
{
|
||||||
@ -2651,6 +2698,53 @@ namespace CPU
|
|||||||
} EDX;
|
} EDX;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** @brief Get CPU hypervisor information */
|
||||||
|
struct CPUID0x40000000
|
||||||
|
{
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @brief Maximum input value for hypervisor CPUID information.
|
||||||
|
* @note Can be from 0x40000001 to 0x400000FF
|
||||||
|
*/
|
||||||
|
uint64_t MaximumInputValue : 32;
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EAX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EBX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} ECX;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
/** @brief Hypervisor vendor signature */
|
||||||
|
char Hypervisor[4];
|
||||||
|
};
|
||||||
|
uint64_t raw;
|
||||||
|
} EDX;
|
||||||
|
};
|
||||||
|
|
||||||
/** @brief Extended CPU information */
|
/** @brief Extended CPU information */
|
||||||
struct CPUID0x80000001
|
struct CPUID0x80000001
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user