fix firmware typos
This commit is contained in:
@@ -1082,10 +1082,10 @@ VOID PhSipUpdateCpuPanel(
|
||||
case PhVirtualStatusEnabledFirmware:
|
||||
PhSetWindowText(CpuVirtualizationLabel, L"Enabled");
|
||||
break;
|
||||
case PhVirtualStatusDiabledWithHyperV:
|
||||
case PhVirtualStatusDisabledWithHyperV:
|
||||
PhSetWindowText(CpuVirtualizationLabel, L"Disabled / Hyper-V");
|
||||
break;
|
||||
case PhVirtualStatusDiabled:
|
||||
case PhVirtualStatusDisabled:
|
||||
PhSetWindowText(CpuVirtualizationLabel, L"Disabled");
|
||||
break;
|
||||
case PhVirtualStatusNotCapable:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <kphlibbase.h>
|
||||
#define KPH_DYN_CONFIGURATION_VERSION ((ULONG)15)
|
||||
#define KPH_DYN_CONFIGURATION_VERSION ((ULONG)16)
|
||||
#define KPH_DYN_SESSION_TOKEN_PUBLIC_KEY_LENGTH ((ULONG)539)
|
||||
#define KPH_DYN_CLASS_NTOSKRNL ((USHORT)0)
|
||||
#define KPH_DYN_CLASS_NTKRLA57 ((USHORT)1)
|
||||
@@ -41,6 +41,10 @@ typedef struct _KPH_DYN_KERNEL_FIELDS
|
||||
USHORT AlpcPortObjectLock; // dt nt!_ALPC_PORT PortObjectLock
|
||||
USHORT AlpcSequenceNo; // dt nt!_ALPC_PORT SequenceNo
|
||||
USHORT AlpcState; // dt nt!_ALPC_PORT u1.State
|
||||
USHORT KtInitialStack; // dt nt!_KTHREAD InitialStack
|
||||
USHORT KtStackLimit; // dt nt!_KTHREAD StackLimit
|
||||
USHORT KtStackBase; // dt nt!_KTHREAD StackBase
|
||||
USHORT KtKernelStack; // dt nt!_KTHREAD KernelStack
|
||||
USHORT KtReadOperationCount; // dt nt!_KTHREAD ReadOperationCount
|
||||
USHORT KtWriteOperationCount; // dt nt!_KTHREAD WriteOperationCount
|
||||
USHORT KtOtherOperationCount; // dt nt!_KTHREAD OtherOperationCount
|
||||
|
||||
+6010
-5984
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -826,10 +826,10 @@ PH_VIRTUAL_STATUS PhGetVirtualStatus(
|
||||
if (USER_SHARED_DATA->ProcessorFeatures[PF_SECOND_LEVEL_ADDRESS_TRANSLATION] &&
|
||||
USER_SHARED_DATA->ProcessorFeatures[PF_NX_ENABLED])
|
||||
{
|
||||
return PhVirtualStatusDiabledWithHyperV;
|
||||
return PhVirtualStatusDisabledWithHyperV;
|
||||
}
|
||||
|
||||
return PhVirtualStatusDiabled;
|
||||
return PhVirtualStatusDisabled;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -947,7 +947,7 @@ NTSTATUS PhEnumSMBIOS(
|
||||
_In_opt_ PVOID Context
|
||||
)
|
||||
{
|
||||
static volatile ULONG cachedLength = sizeof(PSYSTEM_FIRMWARE_TABLE_INFORMATION) + 64;
|
||||
static volatile ULONG cachedLength = sizeof(SYSTEM_FIRMWARE_TABLE_INFORMATION) + 64;
|
||||
NTSTATUS status;
|
||||
ULONG length;
|
||||
PSYSTEM_FIRMWARE_TABLE_INFORMATION info;
|
||||
@@ -961,7 +961,7 @@ NTSTATUS PhEnumSMBIOS(
|
||||
info->ProviderSignature = 'RSMB';
|
||||
info->TableID = 0;
|
||||
info->Action = SystemFirmwareTableGet;
|
||||
info->TableBufferLength = length - sizeof(PSYSTEM_FIRMWARE_TABLE_INFORMATION);
|
||||
info->TableBufferLength = length - sizeof(SYSTEM_FIRMWARE_TABLE_INFORMATION);
|
||||
|
||||
status = NtQuerySystemInformation(
|
||||
SystemFirmwareTableInformation,
|
||||
|
||||
@@ -23,8 +23,8 @@ typedef enum _PH_VIRTUAL_STATUS
|
||||
PhVirtualStatusEnabledHyperV = 2,
|
||||
PhVirtualStatusEnabledFirmware = 3,
|
||||
//PhVirtualStatusUnknown = 4,
|
||||
PhVirtualStatusDiabledWithHyperV = 5,
|
||||
PhVirtualStatusDiabled = 6,
|
||||
PhVirtualStatusDisabledWithHyperV = 5,
|
||||
PhVirtualStatusDisabled = 6,
|
||||
} PH_VIRTUAL_STATUS, *PPH_VIRTUAL_STATUS;
|
||||
|
||||
PHLIBAPI
|
||||
|
||||
Reference in New Issue
Block a user