|
OpenCore
1.0.7
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 2558 of file CommonPatches.c.
| #define kHasSupplementalSSE3 0x00000100 |
Definition at line 2559 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 3009 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 1353 of file CommonPatches.c.
| STATIC EFI_STATUS PatchAppleIoMapperSupport | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1304 of file CommonPatches.c.
| STATIC EFI_STATUS PatchAppleRtcChecksum | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 2293 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 2753 of file CommonPatches.c.
| STATIC EFI_STATUS PatchBTFeatureFlags | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 2462 of file CommonPatches.c.
| STATIC EFI_STATUS PatchCustomPciSerialDevice | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 1649 of file CommonPatches.c.
| STATIC EFI_STATUS PatchCustomPciSerialPmio | ( | IN OUT PATCHER_CONTEXT * | Patcher | ) |
Definition at line 1566 of file CommonPatches.c.
| STATIC EFI_STATUS PatchCustomSmbiosGuid | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1709 of file CommonPatches.c.
| STATIC EFI_STATUS PatchDummyPowerManagement | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1406 of file CommonPatches.c.
| STATIC EFI_STATUS PatchForceInternalDiskIcons | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1245 of file CommonPatches.c.
| STATIC EFI_STATUS PatchForceSecureBootScheme | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 2799 of file CommonPatches.c.
| STATIC EFI_STATUS PatchIncreasePciBarSize | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1489 of file CommonPatches.c.
| STATIC EFI_STATUS PatchLapicKernel | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 1882 of file CommonPatches.c.
| STATIC EFI_STATUS PatchLapicKernelLegacy | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 2046 of file CommonPatches.c.
| STATIC EFI_STATUS PatchLapicKernelPanic | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 2083 of file CommonPatches.c.
| STATIC EFI_STATUS PatchLegacyCommpage | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 2569 of file CommonPatches.c.
| STATIC EFI_STATUS PatchPanicKextDump | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
< ret
Definition at line 1759 of file CommonPatches.c.
| STATIC EFI_STATUS PatchPowerStateTimeout | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
Definition at line 2176 of file CommonPatches.c.
| STATIC EFI_STATUS PatchSegmentJettison | ( | IN OUT PATCHER_CONTEXT * | Patcher, |
| IN UINT32 | KernelVersion ) |
< call
Definition at line 2317 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 2891 of file CommonPatches.c.
| STATIC EFI_STATUS PatchSetApfsTrimTimeout | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 2926 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 1541 of file CommonPatches.c.
| STATIC EFI_STATUS PatchThirdPartyDriveSupport | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 1137 of file CommonPatches.c.
| STATIC EFI_STATUS PatchUsbXhciPortLimit1 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 802 of file CommonPatches.c.
| STATIC EFI_STATUS PatchUsbXhciPortLimit2 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 863 of file CommonPatches.c.
| STATIC EFI_STATUS PatchUsbXhciPortLimit3 | ( | IN OUT PATCHER_CONTEXT *Patcher | OPTIONAL, |
| IN UINT32 | KernelVersion ) |
Definition at line 927 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 2979 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mApfsDisableTrimPatch |
Definition at line 2911 of file CommonPatches.c.
| STATIC UINT8 mApfsDisableTrimReplace[] |
Definition at line 2904 of file CommonPatches.c.
| STATIC UINT8 mApfsTimeoutFind[] |
Definition at line 2863 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mApfsTimeoutPatch |
Definition at line 2877 of file CommonPatches.c.
| STATIC UINT8 mApfsTimeoutReplace[] |
Definition at line 2870 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAppleDummyCpuPmPatch |
Definition at line 1392 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleDummyCpuPmPatchReplace[] |
Definition at line 1385 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAppleIoMapperMappingPatch |
Definition at line 1339 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleIoMapperMappingPatchReplace[] |
Definition at line 1333 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAppleIoMapperPatch |
Definition at line 1290 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleIoMapperPatchFind[] |
Definition at line 1278 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleIoMapperPatchReplace[] |
Definition at line 1284 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAppleRtcChecksumPatch32 |
Definition at line 2263 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAppleRtcChecksumPatch64 |
Definition at line 2278 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchFind32[] |
Definition at line 2227 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchFind64[] |
Definition at line 2245 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchMask32[] |
Definition at line 2233 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchMask64[] |
Definition at line 2251 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchReplace32[] |
Definition at line 2239 of file CommonPatches.c.
| STATIC CONST UINT8 mAppleRtcChecksumPatchReplace64[] |
Definition at line 2257 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchFindMaskShikumo[] |
Definition at line 2677 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchFindMieze[] |
Definition at line 2718 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchFindShikumo[] |
Definition at line 2668 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchMaskMieze[] |
Definition at line 2732 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAquantiaEthernetPatchMieze |
Definition at line 2739 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchReplaceMaskShikumo[] |
Definition at line 2695 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchReplaceMieze[] |
Definition at line 2725 of file CommonPatches.c.
| STATIC CONST UINT8 mAquantiaEthernetPatchReplaceShikumo[] |
Definition at line 2686 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mAquantiaEthernetPatchShikumo |
Definition at line 2704 of file CommonPatches.c.
| STATIC CONST UINT8 mAsmLegacyBcopy64[] |
Definition at line 2563 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV1 |
Definition at line 2420 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV2 |
Definition at line 2434 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mBTFeatureFlagsPatchV3 |
Definition at line 2448 of file CommonPatches.c.
| STATIC CONST UINT8 mBTFeatureFlagsReplace[] |
Definition at line 2413 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mCustomSmbiosGuidPatch |
Definition at line 1695 of file CommonPatches.c.
| STATIC CONST UINT8 mCustomSmbiosGuidPatchFind[] |
Definition at line 1683 of file CommonPatches.c.
| STATIC CONST UINT8 mCustomSmbiosGuidPatchReplace[] |
Definition at line 1689 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIncreasePciBarSizeLegacyPatch |
Definition at line 1474 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIncreasePciBarSizePatch |
Definition at line 1447 of file CommonPatches.c.
| STATIC CONST UINT8 mIncreasePciBarSizePatchFind[] |
Definition at line 1435 of file CommonPatches.c.
| STATIC CONST UINT8 mIncreasePciBarSizePatchLegacyFind[] |
Definition at line 1462 of file CommonPatches.c.
| STATIC CONST UINT8 mIncreasePciBarSizePatchLegacyReplace[] |
Definition at line 1468 of file CommonPatches.c.
| STATIC CONST UINT8 mIncreasePciBarSizePatchReplace[] |
Definition at line 1441 of file CommonPatches.c.
| STATIC CONST UINTN mInOutMaxDistance = 64 |
Definition at line 1538 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Find1[] |
Definition at line 1021 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Find2[] |
Definition at line 1028 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch133FindMask[] |
Definition at line 1035 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch133Part1 |
Definition at line 1056 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch133Part2 |
Definition at line 1071 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch133Replace[] |
Definition at line 1042 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch133ReplaceMask[] |
Definition at line 1049 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatch144 |
Definition at line 1122 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch144Find[] |
Definition at line 1086 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch144FindMask[] |
Definition at line 1095 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch144Replace[] |
Definition at line 1104 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatch144ReplaceMask[] |
Definition at line 1113 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatchV1 |
Definition at line 981 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatchV1Find[] |
Definition at line 969 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatchV1Replace[] |
Definition at line 975 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIBlockStoragePatchV2 |
Definition at line 1007 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatchV2Find[] |
Definition at line 995 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIBlockStoragePatchV2Replace[] |
Definition at line 1001 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mIOAHCIPortPatch |
Definition at line 1231 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIPortPatchFind[] |
Definition at line 1219 of file CommonPatches.c.
| STATIC CONST UINT8 mIOAHCIPortPatchReplace[] |
Definition at line 1225 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicLegacyPatch |
Definition at line 1935 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterLegacyPatch1 |
Definition at line 1982 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterLegacyPatch2 |
Definition at line 2031 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicMasterPatch |
Definition at line 1867 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchFind[] |
Definition at line 1848 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyFind1[] |
Definition at line 1950 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyFind2[] |
Definition at line 1997 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyMask1[] |
Definition at line 1958 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyMask2[] |
Definition at line 2006 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplace1[] |
Definition at line 1966 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplace2[] |
Definition at line 2015 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplaceMask1[] |
Definition at line 1974 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchLegacyReplaceMask2[] |
Definition at line 2023 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchMask[] |
Definition at line 1854 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicMasterPatchReplace[] |
Definition at line 1860 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mLapicKernelPanicPatch |
Definition at line 1833 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchFind[] |
Definition at line 1812 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchLegacyFind[] |
Definition at line 1912 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchLegacyMask[] |
Definition at line 1920 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchLegacyReplace[] |
Definition at line 1928 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchMask[] |
Definition at line 1819 of file CommonPatches.c.
| STATIC CONST UINT8 mLapicKernelPanicPatchReplace[] |
Definition at line 1826 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 1745 of file CommonPatches.c.
| STATIC CONST UINT8 mPanicKextDumpPatchFind[] |
Definition at line 1733 of file CommonPatches.c.
| STATIC CONST UINT8 mPanicKextDumpPatchReplace[] |
Definition at line 1739 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 1530 of file CommonPatches.c.
| STATIC UINT32 mPmioRegisterStride = 1 |
To be set by PatchSetPciSerialDevice()
Definition at line 1534 of file CommonPatches.c.
| STATIC CONST UINT8 mPowerStateTimeoutPanicFind[] |
Definition at line 2106 of file CommonPatches.c.
| STATIC CONST UINT8 mPowerStateTimeoutPanicInlineFind[] |
Definition at line 2134 of file CommonPatches.c.
| STATIC CONST UINT8 mPowerStateTimeoutPanicInlineMask[] |
Definition at line 2143 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mPowerStateTimeoutPanicInlinePatch |
Definition at line 2161 of file CommonPatches.c.
| STATIC CONST UINT8 mPowerStateTimeoutPanicInlineReplace[] |
Definition at line 2152 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mPowerStateTimeoutPanicMasterPatch |
Definition at line 2119 of file CommonPatches.c.
| STATIC CONST UINT8 mPowerStateTimeoutPanicReplace[] |
Definition at line 2112 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1Find1[] |
Definition at line 713 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1Find2[] |
Definition at line 755 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1Mask2[] |
Definition at line 763 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitIoP1Patch1 |
Definition at line 725 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitIoP1Patch1Tahoe |
Definition at line 740 of file CommonPatches.c.
| STATIC PATCHER_GENERIC_PATCH mRemoveUsbLimitIoP1Patch2 |
Definition at line 787 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1Replace1[] |
Definition at line 719 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1Replace2[] |
Definition at line 771 of file CommonPatches.c.
| STATIC CONST UINT8 mRemoveUsbLimitIoP1ReplaceMask2[] |
Definition at line 779 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 1524 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.