VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 4:09:12 PM (4 years ago)
Author:
vboxsync
Message:

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c

    r80721 r85718  
    12821282      return EFI_SUCCESS;
    12831283    }
     1284
     1285    ASSERT (GetBufferForValue (&Value) != NULL);
    12841286    Result->Value.u64 = *(UINT64*) GetBufferForValue (&Value);
     1287
    12851288    if (Value.Type == EFI_IFR_TYPE_BUFFER) {
    12861289      FreePool (Value.Buffer);
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c

    r80721 r85718  
    22Parser for IFR binary encoding.
    33
    4 Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
     4Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.<BR>
    55SPDX-License-Identifier: BSD-2-Clause-Patent
    66
     
    99#include "Setup.h"
    1010
    11 UINT16           mStatementIndex;
    12 UINT16           mExpressionOpCodeIndex;
     11UINTN            mStatementIndex;
     12UINTN            mExpressionOpCodeIndex;
    1313EFI_QUESTION_ID  mUsedQuestionId;
    1414extern LIST_ENTRY      gBrowserStorageList;
     
    11071107CountOpCodes (
    11081108  IN  FORM_BROWSER_FORMSET  *FormSet,
    1109   IN OUT  UINT16            *NumberOfStatement,
    1110   IN OUT  UINT16            *NumberOfExpression
     1109  OUT  UINTN             *NumberOfStatement,
     1110  OUT  UINTN             *NumberOfExpression
    11111111  )
    11121112{
    1113   UINT16  StatementCount;
    1114   UINT16  ExpressionCount;
     1113  UINTN   StatementCount;
     1114  UINTN   ExpressionCount;
    11151115  UINT8   *OpCodeData;
    11161116  UINTN   Offset;
     
    11701170  QUESTION_OPTION         *CurrentOption;
    11711171  UINT8                   Width;
    1172   UINT16                  NumberOfStatement;
    1173   UINT16                  NumberOfExpression;
     1172  UINTN                   NumberOfStatement;
     1173  UINTN                   NumberOfExpression;
    11741174  EFI_IMAGE_ID            *ImageId;
    11751175  BOOLEAN                 SuppressForQuestion;
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c

    r80721 r85718  
    33
    44Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
     5(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
    56SPDX-License-Identifier: BSD-2-Clause-Patent
    67
     
    58455846          // Try to compare against formset GUID
    58465847          //
    5847           if (IsZeroGuid (FormSetGuid) ||
     5848          if (IsZeroGuid (ComparingGuid) ||
    58485849              CompareGuid (ComparingGuid, (EFI_GUID *)(OpCodeData + sizeof (EFI_IFR_OP_HEADER)))) {
    58495850            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette