提交 840c5494 编写于 作者: 草原企鹅's avatar 草原企鹅

add config checker rules resources

上级 105a95d8
=<div style="text-align:center;font-size:30px;">AMD Zen OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 AMD Zen Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/AMD/zen.html">https://desktop.dortania.ml/AMD/zen.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/AMD/zen.html#kernel
# [acpi]:https://desktop.dortania.ml/AMD/zen.html#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/AMD/zen.html#platforminfo
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]~=AWAC.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]~=RTC0.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]~=ALS0.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-PMC.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-PNLF.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-SBUS-MCHC.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
:Patch
count>15 "!-->您可能在错误的部分中添加了内核补丁。它们应该在Kernel部分."
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=no
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=yes
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]==SMCProcessor.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCSuperIO.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==IntelMausiEthernet.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==IntelMausi.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==AppleIGB.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==NullCPUPowerManagement.kext "!<b>{$BundlePath}</b> -->设置<b>DummyPowerManagement</b>quirk而不是使用此kext"
[BundlePath]==USBInjectAll.kext "!<b>{$BundlePath}</b> -->在AMD平台上不起作用"
[BundlePath]==Legacy_USB3.kext "!<b>{$BundlePath}</b> -->不应该在这里"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Patch
count<20 "!<b>{$count}</b> -->找到补丁-您是否正确应用了内核补丁?"
count>19 " -->AMD内核补丁"
[MatchOS]~=.+ "!-->您使用了Clover补丁,而不是OpenCore的"
[Replace]~=\xbb\xbc\x4f\xea\x78\xe9\x5d\x00\x00\x00\x90 " -->找到Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN补丁":"--->Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN补丁丢失或不正确"
:Quirks
AppleCpuPmCfgLock=no
AppleXcpmCfgLock=no
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=no
DisableRtcChecksum=no
DummyPowerManagement=yes " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这里需要启用"
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode~=(Builtin|External) " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->应将其设置为<b>Builtin</b> 或 <b>External</b>"
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=no
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMacPro1,1|MacPro7,1|MacPro6,1|iMac14,2)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->这不是建议用于AMD系统的SMBIOS. 请查看<a href=https://desktop.dortania.ml/AMD/zen.html#platforminfo>[PlatformInfo Docs]</a>"
MLB~="(M000000000001|M0000000000000001)" "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看<a href=https://desktop.dortania.ml/AMD/zen.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM~="(112233000000|112233445566)" "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看<a href=https://desktop.dortania.ml/AMD/zen.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看<a href=https://desktop.dortania.ml/AMD/zen.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看<a href=https://desktop.dortania.ml/AMD/zen.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">AMD FX OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 AMD FX Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/AMD/fx.html">https://desktop.dortania.ml/AMD/fx.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/AMD/fx.html#kernel
# [acpi]:https://desktop.dortania.ml/AMD/fx.html#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/AMD/fx.html#platforminfo
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]~=AWAC.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]~=RTC0.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]~=ALS0.+aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-PMC.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-PNLF.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==SSDT-SBUS-MCHC.aml "-<b>{$Path}</b> -->在AMD上不需要"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
:Patch
count>15 "!-->您可能在错误的部分中添加了内核补丁。它们应该在Kernel部分."
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=no
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=no
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]==SMCProcessor.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCSuperIO.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->此VirtualSMC插件在AMD平台上不起作用"
[BundlePath]==IntelMausiEthernet.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==IntelMausi.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==AppleIGB.kext "-<b>{$BundlePath}</b> -->这可能不是适用于AMD系统的正确以太网接口"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==NullCPUPowerManagement.kext "!<b>{$BundlePath}</b> -->设置<b>DummyPowerManagement</b>quirk而不是使用此kext"
[BundlePath]==USBInjectAll.kext "!<b>{$BundlePath}</b> -->在AMD平台上不起作用"
[BundlePath]==Legacy_USB3.kext "!<b>{$BundlePath}</b> -->不应该在这里"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Patch
count<20 "!<b>{$count}</b> -->找到补丁-您是否正确应用了内核补丁?"
count>19 " -->AMD内核补丁"
[MatchOS]~=.+ "!-->您使用了Clover补丁,而不是OpenCore的"
[Replace]~=\xbb\xbc\x4f\xea\x78\xe9\x5d\x00\x00\x00\x90 " -->找到Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN补丁":"--->Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN补丁丢失或不正确"
:Quirks
AppleCpuPmCfgLock=no
AppleXcpmCfgLock=no
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=no
DisableRtcChecksum=no
DummyPowerManagement=yes
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=no
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMacPro1,1|MacPro7,1|MacPro6,1|iMac14,2)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->这不是建议用于AMD系统的SMBIOS. 请查阅 <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlatformInfo Docs]</a>"
MLB~="(M000000000001|M0000000000000001)" "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo]>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM~="(112233000000|112233445566)" "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Broadwell-E OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Broadwell-E Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config-HEDT/broadwell-e.html">https://desktop.dortania.ml/config-HEDT/broadwell-e.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config-HEDT/broadwell-e#kernel
# [acpi]:https://desktop.dortania.ml/config-HEDT/broadwell-e#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config-HEDT/broadwell-e#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=no
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Emulate
Cpuid1Data=d4060300000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->您需要在此处进行正确的CPU仿冒"
Cpuid1Mask=ffffffff000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b>"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=yes
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=no
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMacPro1,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Broadwell-E这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale=100 "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect~=.*
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Coffee Lake Desktop OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Coffee Lake Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config.plist/coffee-lake.html">https://desktop.dortania.ml/config.plist/coffee-lake.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/coffee-lake#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/coffee-lake#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/coffee-lake##deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]!=SSDT-AWAC.aml "-<b>SSDT-AWAC.aml<b> --->缺少. 如果你需要它,请查看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>"
[Path]!=SSDT-PMC.aml "-<b>SSDT-PMC.aml<b> --->缺少. 如果你需要它,请查看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=yes
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="0900a53e|0900923e|09009b3e|0000a53e|0000923e|0000003e|00009b3e|0400a53e|0500a53e|0500a63e|06009b3e|08009b3e|07009b3e|0300923e|0300913e|0300983e" " <b>{$setting}</b> = <b>{$value}</b> -->iGPU设置正确":"-<b>{$setting}</b> = <b>{$value}</b> - -->iGPU可能设置不正确. 请阅读 <a href=https://desktop.dortania.ml/config.plist/coffee-lake##deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMac19,1|iMac18,3)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Coffee Lake台式机系统,这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看<a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Haswell Desktop OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Haswell Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config.plist/haswell.html">https://desktop.dortania.ml/config.plist/haswell.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/haswell#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/haswell#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/haswell#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/haswell#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]!=SSDT-EHCx_OFF.aml "-<b>SSDT-EHCx_OFF.aml</b> -->缺失. 请查看 <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=no
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="0000060c|0000160c|0000260c|00000604|00001604|00002604|0000260d|0000160a|0000260a|0500260a|0600260a|08002e0a|0c00160a|0700260d|0300220d|0a002e0a|0a00260a|0d002e0a|0d00260a|04001204|0b001204|0900260d|0e00260d|0f00260d" " <b>{$setting}</b> = <b>{$value}</b> -->iGPU设置正确":"-<b>{$setting}</b> = <b>{$value}</b> - -->iGPU可能设置不正确. 请阅读 <a href=https://desktop.dortania.ml/config.plist/haswell.html##deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SystemProductName~="(iMac14,1|iMac14,2|iMac15,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Haswell台式机系统,这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看<a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution=Max " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Haswell-E OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Haswell-E Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config-HEDT/haswell-e.html">https://desktop.dortania.ml/config-HEDT/haswell-e.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config-HEDT/haswell-e#kernel
# [acpi]:https://desktop.dortania.ml/config-HEDT/haswell-e#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config-HEDT/haswell-e#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=no
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Emulate
Cpuid1Data=c3060300000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->您需要在此处进行正确的CPU仿冒"
Cpuid1Mask=ffffffff000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b>"
:Quirks
AppleCpuPmCfgLock=yes
AppleXcpmCfgLock=yes
AppleXcpmExtraMsrs=yes
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum~=.* "!<b>{$setting}</b> -->这是OpenCore v0.5.8的选项"
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=no
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~=(^$)|(MacPro5,1) "!<b>{$setting}</b> -->你需要设置这个。请查看 <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> = <b>{$value}</b>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Ivy Bridge Desktop OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Ivy Bridge Desktop Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config.plist/ivy-bridge.html">https://desktop.dortania.ml/config.plist/ivy-bridge.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/ivy-bridge.html#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/ivy-bridge.html#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/ivy-bridge.html#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]==SSDT-PLUG.aml "-<b>{$Path}</b> -->在Sandy和Ivy Bridge系统上不起作用"
[Path]==SSDT-GPIO.aml "-<b>{$Path}</b> -->这不属于Ivy Bridge平台下的"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "---><b>{$Path}</b> 不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b> 和 <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%-->您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#acpi>[Acpi Docs]</a>"
[Path]!=SSDT-CPU-PM.aml "---><b>SSDT-CPU-PM.aml</b>缺失. 请查看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#acpi>[Acpi Docs]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Block
[Enabled]==no "!<b>{$Comment}</b> Patch is <b>disabled</b>! Enable this to make sure SSDT-CPU-PM works."
[Enabled]==yes " <b>{$Comment}</b> -->补丁现在是 <b>启用</b>状态"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=no
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=no
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="0a006601|05006201|03006601|09006601|04006601" " <b>{$setting}</b> = <b>{$value}</b> -->iGPU设置正确":"-<b>{$setting}</b> = <b>{$value}</b> - -->iGPU可能设置不正确. 请阅读 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]==VoodooHDA.kext " <b>{$BundlePath}</b> -->请注意:<b>AppleALC.kext</b> 往往具有更好的音频质量"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMac13,1|iMac13,2)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Bridge台式机系统,这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config.plist/ivy-bridge.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">Kaby Lake Desktop OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Kaby Lake Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config.plist/kaby-lake.html">https://desktop.dortania.ml/config.plist/kaby-lake.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/kaby-lake#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/kaby-lake#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/kaby-lake#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/kaby-lake#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看[ACPI文档] [acpi]"
[Path]==DSDT.aml "-<b>{$Path}</b>--><font clolor="blue"> 您不应该包括转储的DSDT。</font>请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b>-->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b>-->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}--></b>状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "-->-缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectSecureBoot=no
ProtectMemoryRegions=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=yes
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="00001e59|00001659|00002359|00002659|00002759|09002759|00001259|00001b59|01001e59|02001859|03001259|07002659|04002759|02002659|06001b59" " <b>{$setting}</b> = <b>{$value}</b> -->iGPU设置正确":"-<b>{$setting}</b> = <b>{$value}</b> - -->iGPU可能设置不正确. 请阅读<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见 <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMac18,1|iMac18,3)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Kaba lake台式机系统,这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看 <a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看. <a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看 <a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">SkyLake Desktop OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel SkyLake Sanity Check
=参考文章:<a href="https://desktop.dortania.ml/config.plist/skylake.html">https://desktop.dortania.ml/config.plist/skylake.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/skylake#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/skylake#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/skylake#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/skylake#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看<a href=https://desktop.dortania.ml/config.plist/kaby-lake.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> -->您不应该包括转储的DSDT。请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> -->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b> -->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}</b> -->状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "--->缺少<b>SSDT-PLUG.aml</b>. 请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectSecureBoot=no
ProtectMemoryRegions=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=yes
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="00001e19|00001619|00002619|00002719|00001b19|00003b19|00001219|01000219|01001719|01001219|01003219|02001619|02002619|03001e19|04002619|04002719|05003b19|06001b19|07002619" " <b>{$setting}<b> = <b>{$value}<b> -->iGPU设置正确":"-<b>{$setting}</b> = <b>{$value}</b> - -->iGPU可能设置不正确. 请阅读<a href=https://desktop.dortania.ml/config.plist/skylake.html#deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这是需要放在第一个的kext":"!-->缺少<b>Lilu.kext</b>. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> -->这个VirtualSMC笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "<b>{$BundlePath}</b> -->你可能不需要这个"
[BundlePath]==FakePCIID.kext "<b>{$BundlePath}</b> -->有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext -<b>{$BundlePath}</b> "-->有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"%-->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMac17,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> -->对于Skylake台式机系统,这不是建议的SMBIOS. 请参看<a href=https://desktop.dortania.ml/config.plist/skylake.html#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看<a href=https://desktop.dortania.ml/config-HEDT/skylake#platforminfo>[PlatformInfo Docs]</a>:" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看<a href=https://desktop.dortania.ml/config.plist/skylake.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看<a href=https://desktop.dortania.ml/config.plist/skylake.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}<b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看<a href=https://desktop.dortania.ml/config.plist/skylake.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<div style="text-align:center;font-size:30px;">SkyLake-X OpenCore 0.5.9</div><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel SkyLake-X Sanity Check
=参考文章<a href="https://desktop.dortania.ml/config-HEDT/skylake-x.html">https://desktop.dortania.ml/config-HEDT/skylake-x.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config-HEDT/skylake-x#kernel
# [acpi]:https://desktop.dortania.ml/config-HEDT/skylake-x#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config-HEDT/skylake-x#deviceproperties
ACPI
:Add
count==0 "-您没有SSDT补丁。请查看[ACPI文档] [acpi]"
[Path]==DSDT.aml "-<b>{$Path}</b>--><font clolor="blue"> 您不应该包括转储的DSDT。</font>请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b>-->这只是SSDT的一个例子。如果你真的是自己做的, 称它为更具描述性的东西"
[Path]~=".dsl$" "!<b>{$Path}</b>-->在此处只能是.aml文件。 dsl文件需要编译为.aml"
[Enabled]==no "-<b>{$Path}--></b>状态是<b>已禁用</b>. 启用或删除它可以去除此警告"
[Path]!=SSDT-PLUG.aml "-->-缺少<b>SSDT-PLUG.aml</b>. 请查看[ACPI文档] [acpi]"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml"-->-<b>{$Path}/b>不要同时使用 <b>SSDT-EC-USBX-DESKTOP</b>和<b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%您可能需要类似SSDT-EC.aml或SSDT-EC-USBX-DESKTOP.aml的文件.请查看<a href=https://desktop.dortania.ml/config.plist/skylake.html#acpi>[ACPI文档]</a>"
[Path]==* " <b>{$Path}</b> -->确保此文件在您的<b>OC/ACPI</b>目录中"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectMemoryRegions=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>ProtectMemoryRegions</b>"
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.7开始已弃用 - 请参阅<b>RebuildAppleMemoryMap</b>"
SignalAppleOS=no
SyncRuntimePermissions=yes
ProvideMaxSlide~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
DeviceProperties
Kernel
:Add
count==0 "!-->您没有Kexts. 您至少得需要Lilu.kext和VirtualSMC.kext. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts文档]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b>-->确保此Kext在您的 <b>OC/Kexts</b> 目录,这里列出的第一个kext":"!--><b>Lilu.kext</b> 缺少. 将其添加到此列表的顶部"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "---><b>{$BundlePath}<b> 不要同时使用 <b>FakeSMC.kext<b> 和 <b>VirtualSMC.kext<b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "--->你应该在此处添加 <b>FakeSMC.kext</b> 或 <b>VirtualSMC.kext</b>"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "---><b>{$BundlePath}</b> 不要同时使用 <b>VoodooHDA.kext</b> 和 <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='<b>{$setting}</b> = <b>{$value}</b> --->您需要添加 <b>alcid=</b>layout_id 因为您使用的是AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "---><b>WhateverGreen.kext</b>缺少. 请查看<a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!--><b>XLNCUSBFIX.kext</b> 这是AMD专用的kext,请勿在Intel上使用"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-->-<b>{$BundlePath}</b> 虽然这可能有效, 但<b>SmallTreeIntel82576.kext</b> 被认为更可靠"
[BundlePath]==SMCLightSensor.kext "!--><b>{$BundlePath}</b> VirtualSMC 笔记本电脑插件在台式机上不起作用"
[BundlePath]==SMCBatteryManager.kext "!--><b>{$BundlePath}</b> VirtualSMC 笔记本电脑插件在台式机上不起作用"
[BundlePath]==XHCI-unsupported.kext "---><b>{$BundlePath}</b> 你可能不需要这个"
[BundlePath]==FakePCIID.kext "---><b>{$BundlePath}</b> 有更好的伪造设备ID的方法"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext "-->-<b>{$BundlePath}</b> 有更好的伪造设备ID的方法"
[BundlePath]==* "<b>{$BundlePath}</b> -->确保此Kext位于您的 <b>OC/Kexts</b> 目录"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> -->您应该在BIOS中禁用CFG-Lock,而不要使用此功能":" <b>{$setting}</b> = <b>{$value}</b> -->确保在您的BIOS中禁用了CFG-Lock"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> -->USB端口定制后关闭":" <b>{$setting}</b> = <b>{$value}</b> -->如果您有USB问题,请启用"
Misc
:Boot
HideSelf~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
TakeoffDelay=0
BuiltinTextRenderer~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 参见UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
ConsoleMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
Resolution~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已移至UEFI / Output部分"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> -->启用此功能将有助于调试"
Target=67 :" <b>{$setting}</b> -->有关调试目标编号的更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>"
DisplayLevel=2147483714 :" <b>{$setting}</b> -->有关更多信息,请参见<a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a>调试显示级别"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> -->boot-args进入nvram部分,而不是这里"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. -->初始配置时候这里可以为0,但是配置完成后,请在OCC里自定义显示哪些启动盘"
:Tools
count==0 " -->您好像没有一些EFI工具程序":"% -->您可以在此处删除EFI工具程序"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> -->但这通常设置为 <b>01</b> 或 <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> -->我想你的意思是 <b>npci=</b> 而不是 <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> -->如果您有navi10 GPU,请添加 <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> -->完全删除此设置。从OpenCore v0.5.7开始不再使用"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. -->除非您使用俄语,否则请留空或设置其他语言":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> -->这应该是一个正数"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.5开始被<b>AdviseWindows</b>取代"
SystemProductName~="(iMacPro1,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> 对于Skylake-X台式机系统,这不是建议的SMBIOS. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> -->应该设置为您生成的板卡序列号. 请参看<a href=https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> -->您应该将此设置为您的NIC MAC地址. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> -->应该设置为您生成的系统序列号. 请参看 <a href=https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> -->应该设置为您生成的SmUUID. 请参看<a href=https://desktop.dortania.ml/config-HEDT/skylake-x#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> -->已设置"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!-->这里需要 <b>VBoxHfs.efi</b> 或 <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> -->你已经有了 <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!--><b>OpenRuntime.efi</b>缺少"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> -->从OpenCore v0.5.7开始已由OpenRuntime.efi取代"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> -->自OpenCore v0.5.8起,已合并在UEFI/APFS部分"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> -->不应该在这里!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> -->不应该在这里!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> -->不应该在这里!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> -->不应该在这里!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> -->不应该在这里!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> -->除非您执行旧版安装,否则不需要"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> -->已被合并在OpenCore的<b>AppleSmcIo</b> quirks下 !"
Drivers==~^#.* "!<b>{$value}</b> -->如果您要加载此文件,请完全删除<b>#</b>"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
GlobalConnect~=.* "!<b>{$setting}</b> -->这是OpenCore最新开发版0.6.0新加选项,对于0.5.9不需要"
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!-->您应该在UEFI/ProtocolOverrides部分中正确设置15个选项"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!-->您应该在<b>UEFI/OUTPUT</b>部分中设置10个设置"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> -->不应该在这里"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.9开始已弃用"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> -->从OpenCore v0.5.6开始已弃用 - 请参看 Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
<?php
class OpenCorePlist extends CFPropertyList\CFPropertyList {
function __construct(string $filename) {
if(!file_exists($filename)) {
throw new \Exception("File not found - ".getcwd()." $filename ");
}
parent::__construct($filename, CFPropertyList\CFPropertyList::FORMAT_XML);
}
function applyRules(Rules $rules) {
$seen_title = [];
// Check for missing groups
foreach(array_keys(array_diff_key($rules->rule, $this->toArray())) as $missing_group) {
$this->print_msg("-<span class=\"warning\">$missing_group</span> -->缺失此组内容");
}
// Check for missing sections
$confArray = $this->toArray();
foreach($rules->rule as $group=>$block) {
foreach($block as $k=>$v) {
if($k == 'top' || $k[1]==':') continue;
if(!array_key_exists(trim($k,':'), $confArray[$group])) {
$this->print_msg("!<b>$group</b> - <b>".trim($k,':')."</b> -->缺失此部分");
}
}
}
foreach($this->toArray() as $group=>$d) {
if (!array_key_exists($group, $rules->rule)) {
$this->print_msg("-<span class=\"warning\">$group</span> -->这些内容不需要");
continue;
}
echo "\n<br/><div class=\"group\" style=\"text-align:center\">$group</div><br/>\n";
if(!empty($rules->rule[$group]["top"])) {
foreach($rules->rule[$group]["top"] as $rule) {
if(!empty($rule)) {
$msgs = $rule->exec($d, $this->value[0]->{$group});
if($rule->title && empty($seen_title[$rule->title])) {
echo "\n<br/><span class=\"section\">".$rule->title."</span><br/>\n";
$seen_title[$rule->title] = true;
}
foreach($msgs as $k=>$msg) {
if(!empty($msg) && $msg!='""') {
$this->print_msg($msg);
// Make sure we don't match more rules to the same entry
if(is_int($k) && $k) {
unset($d[$k-1]);
}
// @phan-suppress-next-line PhanTypeArraySuspicious
else if($k[0]==':') {
// @phan-suppress-next-line PhanTypeMismatchArgumentInternal
[,$sec,$tk] = explode(':',$k,3);
unset($d[$sec][$tk]);
}
else if($k) unset($d[$k]);
}
}
}
}
}
foreach($d as $section=>$dd) {
if(empty($seen_title[$section])) {
echo "<br/><span class=\"section\">$section</span><br/>";
$seen_title[$section] = true;
}
if(!empty($rules->rule[$group][":$section"])) {
foreach($rules->rule[$group][":$section"] as $rule) {
if(!empty($rule)) {
$msgs = $rule->exec($dd, $this->value[0]->{$group}->{$section});
foreach($msgs as $k=>$msg) {
if(!empty($msg) && $msg!='""') {
$this->print_msg($msg);
if(is_int($k) && $k) unset($dd[$k-1]); // Make sure we don't match more rules to the same entry
else if($k) unset($dd[$k]);
}
}
}
}
}
// Check if there are rules hiding in a sub-section
if(is_array($dd)) {
foreach($dd as $ssection=>$ddd) {
if(!empty($rules->rule[$group]["::$ssection"])) {
foreach($rules->rule[$group]["::$ssection"] as $rule) {
if(!empty($rule)) {
$msgs = $rule->exec($ddd, $this->value[0]->{$group}->{$section}->{$ssection}, false);
foreach($msgs as $k=>$msg) {
if(!empty($msg) && $msg!='""') {
$this->print_msg($msg);
if(is_int($k) && $k) unset($ddd[$k-1]); // Make sure we don't match more rules to the same entry
else if($k) unset($ddd[$k]);
}
}
}
}
}
}
}
}
echo "<hr>\n";
$seen_title = [];
}
}
function print_msg($msg) {
$msg = trim($msg,'"');
switch($msg[0]) {
case ' ': $sev = 'good'; $icon = 'check-circle'; $msg = substr($msg,1); break;
case '-': $sev = 'warn'; $icon = 'question-circle'; $msg = substr($msg,1); break;
case '!': $sev = 'err'; $icon = 'times-circle'; $msg = substr($msg,1); break;
case '%': $sev = 'info'; $icon = 'info-circle'; $msg = substr($msg,1); break;
default: $sev = 'good'; $icon = 'check-circle'; break;
}
if(preg_match('/{\$([^}]+)}/', $msg, $match)) {
echo "<span class=\"err\"> -->这里缺失了<b>{$match[1]}</b></span><br/>\n";
} else {
echo "<span class=\"{$sev}\">$msg</span><br/>\n"; // Markdown-extra to add the severity class - see main.css
}
}
}
<?php
class Rules {
/** @var array */
public $rule = [];
/** An array of rules can be passed in for testing purposes */
function __construct(string $filename, array $rls = []) {
if(empty($rls)) {
if(!file_exists($filename)) {
throw new \Exception('File not found');
}
$rls = file($filename);
}
$group = null;
$vars = $rule = [];
foreach($rls as $line) {
if(!strlen($line)) continue;
switch($line[0]) {
case '#': case "\n": break;
case '=': echo substr($line,1); break;
case ' ':
if(empty($group)) throw new \Exception("Rule $line must belong to a group");
if(empty($section)) {
if(empty(trim($line))) break;
$rule[$group]['top'][] = Rule::make(trim($line), $vars);
} else {
if(empty(trim($line))) break;
$rule[$group][$section][] = Rule::make(trim($line), $vars);
}
break;
case ':':
if(empty($group)) throw new \Exception("Section $line must belong to a group");
$section = trim($line);
$rule[$group][$section] = [];
break;
case '$':
$vars[] = trim($line);
break;
default:
$group = trim($line);
$section = null;
$rule[$group] = [];
break;
}
}
$this->rule = $rule;
}
static function getList(string $path) {
$ret = [];
$dir = new DirectoryIterator($path);
foreach ($dir as $fileinfo) {
if($fileinfo->getExtension() === 'lst') {
$fn = $fileinfo->getFilename();
$fo = $fileinfo->openFile('r');
$short = trim($fo->fgets(),"# \r\n");
$long = trim($fo->fgets(),"# \r\n");
$ret[substr($fn,0,-4)] = ['short'=>$short, 'long'=>$long];
}
}
uasort($ret, function($a,$b) { return $a['short']<=>$b['short']; });
return $ret;
}
}
class Rule {
public $title = '';
public static $symbol_table = []; // This is the symbol table populated in by variables set in msgtrue/msgfalse as they trigger
static function make (string $line, array $varstrs) {
@[$rulestr,$msgstr] = preg_split('@"[^"]*"(*SKIP)(*F)|\s+@', $line);
@[$msgtrue,$msgfalse] = preg_split('@"[^"]*"(*SKIP)(*F)|:@', $msgstr);
if(!preg_match('@"[^"]*"(*SKIP)(*F)|(==|!=|=|<|>|~=)@', $rulestr, $match)) {
throw new \Exception("Syntax error on rule: $rulestr");
}
$op = $match[1];
[$left,$right] = preg_split('@"[^"]*"(*SKIP)(*F)|(==|!=|=|<|>|~=)@', $rulestr);
$vars = [];
foreach($varstrs as $var) {
if(strstr($var, '=') === false) {
throw new \Exception("Syntax error on variable assign $var");
}
[$name,$val] = explode('=', $var, 2);
$vars['{'.$name.'}'] = $val;
}
if($left == 'count') {
return new CountRule($op, $right, $msgtrue, $msgfalse, $vars);
}
if($left[0] == '[') {
return new AttrValueRule($op, $left, $right, $msgtrue, $msgfalse, $vars);
}
return new SettingRule($op, $left, $right, $msgtrue, $msgfalse, $vars);
}
static function valStr($val, $node=null, $raw_binary = false) {
if($val === true) $ret = "Yes";
else if($val === false) $ret = "No";
else if($val === "") $ret = "空";
else if($node && $node instanceof CFPropertyList\CFData) {
if($raw_binary) $ret = $val;
else $ret = bin2hex((string)$val);
} else $ret = $val;
return $ret;
}
static function valCast($val, $node=null, $raw_binary=false) {
if($node instanceof CFPropertyList\CFString) {
return (string)$val;
} else if($node instanceof CFPropertyList\CFNumber) {
return (int)$val;
} else if($node instanceof CFPropertyList\CFData) {
if(!$raw_binary) return bin2hex($val);
else return $val;
}
return $val;
}
static function setVars(?string $str):?string {
if(empty($str)) return $str;
$tmp = trim($str, '"');
if(empty($tmp)) return $str;
if($tmp[0] == '$') {
if(preg_match("@^(\\\$\w+)=(.*(?:'[^']*'(*SKIP)(*F)|;))(.*)\$@", $tmp, $matches)) {
static::$symbol_table['{'.$matches[1].'}'] = trim(trim($matches[2],';'),"'");
$str = '"'.$matches[3].'"';
}
}
return $str;
}
static function repVars(?string $str, array $vars):?string {
if(empty($str)) return $str;
$str = strtr($str, $vars + static::$symbol_table);
// Allow for vars to contain vars, so do it again
$str = strtr($str, $vars + static::$symbol_table);
return $str;
}
}
class CountRule extends Rule {
private $op;
private $right;
private $msgtrue;
private $msgfalse;
private $vars;
function __construct(string $op, string $right, ?string $msgtrue, ?string $msgfalse, array $vars) {
$this->op = $op;
$this->right = $right;
$this->msgtrue = $msgtrue;
$this->msgfalse = $msgfalse;
$this->vars = $vars;
$this->title = '';
}
public function exec($arg, $unused_node, $unused_check_missing=true):array {
$count = count($arg);
$vars = $this->vars + [ '{$count}' => $count ];
$msgtrue = Rule::repVars((string)$this->msgtrue, $vars);
$msgfalse = Rule::repVars((string)$this->msgfalse, $vars);
switch($this->op) {
case '==': $ret = ($count==$this->right) ? [$msgtrue]:[$msgfalse]; break;
case '!=': $ret = ($count!=$this->right) ? [$msgtrue]:[$msgfalse]; break;
case '<': $ret = ($count<$this->right) ? [$msgtrue]:[$msgfalse]; break;
case '>': $ret = ($count>$this->right) ? [$msgtrue]:[$msgfalse]; break;
default:
throw new \Exception("Invalid operator in count expression");
}
return [Rule::setVars($ret[0])];
}
}
class AttrValueRule extends Rule {
private $op;
private $left;
private $right;
private $msgtrue;
private $msgfalse;
private $vars = [];
function __construct(string $op, string $left, string $right, ?string $msgtrue, ?string $msgfalse, array $vars) {
$this->op = $op;
$this->left = substr($left,1,-1);
$this->msgtrue = $msgtrue;
$this->msgfalse = $msgfalse;
$this->vars = $vars;
$this->title = '';
if(strtolower($right)=='yes') $this->right = true;
else if(strtolower($right)=='no') $this->right = false;
else $this->right = trim($right,'"');
}
public function exec($arg, $node, $unused_check_missing=true):array {
$vars = $this->vars;
$ret = [];
$lop = null;
// Special case, * matches all remaining attributes that haven't matched a previous rule
if($this->op == '==' && $this->right === '*') {
foreach($arg as $key=>$v) {
if(!is_array($v)) continue;
foreach($v as $kk=>$vv) $vars = array_merge($vars, [ '{$'.$kk.'}' => Rule::valStr($vv) ]);
$msgtrue = Rule::repVars(Rule::setVars((string)$this->msgtrue), $vars);
$ret[$key+1] = $msgtrue;
}
return $ret;
}
$lookfor = [$this->right];
if(preg_match('@"[^"]*"(*SKIP)(*F)|\|@', $this->right)) {
$lookfor = preg_split('@"[^"]*"(*SKIP)(*F)|\|@', $this->right);
$lop = '|';
}
if(preg_match('@"[^"]*"(*SKIP)(*F)|&@', $this->right)) {
if($lop) {
throw new \Exception("Mixing | and & in a single expression is currently not supported");
}
$lookfor = preg_split('@"[^"]*"(*SKIP)(*F)|&@', $this->right);
$lop = '&';
}
$found = false;
$found_count = 0;
$fvs = [];
foreach($arg as $key=>$v) {
if(!is_array($v)) continue;
foreach($lookfor as $look) {
if(is_string($look)) $look = Rule::repVars($look, $vars);
if($this->op == '~=') {
if(array_key_exists($this->left, $v) && preg_match('@'.$look.'@', $v[$this->left])) { $found_count++; $fvs[$key] = $v; }
} else {
if(!$lop || $lop=='|') {
if(array_key_exists($this->left, $v) && $v[$this->left] === $look) { $found_count++; $fvs[$key] = $v; }
} else if($lop=='&') {
if(array_key_exists($this->left, $v) && $v[$this->left] === $look) { $found_count++; $fvs[$key] = $v; }
}
}
}
}
if($lop=='&' && $found_count >= count($lookfor)) $found = true;
else if($lop!='&' && $found_count) $found = true;
if(!$found) {
$ret = [Rule::setVars($this->msgfalse)];
} else {
foreach($fvs as $fkey=>$fv) {
foreach($fv as $kk=>$vv) $vars = array_merge($vars, [ '{$'.$kk.'}' => Rule::valStr($vv) ]);
if($this->op == '!=') {
$msgfalse = Rule::repVars((string)$this->msgfalse, $vars);
$ret[$fkey+1] = Rule::setVars($msgfalse); // return with index to remove match from list
} else {
$msgtrue = Rule::repVars((string)$this->msgtrue, $vars);
$ret[$fkey+1] = Rule::setVars($msgtrue); // return with index to remove match from list
}
}
}
return $ret;
}
}
class SettingRule extends Rule {
private $op = "";
private $left = "";
private $right = "";
private $msgtrue = "";
private $msgfalse = "";
private $vars = [];
function __construct(string $op, string $left, string $right, ?string $msgtrue, ?string $msgfalse, array $vars) {
$this->op = $op;
$this->left = $left;
if($op != '=' && $op != '~=') $this->title = $left;
$this->msgtrue = $msgtrue;
$this->msgfalse = $msgfalse;
$this->vars = $vars;
if(strtolower($right)=='yes') $this->right = true;
else if(strtolower($right)=='no') $this->right = false;
else $this->right = trim($right,'"');
}
public function exec($arg, $node, $check_missing=true):array {
$vars = $this->vars;
$ret = [];
$msgtrue = $msgfalse = "";
foreach($arg as $key=>$val) {
if($this->op == '=' || $this->op == '~=') {
if($this->left === $key) {
// Populate local symbol table
$vars = $this->vars + [ '{$setting}' => $key, '{$value}' => Rule::valStr($val, $node->{$key}), '{@value}' => Rule::valStr($val, $node->{$key}, true) ];
if(!empty($this->msgtrue)) {
$msgtrue = Rule::repVars($this->msgtrue, $vars);
}
if(!empty($this->msgfalse)) {
$msgfalse = Rule::repVars($this->msgfalse, $vars);
}
if(is_string($this->right)) $right = Rule::repVars($this->right, $vars);
else $right = $this->right;
$cmp = Rule::valCast($val, $node->{$key});
// Apply condition
if(($this->op == '=' && $right == $cmp) || ($this->op == '~=' && preg_match('@'.$right.'@', $cmp))) {
$ret[$key] = empty($msgtrue) ? "\n<b>$key</b> = <b>".Rule::valStr($val, $node->{$key})."</b>" : Rule::setVars($msgtrue);
} else {
if(empty($msgfalse)) {
$ret[$key] = "-<b>$key</b> = <b>".Rule::valStr($val, $node->{$key})."</b>-->但通常设置为 <b>".Rule::valStr($right, $node->{$key})."</b>";
} else {
$ret[$key] = Rule::setVars($msgfalse);
}
}
}
} else if($this->left === $key) {
if(!is_array($val)) {
return ["!<b>$key</b> -->内容缺失"];
}
//
// Special case, regex across all remaining attributes
if($this->op == '==' && $this->right[0] === '~') {
foreach($val as $k=>$v) {
$vars = $this->vars + [ '{$setting}' => $key, '{$value}' => Rule::valStr($v, $node->{$k}), '{@value}' => Rule::valStr($v, $node->{$k}, true) ];
$msgtrue = Rule::repVars($this->msgtrue, $vars);
if(preg_match('@'.substr($this->right,1).'@', $v)) {
$ret[":$key:$k"] = Rule::setvars($msgtrue);
}
}
continue;
}
// Special case, * matches all remaining attributes that haven't matched a previous rule
if($this->op == '==' && $this->right === '*') {
foreach($val as $k=>$v) {
$vars = $this->vars + [ '{$setting}' => $key, '{$value}' => Rule::valStr($v, $node->{$k}), '{@value}' => Rule::valStr($v, $node->{$k}, true) ];
$msgtrue = Rule::repVars($this->msgtrue, $vars);
$ret[":$key:$k"] = Rule::setvars($msgtrue);
}
return $ret;
}
$found = false;
$found_count = 0;
$fv = [];
$lop = null;
$lookfor = [$this->right];
if(preg_match('@"[^"]*"(*SKIP)(*F)|\|@', $this->right)) {
$lookfor = preg_split('@"[^"]*"(*SKIP)(*F)|\|@', $this->right);
$lop = '|';
}
if(preg_match('@"[^"]*"(*SKIP)(*F)|&@', $this->right)) {
if($lop) {
throw new \Exception("Mixing | and & in a single expression is currently not supported");
}
$lookfor = preg_split('@"[^"]*"(*SKIP)(*F)|&@', $this->right);
$lop = '&';
}
$found = false;
$found_count = $fkey = 0;
$fv = '';
foreach($val as $k=>$v) {
$cmp = Rule::valCast($v, $node->{$k});
foreach($lookfor as $look) {
if(is_string($look)) $look = Rule::repVars($look, $vars);
if(!$lop || $lop=='|') {
if($cmp === $look) { $found_count++; $fkey = $k; $fv = $cmp; }
} else if($lop=='&') {
if($cmp === $look) { $found_count++; $fkey = $k; $fv = $cmp; }
}
}
}
if($lop=='&' && $found_count >= count($lookfor)) $found = true;
else if((!$lop || $lop=='|') && $found_count) $found = true;
$vars = $this->vars + [ '{$setting}' => $key, '{$value}' => $fv ];
$msgtrue = Rule::repVars($this->msgtrue, $vars);
$msgfalse = Rule::repVars($this->msgfalse, $vars);
if($this->op == '!=') {
if(!$found) $ret = [Rule::setVars($msgtrue)];
else $ret[":$key:$fkey"] = Rule::setVars($msgfalse); // return with full encoded index to remove match from list
} else {
if($found) $ret[":$key:$fkey"] = Rule::setVars($msgtrue); // return with full encoded index to remove match from list
else $ret = [Rule::setVars($msgfalse)];
}
}
}
if(empty($this->msgtrue) && $check_missing && ($this->op == '=' || $this->op == '~=') && empty($ret)) {
$right = Rule::valStr($this->right);
$vars = $this->vars + [ '{$setting}' => $this->left, '{$value}' => $right ];
// Overriding user-supplied msgfalse in this missing setting case
$msgfalse = "-<b>{$this->left}</b> -->缺失内容. 通常设置为 <b>{$right}</b>";
$ret = [$msgfalse];
}
return $ret;
}
}
=<span class="title">AMD Zen OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 AMD Zen Sanity Check
=<a href="https://desktop.dortania.ml/AMD/zen.html">https://desktop.dortania.ml/AMD/zen.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/AMD/zen.html#kernel
# [acpi]:https://desktop.dortania.ml/AMD/zen.html#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/AMD/zen.html#platforminfo
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/AMD/fx.html#acpi>[ACPI Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the [ACPI Docs][acpi]."
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled</b>. Either enable it or remove it to get rid of this warning"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP</b> and <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the [ACPI Docs][acpi]"
[Path]~=AWAC.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]~=RTC0.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]~=ALS0.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-PMC.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-PNLF.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-SBUS-MCHC.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
:Patch
count>15 "!You may have added the kernel patches in the wrong section. They should be in the Kernel section. Please review the [Kernel Docs][kernel]"
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=no
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=yes
DeviceProperties
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the [Kexts Docs][kexts]"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext</b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]==SMCProcessor.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCSuperIO.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==IntelMausiEthernet.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==IntelMausi.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==AppleIGB.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==NullCPUPowerManagement.kext "!<b>{$BundlePath}</b> set the <b>DummyPowerManagement</b> quirk instead of using this kext"
[BundlePath]==USBInjectAll.kext "!<b>{$BundlePath}</b> Does not work on AMD"
[BundlePath]==Legacy_USB3.kext "!<b>{$BundlePath}</b> shouldn't be here"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the [Kexts Docs][kexts]"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Patch
count<20 "!<b>{$count}</b> patches found - Did you apply the kernel patches correctly? Please review the [Kernel Docs][kernel]"
count>19 " AMD kernel patches"
[MatchOS]~=.+ "!You have used Clover patches, not OpenCore"
[Replace]~=\xbb\xbc\x4f\xea\x78\xe9\x5d\x00\x00\x00\x90 " Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN patch found":"-Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN patch is missing or incorrect"
:Quirks
AppleCpuPmCfgLock=no
AppleXcpmCfgLock=no
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=no
DisableRtcChecksum=no
DummyPowerManagement=yes " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this needs to be enabled"
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode~=(Builtin|External) " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be set to either <b>Builtin</b> or <b>External</b>"
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=no
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the [Debugging Docs][debug] for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see [Debugging Docs][debug] for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check [Scanpolicy Docs][scanpolicy] for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> was replaced with <b>AdviseWindows</b> in OpenCore v0.5.5"
SystemProductName~="(iMacPro1,1|MacPro7,1|MacPro6,1|iMac14,2)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> this is not a suggested SMBIOS for AMD systems. See [PlatformInfo Docs][platforminfo]"
MLB~="(M000000000001|M0000000000000001)" "!<b>{$setting}</b> should be set to your generated board serial. See [PlatformInfo Docs][platforminfo]":" <b>{$setting}</b> is set"
ROM~="(112233000000|112233445566)" "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See [PlatformInfo Docs][platforminfo]":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the [PlaformInfo Docs][platforminfo]":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the [PlaformInfo Docs][platforminfo]":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here unless running legacy!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> should not be here!"
Drivers==~^#.* "!<b>{$value}</b> remove the </b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<span class="title">AMD FX OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 AMD FX Sanity Check
=<a href="https://desktop.dortania.ml/AMD/fx.html">https://desktop.dortania.ml/AMD/fx.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/AMD/fx.html#kernel
# [acpi]:https://desktop.dortania.ml/AMD/fx.html#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/AMD/fx.html#platforminfo
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/AMD/fx.html#acpi>[ACPI Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the <a href=https://desktop.dortania.ml/AMD/fx.html#acpi>[ACPI Docs].</a>"
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled</b>. Either enable it or remove it to get rid of this warning"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP</b> and <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the <a href=https://desktop.dortania.ml/AMD/fx.html#acpi>[ACPI Docs]</a>"
[Path]~=AWAC.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]~=RTC0.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]~=ALS0.+aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-PMC.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-PNLF.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==SSDT-SBUS-MCHC.aml "-<b>{$Path}</b> is not needed on AMD"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
:Patch
count>15 "!You may have added the kernel patches in the wrong section. They should be in the Kernel section. Please review the <a href=https://desktop.dortania.ml/AMD/fx.html#kernel>[Kernel Docs]</a>"
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=no
DeviceProperties
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext</b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]==SMCProcessor.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCSuperIO.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC plugins don't work on AMD"
[BundlePath]==IntelMausiEthernet.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==IntelMausi.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==AppleIGB.kext "-<b>{$BundlePath}</b> this is probably not the right ethernet kext for an AMD system"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==NullCPUPowerManagement.kext "!<b>{$BundlePath}</b> set the <b>DummyPowerManagement</b> quirk instead of using this kext"
[BundlePath]==USBInjectAll.kext "!<b>{$BundlePath}</b> Does not work on AMD"
[BundlePath]==Legacy_USB3.kext "!<b>{$BundlePath}</b> shouldn't be here"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the <a href='[kexts]'>[Kexts Docs]</a>"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Patch
count<20 "!<b>{$count}</b> patches found - Did you apply the kernel patches correctly? Please review the <a href='https://desktop.dortania.ml/AMD/fx.html#kernel'>[Kernel Docs]</a>"
count>19 " AMD kernel patches"
[MatchOS]~=.+ "!You have used Clover patches, not OpenCore"
[Replace]~=\xbb\xbc\x4f\xea\x78\xe9\x5d\x00\x00\x00\x90 " Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN patch found":"-Catalina 10.15.4 CPUFAMILY_INTEL_PENRYN patch is missing or incorrect"
:Quirks
AppleCpuPmCfgLock=no
AppleXcpmCfgLock=no
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=no
DisableRtcChecksum=no
DummyPowerManagement=yes
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=no
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see [Debugging Docs][debug] for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check <a href=https://desktop.dortania.ml/post-install/security.html#scanpolicy>[Scanpolicy Docs]</a> for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> was replaced with <b>AdviseWindows</b> in OpenCore v0.5.5"
SystemProductName~="(iMacPro1,1|MacPro7,1|MacPro6,1|iMac14,2)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> this is not a suggested SMBIOS for AMD systems. See <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlatformInfo Docs]</a>"
MLB~="(M000000000001|M0000000000000001)" "!<b>{$setting}</b> should be set to your generated board serial. See <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo]>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
ROM~="(112233000000|112233445566)" "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the <a href=https://desktop.dortania.ml/AMD/fx.html#platforminfo>[PlaformInfo Docs]</a>":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here unless running legacy!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> should not be here!"
Drivers==~^#.* "!<b>{$value}</b> remove the <b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<span class="title">Broadwell-E OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Broadwell-E Sanity Check
=<a href="https://desktop.dortania.ml/config-HEDT/broadwell-e.html">https://desktop.dortania.ml/config-HEDT/broadwell-e.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config-HEDT/broadwell-e#kernel
# [acpi]:https://desktop.dortania.ml/config-HEDT/broadwell-e#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config-HEDT/broadwell-e#deviceproperties
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#acpi>[ACPI Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#acpi>[ACPI Docs]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled<b>. Either enable it or remove it to get rid of this warning"
[Path]!=SSDT-PLUG.aml "-<b>SSDT-PLUG.aml</b> is missing. See the [ACPI Docs][acpi]"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP</b> and <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#acpi>[ACPI Docs]</a>"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=no
DeviceProperties
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext<b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!<b>XLNCUSBFIX.kext</b> this is an AMD-specific kext, don't use on Intel"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==XHCI-unsupported.kext "-<b>{$BundlePath}</b> you probably don't need this"
[BundlePath]==FakePCIID.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Emulate
Cpuid1Data=d4060300000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> you need correct CPU spoofing here"
Cpuid1Mask=ffffffff000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b>"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmExtraMsrs=yes
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments<b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Vault"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check <a href=https://desktop.dortania.ml/post-install/security.html#scanpolicy>[Scanpolicy Docs]</a> for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=no
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> was replaced with <b>AdviseWindows</b> in OpenCore v0.5.5"
SystemProductName~="(iMacPro1,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> this is not a suggested SMBIOS for Broadwell-E Desktop systems. See <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> should be set to your generated board serial. See <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the <a href=https://desktop.dortania.ml/config-HEDT/broadwell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==~^#.* "!<b>{$value}</b> remove the <b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale=100 "!<b>{$setting}</b> shouldn't be here":"!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
ReconnectOnResChange~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect~=.*
:ReservedMemory
=<span class="title">Coffee Lake Desktop OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Coffee Lake Sanity Check
=<a href="https://desktop.dortania.ml/config.plist/coffee-lake.html">https://desktop.dortania.ml/config.plist/coffee-lake.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/coffee-lake#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/coffee-lake#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/coffee-lake##deviceproperties
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled<b>. Either enable it or remove it to get rid of this warning"
[Path]!=SSDT-PLUG.aml "-<b>SSDT-PLUG.aml<b> is missing. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP<b> and <b>SSDT-EC<b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a>"
[Path]!=SSDT-AWAC.aml "-<b>SSDT-AWAC.aml<b> is missing. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a> if you need it"
[Path]!=SSDT-PMC.aml "-<b>SSDT-PMC.aml<b> is missing. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#acpi>[Acpi Docs]</a> if you need it"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=yes
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="0900a53e|0900923e|09009b3e|0000a53e|0000923e|0000003e|00009b3e|0400a53e|0500a53e|0500a63e|06009b3e|08009b3e|07009b3e|0300923e|0300913e|0300983e" " <b>{$setting}</b> = <b>{$value}</b> iGPU set correctly":"-<b>{$setting}</b> = <b>{$value}</b> - iGPU may not be set correctly. Please read the <a href=https://desktop.dortania.ml/config.plist/coffee-lake##deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext</b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!<b>XLNCUSBFIX.kext</b> this is an AMD-specific kext, don't use on Intel"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==XHCI-unsupported.kext "-<b>{$BundlePath}</b> you probably don't need this"
[BundlePath]==FakePCIID.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check <a href=https://desktop.dortania.ml/post-install/security.html#scanpolicy>[Scanpolicy Docs]</a> for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm=no "!<b>{$setting}</b> was replaced with <b>AdviseWindows<b> in OpenCore v0.5.5":"!<b>{$setting}</b> was replaced with <b>AdviseWindows</b> in OpenCore v0.5.5"
SystemProductName~="(iMac19,1|iMac18,3)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> this is not a suggested SMBIOS for Coffee Lake Desktop systems. See <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> should be set to your generated board serial. See <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the <a href=https://desktop.dortania.ml/config.plist/coffee-lake#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==~^#.* "!<b>{$value}</b> remove the <b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=no
ReconnectOnResChange~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<span class="title">Haswell Desktop OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Haswell Sanity Check
=<a href="https://desktop.dortania.ml/config.plist/haswell.html">https://desktop.dortania.ml/config.plist/haswell.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config.plist/haswell#kernel
# [acpi]:https://desktop.dortania.ml/config.plist/haswell#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config.plist/haswell#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config.plist/haswell#deviceproperties
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled</b>. Either enable it or remove it to get rid of this warning"
[Path]!=SSDT-PLUG.aml "-<b>SSDT-PLUG.aml</b> is missing. See the <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP</b> and <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>"
[Path]!=SSDT-EHCx_OFF.aml "-<b>SSDT-EHCx_OFF.aml</b> is missing. See the <a href=https://desktop.dortania.ml/config.plist/haswell.html#acpi>[Acpi Docs]</a>"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=no
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=no
DeviceProperties
:Add
::PciRoot(0x0)/Pci(0x2,0x0)
AAPL,ig-platform-id~="0000060c|0000160c|0000260c|00000604|00001604|00002604|0000260d|0000160a|0000260a|0500260a|0600260a|08002e0a|0c00160a|0700260d|0300220d|0a002e0a|0a00260a|0d002e0a|0d00260a|04001204|0b001204|0900260d|0e00260d|0f00260d" " <b>{$setting}</b> = <b>{$value}</b> iGPU set correctly":"-<b>{$setting}</b> = <b>{$value}</b> - iGPU may not be set correctly. Please read the <a href=https://desktop.dortania.ml/config.plist/haswell.html##deviceproperties>[DeviceProperties Docs]</a>"
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext</b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!<b>XLNCUSBFIX.kext</b> this is an AMD-specific kext, don't use on Intel"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==XHCI-unsupported.kext "-<b>{$BundlePath}</b> you probably don't need this"
[BundlePath]==FakePCIID.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==FakePCIID_Intel_HDMI_Audio.kext "-<b>{$BundlePath}</b> there are better ways to fake device ids"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Quirks
AppleCpuPmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmCfgLock=yes " <b>{$setting}</b> = <b>{$value}</b> You should disable CFG-Lock in your bios instead of using this":" <b>{$setting}</b> = <b>{$value}</b> Make sure CFG-Lock is disabled in your bios"
AppleXcpmExtraMsrs=no
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum=no
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check <a href=https://desktop.dortania.ml/post-install/security.html#scanpolicy>[Scanpolicy Docs]</a> for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=yes
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SystemProductName~="(iMac14,1|iMac14,2|iMac15,1)" " <b>{$setting}</b> = <b>{$value}</b>":"-<b>{$setting}</b> = <b>{$value}</b> this is not a suggested SMBIOS for Haswell Desktop systems. See <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>"
MLB=M000000000001 "!<b>{$setting}</b> should be set to your generated board serial. See <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the <a href=https://desktop.dortania.ml/config.plist/haswell.html#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==HiiDatabase.efi "!<b>{$value}</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==~^#.* "!<b>{$value}</b> remove the </b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution=Max " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
ReconnectOnResChange~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
=<span class="title">Haswell-E OpenCore 0.5.9</span><br/>
# Generic config suitable for initial installation
# OpenCore v0.5.9 Intel Haswell-E Sanity Check
=<a href="https://desktop.dortania.ml/config-HEDT/haswell-e.html">https://desktop.dortania.ml/config-HEDT/haswell-e.html</a>
=<hr>
# [kernel]:https://desktop.dortania.ml/config-HEDT/haswell-e#kernel
# [acpi]:https://desktop.dortania.ml/config-HEDT/haswell-e#acpi
# [kexts]:https://desktop.dortania.ml/ktext.html#kexts
# [debug]:https://desktop.dortania.ml/troubleshooting/debug.html
# [scanpolicy]:https://desktop.dortania.ml/post-install/security.html#scanpolicy
# [platforminfo]:https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo
# [deviceproperties]:https://desktop.dortania.ml/config-HEDT/haswell-e#deviceproperties
ACPI
:Add
count==0 "-You have no SSDT Patches. Please review the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#acpi>[Acpi Docs]</a>"
[Path]==DSDT.aml "-<b>{$Path}</b> You should not be including your dumped DSDT. Please review the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#acpi>[Acpi Docs]</a>."
[Path]==SSDT-1.aml "-<b>{$Path}</b> This is just an example SSDT. If you really made this yourself, call it something more descriptive"
[Path]~=".dsl$" "!<b>{$Path}</b> Only include .aml files here. dsl files need to be compiled to .aml"
[Enabled]==no "-<b>{$Path}</b> is <b>disabled</b>. Either enable it or remove it to get rid of this warning"
[Path]!=SSDT-PLUG.aml "-<b>SSDT-PLUG.aml</b> is missing. See the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#acpi>[Acpi Docs]</a>"
[Path]==SSDT-EC-USBX-DESKTOP.aml&SSDT-EC.aml "-<b>{$Path}</b> don't use both <b>SSDT-EC-USBX-DESKTOP</b> and <b>SSDT-EC</b>"
[Path]~=-EC.+aml :"%You might need something like SSDT-EC.aml or SSDT-EC-USBX-DESKTOP.aml. See the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#acpi>[Acpi Docs]</a>"
[Path]==* " <b>{$Path}</b> Make sure this file is in your OC/ACPI directory"
:Quirks
count==5
FadtEnableReset=no
NormalizeHeaders=no
RebaseRegions=no
ResetHwSig=no
ResetLogoStatus=no
Booter
:Quirks
AvoidRuntimeDefrag=yes
DevirtualiseMmio=yes
DisableSingleUser=no
DisableVariableWrite=no
DiscardHibernateMap=no
EnableSafeModeSlide=yes
EnableWriteUnprotector=yes
ForceExitBootServices=no
ProtectCsmRegion~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>ProtectMemoryRegions</b> instead"
ProtectMemoryRegions=no
ProtectSecureBoot=no
ProtectUefiServices=no
ProvideCustomSlide=yes
RebuildAppleMemoryMap=yes
SetupVirtualMap=yes
ShrinkMemoryMap~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.7 - See <b>RebuildAppleMemoryMap</b> instead"
SignalAppleOS=no
SyncRuntimePermissions=no
DeviceProperties
Kernel
:Add
count==0 "!You have no Kexts. You definitely need at least Lilu.kext and VirtualSMC.kext. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==Lilu.kext " <b>Lilu.kext</b> make sure this Kext is in your <b>OC/Kexts</b> directory and the first kext listed here":"!<b>Lilu.kext</b> is missing. Add it to the top of this list"
[BundlePath]==FakeSMC.kext&VirtualSMC.kext "-<b>{$BundlePath}</b> don't use both <b>FakeSMC.kext</b> and <b>VirtualSMC.kext</b>"
[BundlePath]!=FakeSMC.kext|VirtualSMC.kext "-you should have either <b>FakeSMC.kext</b> or <b>VirtualSMC.kext</b> here"
[BundlePath]==VoodooHDA.kext&AppleALC.kext "-<b>{$BundlePath}</b> don't use both <b>VoodooHDA.kext</b> and <b>AppleALC.kext</b>"
[BundlePath]==AppleALC.kext "$alcbootarg='-<b>{$setting}</b> = <b>{$value}</b> You need to add <b>alcid=</b><_layout_\> here since you are using AppleALC.kext';":"$alcbootarg=;"
[BundlePath]!=WhateverGreen.kext "-<b>WhateverGreen.kext</b> is missing. Please review the <a href=https://desktop.dortania.ml/ktext.html#kexts>[Kexts Docs]</a>"
[BundlePath]==XLNCUSBFIX.kext "!<b>XLNCUSBFIX.kext</b> this is an AMD-specific kext, don't use on Intel"
[BundlePath]==SmallTree-Intel-211-AT-PCIe-GBE.kext "-<b>{$BundlePath}</b> while this might work, <b>SmallTreeIntel82576.kext</b> is considered more reliable"
[BundlePath]==SMCLightSensor.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==SMCBatteryManager.kext "!<b>{$BundlePath}</b> VirtualSMC laptop plugins don't work on Desktop"
[BundlePath]==* " <b>{$BundlePath}</b> make sure this Kext is in your <b>OC/Kexts</b> directory"
:Emulate
Cpuid1Data=c3060300000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> you need correct CPU spoofing here"
Cpuid1Mask=ffffffff000000000000000000000000 " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b>"
:Quirks
AppleCpuPmCfgLock=yes
AppleXcpmCfgLock=yes
AppleXcpmExtraMsrs=yes
AppleXcpmForceBoost=no
CustomSMBIOSGuid=no
DisableIoMapper=yes
DisableRtcChecksum~=.* "!<b>{$setting}</b> is for OpenCore v0.5.8"
DummyPowerManagement=no
ExternalDiskIcons=no
IncreasePciBarSize=no
LapicKernelPanic~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PanicNoKextDump=yes
PowerTimeoutKernelPanic=yes
ThirdPartyDrives=no
XhciPortLimit=yes " <b>{$setting}</b> = <b>{$value}</b> turn off after USB port mapping":" <b>{$setting}</b> = <b>{$value}</b> enable if you have USB issues"
Misc
:Boot
BuiltinTextRenderer~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
ConsoleBehaviourOs~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleBehaviourUi~="" "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
ConsoleMode~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
Resolution~=.* "!<b>{$setting}</b> has been moved to UEFI/Output section as of OpenCore v0.5.6"
ConsoleAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
HideSelf~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
PollAppleHotKeys=no
ShowPicker=yes
UsePicker~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
TakeoffDelay=0
HibernateMode=None
PickerMode=Builtin
HideAuxiliary=no
PickerAttributes~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PickerAudioAssist=no
Timeout=5
:Debug
AppleDebug=yes
ApplePanic=yes
DisableWatchDog=yes :" <b>{$setting}</b> enabling this will help debugging"
Target=67 :" <b>{$setting}</b> see the <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info on debug target numbers"
DisplayLevel=2147483714 :" <b>{$setting}</b> see <a href=https://desktop.dortania.ml/troubleshooting/debug.html>[Debugging Docs]</a> for more info debug display levels"
DisplayDelay=0
:Entries
[Arguments]~=debug "!<b>Arguments</b> = <b>{$Arguments}</b> boot-args go in the nvram section, not here"
:Security
AllowNvramReset=yes
AllowSetDefault=yes
AuthRestart=no
BlacklistAppleUpdate=yes
BootProtect=Bootstrap
RequireSignature~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
RequireVault~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See <b>Vault</b>"
Vault=Optional
HaltLevel=2147483648
ExposeSensitiveData=6 :" <b>{$setting}</b> = <b>{$value}</b>"
ScanPolicy=0 :"-<b>{$setting}</b> = <b>{$value}</b>. Initially you want 0 here, but once you are up and running check <a href=https://desktop.dortania.ml/post-install/security.html#scanpolicy>[Scanpolicy Docs]</a> for why you should change this"
:Tools
count==0 " You removed the tool EFIs":"%You can remove the tool EFIs here"
NVRAM
LegacyEnable=no
LegacyOverwrite=no
WriteFlash=no
:Add
::4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale~=(01|02) " <b>{$setting}</b> = <b>{$value}</b>":" <b>{$setting}</b> = <b>{$value}</b> but it is usally set to <b>01</b> or <b>02</b>"
DefaultBackgroundColor~=.* " <b>{$setting}</b> = <b>{$value}</b>"
::7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args~="ncpi=" "!<b>{$setting}</b> = <b>{$value}</b> I think you mean <b>npci=</b> there not <b>ncpi=</b>":""
boot-args~="^(?:(?!alcid).)*$" "{$alcbootarg}":""
boot-args="-v keepsyms=1" " <b>{$setting}</b> = <b>{$value}</b> If you have a navi10 GPU add <b>agdpmod=pikera</b>":" <b>{$setting}</b> = <b>{$value}</b>"
csr-active-config~=.* " <b>{$setting}</b> = <b>{$value}</b>"
nvda_drv~=.* "!<b>{$setting}</b> = <b>{$value}</b> Remove this setting completely. It is no longer used as of OpenCore v0.5.7"
prev-lang:kbd=72752d52553a323532 "-<b>{$setting}</b> = <b>{$value} ({@value})</b>. Unless you speak Russian, leave this blank":" <b>{$setting}</b> = <b>{$value} ({@value})</b>"
SystemAudioVolume~="^\d+$" " <b>{$setting}</b> = <b>{$value}</b>":"!<b>{$setting}</b> = <b>{$value}</b> this should be a positive number"
PlatformInfo
Automatic=yes
UpdateDataHub=yes
UpdateNVRAM=yes
UpdateSMBIOS=yes
UpdateSMBIOSMode=Create
:Generic
SpoofVendor=yes
AdviseWindows=no
SupportsCsm~=.* "!<b>{$setting}</b> was replaced with <b>AdviseWindows</b> in OpenCore v0.5.5"
SystemProductName~=(^$)|(MacPro5,1) "!<b>{$setting}</b> You need to set this. See <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> = <b>{$value}</b>"
MLB=M000000000001 "!<b>{$setting}</b> should be set to your generated board serial. See <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
ROM=112233000000 "-<b>{$setting}</b> = <b>{$value}</b> You should set this to your NIC MAC address. See <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemSerialNumber=W0000000001 "!<b>{$setting}</b> should be set to your generated system serial number. See the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
SystemUUID=00000000-0000-0000-0000-000000000000 "!<b>{$setting}</b> should be set to your generated SmUUID. See the <a href=https://desktop.dortania.ml/config-HEDT/haswell-e#platforminfo>[PlatformInfo Docs]</a>":" <b>{$setting}</b> is set"
UEFI
ConnectDrivers=yes
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "$hfs={$value}; <b>{$value}</b>":"!Need either <b>VBoxHfs.efi</b> or <b>HFSPlus.efi</b> here"
Drivers==VBoxHfs.efi|HFSPlus.efi|HfsPlus.efi "!<b>{$value}</b> you already have <b>{$hfs}</b>"
Drivers==OpenRuntime.efi " <b>{$value}</b>":"!<b>OpenRuntime.efi</b> is missing"
Drivers==FwRuntimeServices.efi "!<b>{$value}</b> has been replaced by OpenRuntime.efi as of OpenCore v0.5.7"
Drivers==ApfsDriverLoader.efi "!<b>ApfsDriverLoader.efi</b> was merged into OpenCore under the UEFI/APFS section as of OpenCore v0.5.8"
Drivers==OpenCore.efi "!<b>OpenCore.efi</b> should not be here!"
Drivers==AppleUsbKbdxe.efi "!<b>AppleUsbKbdxe.efi</b> should not be here!"
Drivers==NvmExpressDxe.efi "!<b>NvmExpressDxe.efi</b> should not be here!"
Drivers==XhciDxe.efi "!<b>XhciDxe.efi</b> should not be here!"
Drivers==AppleUsbKbDxe.efi "-<b>AppleUsbKbDxe.efi</b> Unless you are doing a legacy install, you don't need this"
Drivers==VirtualSmc.efi "!<b>VirtualSmc.efi</b> was merged into OpenCore under the quirk <b>AppleSmcIo</b>!"
Drivers==~^#.* "!<b>{$value}</b> remove the <b>#</b> if you want this to load otherwise remove entirely"
Drivers==* " <b>{$value}</b>"
:APFS
EnableJumpstart=yes
HideVerbose=yes
JumpstartHotPlug=no
MinDate=0
MinVersion=0
:Audio
AudioSupport~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioDevice~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioCodec~=.* " <b>{$setting}</b> = <b>{$value}</b>"
AudioOut~=.* " <b>{$setting}</b> = <b>{$value}</b>"
MinimumVolume~=.* " <b>{$setting}</b> = <b>{$value}</b>"
PlayChime~=.* " <b>{$setting}</b> = <b>{$value}</b>"
VolumeAmplifier~=.* " <b>{$setting}</b> = <b>{$value}</b>"
:Input
KeyFiltering=no
KeyForgetThreshold=5
KeyMergeThreshold=2
KeySupport=yes
KeySupportMode=Auto
KeySwap=no
PointerSupport=no
PointerSupportMode=""
TimerResolution=50000
:ProtocolOverrides
count==15 :"!You should have exactly 15 settings in the UEFI/ProtocolOverrides section"
AppleAudio=no
AppleBootPolicy=no
AppleDebugLog=no
AppleEvent=no
AppleImageConversion=no
AppleKeyMap=no
AppleRtcRam=no
AppleSmcIo=no
DataHub=no
DeviceProperties=no
ConsoleControl~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See UEFI/TextRenderer"
FirmwareVolume=no
HashServices=no
OSInfo=no
UnicodeCollation=no
:Output
count==10 :"!You should have exactly 10 settings in the UEFI/Output section"
TextRenderer=BuiltinGraphics
ConsoleMode=""
Resolution~=.* " <b>{$setting}</b> = <b>{$value}</b>"
ClearScreenOnModeSwitch=no
IgnoreTextInGraphics=no
ProvideConsoleGop=yes
DirectGopRendering=no
DirectGopCacheMode~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
ReconnectOnResChange=no
ReplaceTabWithSpace=no
SanitiseClearScreen~=.* " <b>{$setting}</b> = <b>{$value}</b>"
Scale~=.* "!<b>{$setting}</b> shouldn't be here"
:Quirks
AvoidHighAlloc~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6"
DeduplicateBootOrder=yes
ExitBootServicesDelay=0
IgnoreInvalidFlexRatio=yes
IgnoreTextInGraphics~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ProvideConsoleGop~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ReleaseUsbOwnership=no
RequestBootVarFallback~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.9"
RequestBootVarRouting=yes
TscSyncTimeout=0
ReplaceTabWithSpace~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
SanitiseClearScreen~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
ClearScreenOnModeSwitch~=.* "!<b>{$setting}</b> was deprecated in OpenCore v0.5.6 - See Output/${setting}"
UnblockFsConnect=no
:ReservedMemory
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册