mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Kernel: Workaround QEMU hypervisor.framework CPUID max leaf bug
This works around issue #10382 until it is fixed on QEMU's side. Patch from Anonymous.
This commit is contained in:
parent
b683e8ab77
commit
1aad64fbe4
2 changed files with 27 additions and 0 deletions
|
@ -84,6 +84,9 @@ class Processor {
|
|||
static Atomic<u32> g_total_processors;
|
||||
u8 m_physical_address_bit_width;
|
||||
u8 m_virtual_address_bit_width;
|
||||
#if ARCH(X86_64)
|
||||
bool m_has_qemu_hvf_quirk;
|
||||
#endif
|
||||
|
||||
ProcessorInfo* m_info;
|
||||
Thread* m_current_thread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue