OpenCore
1.0.4
OpenCore Bootloader
|
#include <Base.h>
#include <IndustryStandard/AppleIntelCpuInfo.h>
#include <Library/BaseMemoryLib.h>
#include <Library/OcDebugLogLib.h>
#include <Library/OcAppleKernelLib.h>
#include <Library/PrintLib.h>
#include <Library/OcFileLib.h>
#include <Library/OcStringLib.h>
#include <Library/UefiLib.h>
#include "LegacyBcopy.h"
Go to the source code of this file.
Data Structures | |
struct | XCPM_MSR_RECORD_ |
struct | COMMPAGE_DESCRIPTOR |
struct | COMMPAGE_DESCRIPTOR_64 |
union | COMMPAGE_DESCRIPTOR_ANY |
Macros | |
#define | COMM_PAGE_BCOPY 0xFFFF0780 |
#define | kHasSupplementalSSE3 0x00000100 |
Typedefs | |
typedef struct XCPM_MSR_RECORD_ | XCPM_MSR_RECORD |
Functions | |
STATIC_ASSERT (sizeof(mMovEcxE2)==5, "Unsupported mMovEcxE2") | |
STATIC_ASSERT (sizeof(mMovCxE2)==4, "Unsupported mMovCxE2") | |
STATIC_ASSERT (sizeof(mWrmsr)==2, "Unsupported mWrmsr") | |
STATIC EFI_STATUS | PatchAppleCpuPmCfgLock (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleXcpmCfgLock (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleXcpmExtraMsrs (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleXcpmForceBoost (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchUsbXhciPortLimit1 (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchUsbXhciPortLimit2 (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchUsbXhciPortLimit3 (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchThirdPartyDriveSupport (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchForceInternalDiskIcons (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleIoMapperSupport (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleIoMapperMapping (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchDummyPowerManagement (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchIncreasePciBarSize (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
VOID | PatchSetPciSerialDevice (IN UINTN RegisterBase, IN UINT32 RegisterStride) |
STATIC EFI_STATUS | PatchCustomPciSerialPmio (IN OUT PATCHER_CONTEXT *Patcher) |
STATIC EFI_STATUS | PatchCustomPciSerialDevice (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchCustomSmbiosGuid (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchPanicKextDump (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchLapicKernel (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchLapicKernelLegacy (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchLapicKernelPanic (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchPowerStateTimeout (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAppleRtcChecksum (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchSegmentJettison (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchBTFeatureFlags (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchLegacyCommpage (IN OUT PATCHER_CONTEXT *Patcher, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchAquantiaEthernet (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC EFI_STATUS | PatchForceSecureBootScheme (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
STATIC_ASSERT (sizeof(mApfsTimeoutFind)==6, "Unsupported mApfsTimeoutFind") | |
STATIC_ASSERT (sizeof(mApfsTimeoutReplace)==6, "Unsupported mApfsTimeoutReplace") | |
VOID | PatchSetApfsTimeout (IN UINT32 Timeout) |
STATIC EFI_STATUS | PatchSetApfsTrimTimeout (IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
EFI_STATUS | KernelApplyQuirk (IN KERNEL_QUIRK_NAME Name, IN OUT PATCHER_CONTEXT *Patcher OPTIONAL, IN UINT32 KernelVersion) |
Commonly used kext and kernel patches.
Copyright (c) 2018, vit9696. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file CommonPatches.c.
#define COMM_PAGE_BCOPY 0xFFFF0780 |
Definition at line 2530 of file CommonPatches.c.
#define kHasSupplementalSSE3 0x00000100 |
Definition at line 2531 of file CommonPatches.c.
typedef struct XCPM_MSR_RECORD_ XCPM_MSR_RECORD |
EFI_STATUS KernelApplyQuirk | ( | IN KERNEL_QUIRK_NAME | Name, |
IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, | ||
IN UINT32 | KernelVersion ) |
Applies the specified quirk.
[in] | Name | KERNEL_QUIRK_NAME specifying the quirk name. |
[in,out] | Patcher | PATCHER_CONTEXT instance. Only optional for kext patching. |
[in] | KernelVersion | Current kernel version. |
Definition at line 2981 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleCpuPmCfgLock | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
< leave; ret
< pop rbp; ret
< mov ecx, 00000xxxxh
< mov cx, 00xxh
Definition at line 53 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleIoMapperMapping | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1325 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleIoMapperSupport | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1276 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleRtcChecksum | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 2265 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleXcpmCfgLock | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 234 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleXcpmExtraMsrs | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 423 of file CommonPatches.c.
STATIC EFI_STATUS PatchAppleXcpmForceBoost | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 576 of file CommonPatches.c.
STATIC EFI_STATUS PatchAquantiaEthernet | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 2725 of file CommonPatches.c.
STATIC EFI_STATUS PatchBTFeatureFlags | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 2434 of file CommonPatches.c.
STATIC EFI_STATUS PatchCustomPciSerialDevice | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 1621 of file CommonPatches.c.
STATIC EFI_STATUS PatchCustomPciSerialPmio | ( | IN OUT PATCHER_CONTEXT * | Patcher | ) |
Definition at line 1538 of file CommonPatches.c.
STATIC EFI_STATUS PatchCustomSmbiosGuid | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1681 of file CommonPatches.c.
STATIC EFI_STATUS PatchDummyPowerManagement | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1378 of file CommonPatches.c.
STATIC EFI_STATUS PatchForceInternalDiskIcons | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1217 of file CommonPatches.c.
STATIC EFI_STATUS PatchForceSecureBootScheme | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 2771 of file CommonPatches.c.
STATIC EFI_STATUS PatchIncreasePciBarSize | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1461 of file CommonPatches.c.
STATIC EFI_STATUS PatchLapicKernel | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 1854 of file CommonPatches.c.
STATIC EFI_STATUS PatchLapicKernelLegacy | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 2018 of file CommonPatches.c.
STATIC EFI_STATUS PatchLapicKernelPanic | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 2055 of file CommonPatches.c.
STATIC EFI_STATUS PatchLegacyCommpage | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 2541 of file CommonPatches.c.
STATIC EFI_STATUS PatchPanicKextDump | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
< ret
Definition at line 1731 of file CommonPatches.c.
STATIC EFI_STATUS PatchPowerStateTimeout | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
Definition at line 2148 of file CommonPatches.c.
STATIC EFI_STATUS PatchSegmentJettison | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
IN UINT32 | KernelVersion ) |
< call
Definition at line 2289 of file CommonPatches.c.
VOID PatchSetApfsTimeout | ( | IN UINT32 | Timeout | ) |
Set timeout value in microseconds for KernelQuirkSetApfsTrimTimeout quirk.
[in] | Timeout | Timeout in microseconds. |
Definition at line 2863 of file CommonPatches.c.
STATIC EFI_STATUS PatchSetApfsTrimTimeout | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 2898 of file CommonPatches.c.
VOID PatchSetPciSerialDevice | ( | IN UINTN | RegisterBase, |
IN UINT32 | RegisterStride ) |
Set PCI serial device properties for KernelQuirkCustomPciSerialDevice quirk.
[in] | RegisterBase | PCI serial device regiser base. |
[in] | RegisterStride | PCI serial device regiser stride. |
Definition at line 1513 of file CommonPatches.c.
STATIC EFI_STATUS PatchThirdPartyDriveSupport | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 1109 of file CommonPatches.c.
STATIC EFI_STATUS PatchUsbXhciPortLimit1 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 787 of file CommonPatches.c.
STATIC EFI_STATUS PatchUsbXhciPortLimit2 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 835 of file CommonPatches.c.
STATIC EFI_STATUS PatchUsbXhciPortLimit3 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
IN UINT32 | KernelVersion ) |
Definition at line 899 of file CommonPatches.c.
STATIC_ASSERT | ( | sizeof(mApfsTimeoutFind) | = =6, |
"Unsupported mApfsTimeoutFind" | ) |
STATIC_ASSERT | ( | sizeof(mApfsTimeoutReplace) | = =6, |
"Unsupported mApfsTimeoutReplace" | ) |
STATIC_ASSERT | ( | sizeof(mMovCxE2) | = =4, |
"Unsupported mMovCxE2" | ) |
STATIC_ASSERT | ( | sizeof(mMovEcxE2) | = =5, |
"Unsupported mMovEcxE2" | ) |
STATIC_ASSERT | ( | sizeof(mWrmsr) | = =2, |
"Unsupported mWrmsr" | ) |
KERNEL_QUIRK gKernelQuirks[] |
Definition at line 2951 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mApfsDisableTrimPatch |
Definition at line 2883 of file CommonPatches.c.
STATIC UINT8 mApfsDisableTrimReplace[] |
Definition at line 2876 of file CommonPatches.c.
STATIC UINT8 mApfsTimeoutFind[] |
Definition at line 2835 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mApfsTimeoutPatch |
Definition at line 2849 of file CommonPatches.c.
STATIC UINT8 mApfsTimeoutReplace[] |
Definition at line 2842 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAppleDummyCpuPmPatch |
Definition at line 1364 of file CommonPatches.c.
STATIC CONST UINT8 mAppleDummyCpuPmPatchReplace[] |
Definition at line 1357 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAppleIoMapperMappingPatch |
Definition at line 1311 of file CommonPatches.c.
STATIC CONST UINT8 mAppleIoMapperMappingPatchReplace[] |
Definition at line 1305 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAppleIoMapperPatch |
Definition at line 1262 of file CommonPatches.c.
STATIC CONST UINT8 mAppleIoMapperPatchFind[] |
Definition at line 1250 of file CommonPatches.c.
STATIC CONST UINT8 mAppleIoMapperPatchReplace[] |
Definition at line 1256 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAppleRtcChecksumPatch32 |
Definition at line 2235 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAppleRtcChecksumPatch64 |
Definition at line 2250 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchFind32[] |
Definition at line 2199 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchFind64[] |
Definition at line 2217 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchMask32[] |
Definition at line 2205 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchMask64[] |
Definition at line 2223 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchReplace32[] |
Definition at line 2211 of file CommonPatches.c.
STATIC CONST UINT8 mAppleRtcChecksumPatchReplace64[] |
Definition at line 2229 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchFindMaskShikumo[] |
Definition at line 2649 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchFindMieze[] |
Definition at line 2690 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchFindShikumo[] |
Definition at line 2640 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchMaskMieze[] |
Definition at line 2704 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAquantiaEthernetPatchMieze |
Definition at line 2711 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchReplaceMaskShikumo[] |
Definition at line 2667 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchReplaceMieze[] |
Definition at line 2697 of file CommonPatches.c.
STATIC CONST UINT8 mAquantiaEthernetPatchReplaceShikumo[] |
Definition at line 2658 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mAquantiaEthernetPatchShikumo |
Definition at line 2676 of file CommonPatches.c.
STATIC CONST UINT8 mAsmLegacyBcopy64[] |
Definition at line 2535 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV1 |
Definition at line 2392 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV2 |
Definition at line 2406 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV3 |
Definition at line 2420 of file CommonPatches.c.
STATIC CONST UINT8 mBTFeatureFlagsReplace[] |
Definition at line 2385 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mCustomSmbiosGuidPatch |
Definition at line 1667 of file CommonPatches.c.
STATIC CONST UINT8 mCustomSmbiosGuidPatchFind[] |
Definition at line 1655 of file CommonPatches.c.
STATIC CONST UINT8 mCustomSmbiosGuidPatchReplace[] |
Definition at line 1661 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIncreasePciBarSizeLegacyPatch |
Definition at line 1446 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIncreasePciBarSizePatch |
Definition at line 1419 of file CommonPatches.c.
STATIC CONST UINT8 mIncreasePciBarSizePatchFind[] |
Definition at line 1407 of file CommonPatches.c.
STATIC CONST UINT8 mIncreasePciBarSizePatchLegacyFind[] |
Definition at line 1434 of file CommonPatches.c.
STATIC CONST UINT8 mIncreasePciBarSizePatchLegacyReplace[] |
Definition at line 1440 of file CommonPatches.c.
STATIC CONST UINT8 mIncreasePciBarSizePatchReplace[] |
Definition at line 1413 of file CommonPatches.c.
STATIC CONST UINTN mInOutMaxDistance = 64 |
Definition at line 1510 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Find1[] |
Definition at line 993 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Find2[] |
Definition at line 1000 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch133FindMask[] |
Definition at line 1007 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch133Part1 |
Definition at line 1028 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch133Part2 |
Definition at line 1043 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Replace[] |
Definition at line 1014 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch133ReplaceMask[] |
Definition at line 1021 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch144 |
Definition at line 1094 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch144Find[] |
Definition at line 1058 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch144FindMask[] |
Definition at line 1067 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch144Replace[] |
Definition at line 1076 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatch144ReplaceMask[] |
Definition at line 1085 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatchV1 |
Definition at line 953 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatchV1Find[] |
Definition at line 941 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatchV1Replace[] |
Definition at line 947 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatchV2 |
Definition at line 979 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatchV2Find[] |
Definition at line 967 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIBlockStoragePatchV2Replace[] |
Definition at line 973 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mIOAHCIPortPatch |
Definition at line 1203 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIPortPatchFind[] |
Definition at line 1191 of file CommonPatches.c.
STATIC CONST UINT8 mIOAHCIPortPatchReplace[] |
Definition at line 1197 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicLegacyPatch |
Definition at line 1907 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterLegacyPatch1 |
Definition at line 1954 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterLegacyPatch2 |
Definition at line 2003 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterPatch |
Definition at line 1839 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchFind[] |
Definition at line 1820 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyFind1[] |
Definition at line 1922 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyFind2[] |
Definition at line 1969 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyMask1[] |
Definition at line 1930 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyMask2[] |
Definition at line 1978 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplace1[] |
Definition at line 1938 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplace2[] |
Definition at line 1987 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplaceMask1[] |
Definition at line 1946 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplaceMask2[] |
Definition at line 1995 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchMask[] |
Definition at line 1826 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicMasterPatchReplace[] |
Definition at line 1832 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicPatch |
Definition at line 1805 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchFind[] |
Definition at line 1784 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchLegacyFind[] |
Definition at line 1884 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchLegacyMask[] |
Definition at line 1892 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchLegacyReplace[] |
Definition at line 1900 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchMask[] |
Definition at line 1791 of file CommonPatches.c.
STATIC CONST UINT8 mLapicKernelPanicPatchReplace[] |
Definition at line 1798 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtDbgFind[] |
Definition at line 393 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mMiscPwrMgmtDbgPatch |
Definition at line 408 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtDbgReplace[] |
Definition at line 400 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mMiscPwrMgmtRel15Patch |
Definition at line 378 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelFind[] |
Definition at line 309 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelFind15[] |
Definition at line 338 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelMask15[] |
Definition at line 348 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mMiscPwrMgmtRelPatch |
Definition at line 323 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelReplace[] |
Definition at line 316 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelReplace15[] |
Definition at line 358 of file CommonPatches.c.
STATIC CONST UINT8 mMiscPwrMgmtRelReplaceMask15[] |
Definition at line 368 of file CommonPatches.c.
STATIC CONST UINT8 mMovCxE2[] |
Definition at line 35 of file CommonPatches.c.
STATIC CONST UINT8 mMovEcxE2[] |
Definition at line 28 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mPanicKextDumpPatch |
Definition at line 1717 of file CommonPatches.c.
STATIC CONST UINT8 mPanicKextDumpPatchFind[] |
Definition at line 1705 of file CommonPatches.c.
STATIC CONST UINT8 mPanicKextDumpPatchReplace[] |
Definition at line 1711 of file CommonPatches.c.
STATIC CONST UINT8 mPerfCtrlFind1[] |
Definition at line 535 of file CommonPatches.c.
STATIC CONST UINT8 mPerfCtrlFind2[] |
Definition at line 542 of file CommonPatches.c.
STATIC CONST UINT8 mPerfCtrlFind3[] |
Definition at line 550 of file CommonPatches.c.
STATIC CONST UINT8 mPerfCtrlFind4[] |
Definition at line 558 of file CommonPatches.c.
STATIC CONST UINT8 mPerfCtrlMax[] |
Definition at line 566 of file CommonPatches.c.
STATIC UINTN mPmioRegisterBase = 0 |
To be set by PatchSetPciSerialDevice()
Definition at line 1502 of file CommonPatches.c.
STATIC UINT32 mPmioRegisterStride = 1 |
To be set by PatchSetPciSerialDevice()
Definition at line 1506 of file CommonPatches.c.
STATIC CONST UINT8 mPowerStateTimeoutPanicFind[] |
Definition at line 2078 of file CommonPatches.c.
STATIC CONST UINT8 mPowerStateTimeoutPanicInlineFind[] |
Definition at line 2106 of file CommonPatches.c.
STATIC CONST UINT8 mPowerStateTimeoutPanicInlineMask[] |
Definition at line 2115 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mPowerStateTimeoutPanicInlinePatch |
Definition at line 2133 of file CommonPatches.c.
STATIC CONST UINT8 mPowerStateTimeoutPanicInlineReplace[] |
Definition at line 2124 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mPowerStateTimeoutPanicMasterPatch |
Definition at line 2091 of file CommonPatches.c.
STATIC CONST UINT8 mPowerStateTimeoutPanicReplace[] |
Definition at line 2084 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1Find1[] |
Definition at line 713 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1Find2[] |
Definition at line 740 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1Mask2[] |
Definition at line 748 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitIoP1Patch1 |
Definition at line 725 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitIoP1Patch2 |
Definition at line 772 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1Replace1[] |
Definition at line 719 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1Replace2[] |
Definition at line 756 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitIoP1ReplaceMask2[] |
Definition at line 764 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitV1Find[] |
Definition at line 659 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitV1Patch |
Definition at line 671 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitV1Replace[] |
Definition at line 665 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitV2Find[] |
Definition at line 686 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitV2Patch |
Definition at line 698 of file CommonPatches.c.
STATIC CONST UINT8 mRemoveUsbLimitV2Replace[] |
Definition at line 692 of file CommonPatches.c.
STATIC CONST UINT8 mSerialDevicePmioFind[] |
Definition at line 1496 of file CommonPatches.c.
STATIC CONST UINT8 mWrmsr[] |
Definition at line 42 of file CommonPatches.c.
STATIC CONST UINTN mWrmsrMaxDistance = 32 |
Definition at line 49 of file CommonPatches.c.
STATIC CONST UINT8 mXcpmCfgLockDbgFind[] |
Definition at line 204 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mXcpmCfgLockDbgPatch |
Definition at line 219 of file CommonPatches.c.
STATIC CONST UINT8 mXcpmCfgLockDbgReplace[] |
Definition at line 211 of file CommonPatches.c.
STATIC CONST UINT8 mXcpmCfgLockRelFind[] |
Definition at line 175 of file CommonPatches.c.
STATIC PATCHER_GENERIC_PATCH mXcpmCfgLockRelPatch |
Definition at line 189 of file CommonPatches.c.
STATIC CONST UINT8 mXcpmCfgLockRelReplace[] |
Definition at line 182 of file CommonPatches.c.