VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.h

    r99404 r108794  
    33
    44  Copyright (c) 2021, ARM Limited. All rights reserved.<BR>
     5  Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.<BR>
    56  SPDX-License-Identifier: BSD-2-Clause-Patent
    67
     
    1213#define OUTPUT_FIELD_COLUMN_WIDTH  32
    1314
     15/** A helper macro for populating the Reserved objects
     16  like EArmObjReserved, EArmObjMax, etc. in the CM_OBJ_PARSER_ARRAY.
     17**/
     18#define CM_PARSER_ADD_OBJECT_RESERVED(ObjectId) \
     19                  {ObjectId, #ObjectId, NULL, 0}
     20
     21/** A helper macro for populating the Cm Arm objects
     22  in the CM_OBJ_PARSER_ARRAY.
     23**/
     24#define CM_PARSER_ADD_OBJECT(ObjectId, Parser) \
     25                  {ObjectId, #ObjectId, Parser, ARRAY_SIZE(Parser) }
     26
    1427/** Function prototype to format a field print.
    1528
     
    1730                      the 'Format' member of ACPI_PARSER.
    1831  @param [in] Ptr     Pointer to the start of the buffer.
     32  @param [in] Length  Length of the field
    1933**/
    20 typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr);
     34typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length);
    2135
    2236/**
     
    5973*/
    6074typedef struct CmObjParserArray {
     75  /// Object ID
     76  CONST UINTN            ObjectId;
     77
    6178  /// Object name
    6279  CONST CHAR8            *ObjectName;
Note: See TracChangeset for help on using the changeset viewer.

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