mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:17:35 +00:00
Kernel: Remove EBX, ECX, and EDX values from hypervisor dmesgln()
This commit is contained in:
parent
8d96525b9d
commit
3f9c2495e5
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ UNMAP_AFTER_INIT void Processor::detect_hypervisor()
|
||||||
{
|
{
|
||||||
CPUID hypervisor_leaf_range(0x40000000);
|
CPUID hypervisor_leaf_range(0x40000000);
|
||||||
auto hypervisor_vendor_id_string = m_info->hypervisor_vendor_id_string();
|
auto hypervisor_vendor_id_string = m_info->hypervisor_vendor_id_string();
|
||||||
dmesgln("CPU[{}]: CPUID hypervisor signature '{}' ({:#x} {:#x} {:#x}), max leaf {:#x}", current_id(), hypervisor_vendor_id_string, hypervisor_leaf_range.ebx(), hypervisor_leaf_range.ecx(), hypervisor_leaf_range.edx(), hypervisor_leaf_range.eax());
|
dmesgln("CPU[{}]: CPUID hypervisor signature '{}', max leaf {:#x}", current_id(), hypervisor_vendor_id_string, hypervisor_leaf_range.eax());
|
||||||
|
|
||||||
if (hypervisor_vendor_id_string == "Microsoft Hv"sv)
|
if (hypervisor_vendor_id_string == "Microsoft Hv"sv)
|
||||||
detect_hypervisor_hyperv(hypervisor_leaf_range);
|
detect_hypervisor_hyperv(hypervisor_leaf_range);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue