Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit16b835c

Browse files
committed
Merged PR 566: Remove accessing system UUID as it is no longer in use
This change removes the call to DfciIdSupportGetUuid. This will be removed from the library header and library in a future PR.
1 parent2016aa8 commit16b835c

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

‎DfciPkg/Include/Library/DfciXmlDeviceIdSchemaSupportLib.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4343
#defineDEVICE_ID_MANUFACTURER "Manufacturer"
4444
#defineDEVICE_ID_PRODUCT_NAME "Product Name"
4545
#defineDEVICE_ID_SERIAL_NUMBER "Serial Number"
46-
#defineDEVICE_ID_UUID "UUID"
4746

4847

4948
XmlNode*

‎DfciPkg/SettingsManager/SettingsManagerDxe.c‎

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2828
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
3030
**/
31-
31+
3232
#include"SettingsManager.h"
3333

3434
DFCI_SETTING_ACCESS_PROTOCOLmSystemSettingAccessProtocol= {SystemSettingAccessSet,SystemSettingAccessGet,SystemSettingsAccessReset };
@@ -44,8 +44,7 @@ typedef struct {
4444
staticINIT_TABLE_ENTRYmInitTable[]= {
4545
DEVICE_ID_MANUFACTURER,NULL,
4646
DEVICE_ID_PRODUCT_NAME,NULL,
47-
DEVICE_ID_SERIAL_NUMBER,NULL,
48-
DEVICE_ID_UUID,NULL };
47+
DEVICE_ID_SERIAL_NUMBER,NULL };
4948

5049
// Settings manager does not support "Atomic" operations at this time. That means
5150
// the delayed response and LKG handler are ignored, and the settings cannot be
@@ -187,11 +186,6 @@ SettingsManagerOnReadyToBoot (
187186
gotoNO_XML;
188187
}
189188

190-
Status=DfciIdSupportGetUuid (&mInitTable[3].Value,NULL);
191-
if (EFI_ERROR(Status)) {
192-
gotoNO_XML;
193-
}
194-
195189
Status=EFI_OUT_OF_RESOURCES;
196190
List=New_DeviceIdPacketNodeList();
197191
if (List==NULL) {
@@ -278,8 +272,8 @@ Pass thru function for using the Auth Protocol to get auth and token
278272
279273
@param[in] SignedData - Pointer to signed data
280274
@param[in] SignedDataLen - Length of signed data
281-
@param[in] Signature - Pointer to WIN_CERT_UEFI_GUID that contains the signature
282-
@param[in,out] AuthToken - returned Auth Token. Caller must allocate. data only valid if success.
275+
@param[in] Signature - Pointer to WIN_CERT_UEFI_GUID that contains the signature
276+
@param[in,out] AuthToken - returned Auth Token. Caller must allocate. data only valid if success.
283277
284278
**/
285279
EFI_STATUS
@@ -292,7 +286,7 @@ CheckAuthAndGetToken(
292286
)
293287
{
294288
EFI_STATUSStatus;
295-
//get mAuthProtocol
289+
//get mAuthProtocol
296290
if (mAuthProtocol==NULL)
297291
{
298292
Status=gBS->LocateProtocol(
@@ -313,8 +307,8 @@ CheckAuthAndGetToken(
313307
}
314308

315309
/**
316-
Pass thru function for using the Auth Protocol to dispose of an auth token
317-
so it can no longer be used in the system.
310+
Pass thru function for using the Auth Protocol to dispose of an auth token
311+
so it can no longer be used in the system.
318312
319313
@param[in] AuthToken - Pointer to auth token to dispose of
320314
**/
@@ -330,7 +324,7 @@ AuthTokenDispose(
330324
}
331325

332326
//Can't get here if mAuthProtocol is NULL
333-
if (mAuthProtocol!=NULL)
327+
if (mAuthProtocol!=NULL)
334328
{
335329
returnmAuthProtocol->DisposeAuthToken(mAuthProtocol,AuthToken);
336330
}
@@ -356,8 +350,7 @@ Init (
356350
{
357351
EFI_EVENTInitEvent;
358352
EFI_STATUSStatus;
359-
360-
353+
361354
//Install Setting Provider Support Protocol and Permission Protocol
362355
Status=gBS->InstallMultipleProtocolInterfaces(
363356
&ImageHandle,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp