提交 17fa2182 编写于 作者: V vit9696

OpenCorePlatform: DevicePathsSupported 32-bit integer switch sync

上级 9ea422cb
......@@ -2214,13 +2214,13 @@ be used. Version with macOS specific enhancements can be downloaded from
and newer.
\item
\texttt{DevicePathsSupported}\\
\textbf{Type}: \texttt{plist\ data}, 1 byte\\
\textbf{Type}: \texttt{plist\ integer}, 32-bit\\
\textbf{Default value}: Not installed\\
\textbf{Description}: Sets \texttt{DevicePathsSupported} in
\texttt{gEfiMiscSubClassGuid}. Must be set to \texttt{01} for
\texttt{gEfiMiscSubClassGuid}. Must be set to \texttt{1} for
AppleACPIPlatform.kext to append SATA device paths to
\texttt{Boot\#\#\#\#} and \texttt{efi-boot-device-data} variables.
Set to \texttt{01} on all modern Macs.
Set to \texttt{1} on all modern Macs.
\item
\texttt{SmcRevision}\\
\textbf{Type}: \texttt{plist\ data}, 6 bytes\\
......
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri May 3 12:13:06 2019
%DIF ADD ../Configuration.tex Thu May 23 04:06:17 2019
%DIF ADD ../Configuration.tex Fri May 24 02:34:39 2019
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
......@@ -2382,13 +2382,13 @@ be used. Version with macOS specific enhancements can be downloaded from
and newer.
\item
\texttt{DevicePathsSupported}\\
\textbf{Type}: \texttt{plist\ data}, 1 byte\\
\textbf{Type}: \texttt{plist\ \DIFdelbegin \DIFdel{data}\DIFdelend \DIFaddbegin \DIFadd{integer}\DIFaddend }, \DIFdelbegin \DIFdel{1 byte}\DIFdelend \DIFaddbegin \DIFadd{32-bit}\DIFaddend \\
\textbf{Default value}: Not installed\\
\textbf{Description}: Sets \texttt{DevicePathsSupported} in
\texttt{gEfiMiscSubClassGuid}. Must be set to \texttt{01} for
\texttt{gEfiMiscSubClassGuid}. Must be set to \texttt{\DIFdelbegin \DIFdel{01}\DIFdelend \DIFaddbegin \DIFadd{1}\DIFaddend } for
AppleACPIPlatform.kext to append SATA device paths to
\texttt{Boot\#\#\#\#} and \texttt{efi-boot-device-data} variables.
Set to \texttt{01} on all modern Macs.
Set to \texttt{\DIFdelbegin \DIFdel{01}\DIFdelend \DIFaddbegin \DIFadd{1}\DIFaddend } on all modern Macs.
\item
\texttt{SmcRevision}\\
\textbf{Type}: \texttt{plist\ data}, 6 bytes\\
......
......@@ -467,7 +467,7 @@
<key>BoardRevision</key>
<data>AQ==</data>
<key>DevicePathsSupported</key>
<data>AQ==</data>
<integer>1</integer>
<key>FSBFrequency</key>
<integer>0</integer>
<key>InitialTSC</key>
......
......@@ -91,8 +91,8 @@ OcPlatformUpdateDataHub (
Data.ARTFrequency = &Config->PlatformInfo.DataHub.ARTFrequency;
}
if (Config->PlatformInfo.DataHub.DevicePathsSupported[0] != 0) {
Data.DevicePathsSupported = &Config->PlatformInfo.DataHub.DevicePathsSupported[0];
if (Config->PlatformInfo.DataHub.DevicePathsSupported != 0) {
Data.DevicePathsSupported = &Config->PlatformInfo.DataHub.DevicePathsSupported;
}
if (Config->PlatformInfo.DataHub.SmcRevision[0] != 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册