From e50d6763e018ea9f89502ce6fb892d19468a9edb Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Sat, 5 Jul 2014 14:59:43 +0200 Subject: [PATCH] Updated patches.txt file for UEFIPatch 0.2 --- UEFIPatch/patches.txt | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/UEFIPatch/patches.txt b/UEFIPatch/patches.txt index 5d3ae18..74eac08 100644 --- a/UEFIPatch/patches.txt +++ b/UEFIPatch/patches.txt @@ -1,23 +1,42 @@ -# You can add your own patch here -# Format is simple: "file_GUID search_pattern replace_pattern" -# String beginned with '#' symbol is a comment and will be ignored by the program +# Patch string format +# FileGuid SectionType PatchType:FindPatternOrOffset:ReplacePattern +# Please ensure that the latest symbol in patch string is space + +# Possible section types: +# PE32 image 10 +# Position-independent code 11 +# TE Image 12 +# DXE Dependency 13 +# Version information 14 +# User interface string 15 +# 16-bit code 16 +# Guided freeform 18 +# Raw data 19 +# PEI Dependency 1B +# SMM Dependency 1C +# Please do not try another section types, it can make the resulting image broken + +# Possible patch types: +# P - pattern-based, first parameter is a pattern to find, second - a pattern to replace +# O - offset-based, first parameter is hexadecimal offset, second - a pattern to replace +# Patterns can have . as "any possible value" symbol #---------------------------------------------------------------------------------- -# OSX CPU Power Management Patches +# OSX CPU Power Management patches # Remove lock from MSR 0xE2 register #---------------------------------------------------------------------------------- # PowerMgmtDxe | Haswell -F7731B4C-58A2-4DF4-8980-5645D39ECE58 75080FBAE80F89442430 EB080FBAE80F89442430 +F7731B4C-58A2-4DF4-8980-5645D39ECE58 10 P:75080FBAE80F89442430:EB080FBAE80F89442430 + # PowerMgmtDxe | Haswell-E -F7731B4C-58A2-4DF4-8980-5645D39ECE58 0FBA6C24380F 0FBA7424380F +F7731B4C-58A2-4DF4-8980-5645D39ECE58 10 P:0FBA6C24380F:0FBA7424380F # PowerManagement | Sandy Bridge with ME 8.xx, Ivy Bridge -8C783970-F02A-4A4D-AF09-8797A51EEC8D 75080FBAE80F89442430 EB080FBAE80F89442430 +8C783970-F02A-4A4D-AF09-8797A51EEC8D 10 P:75080FBAE80F89442430:EB080FBAE80F89442430 # PowerManagement | New SB-E/IB-E -8C783970-F02A-4A4D-AF09-8797A51EEC8D 0FBA6C24380F 0FBA7424380F +8C783970-F02A-4A4D-AF09-8797A51EEC8D 10 P:0FBA6C24380F:0FBA7424380F # CpuPei | Sandy Bridge with ME 7.xx, old SB-E/IB-E -2BB5AFA9-FF33-417B-8497-CB773C2B93BF 800018EB050D0080 000018EB050D0000 - +2BB5AFA9-FF33-417B-8497-CB773C2B93BF 10 P:800018EB050D0080:000018EB050D0000