VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (22 months ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, 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/MdeModulePkg/Universal/ResetSystemPei/ResetSystem.h

    r80721 r99404  
    99#ifndef _RESET_SYSTEM2_H_
    1010#define _RESET_SYSTEM2_H_
    11 
    1211
    1312#include <Uefi.h>
     
    2726#include <Library/ReportStatusCodeLib.h>
    2827
    29 
    3028//
    3129// The maximum recursion depth to ResetSystem() by reset notification handlers
    3230//
    33 #define MAX_RESET_NOTIFY_DEPTH 10
     31#define MAX_RESET_NOTIFY_DEPTH  10
    3432
    3533//
     
    3735//
    3836typedef struct {
    39   UINT32                          Signature;
    40   UINT32                          Count;
    41   EFI_RESET_SYSTEM                ResetFilters[0]; // ResetFilters[PcdGet32 (PcdMaximumResetNotifies)]
     37  UINT32              Signature;
     38  UINT32              Count;
     39  EFI_RESET_SYSTEM    ResetFilters[0];            // ResetFilters[PcdGet32 (PcdMaximumResetNotifies)]
    4240} RESET_FILTER_LIST;
    43 #define RESET_FILTER_LIST_SIGNATURE    SIGNATURE_32('r', 's', 't', 'l')
    44 
     41#define RESET_FILTER_LIST_SIGNATURE  SIGNATURE_32('r', 's', 't', 'l')
    4542
    4643typedef struct {
    47   EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI ResetFilter;
    48   EFI_GUID                                 *Guid;
     44  EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI    ResetFilter;
     45  EFI_GUID                                    *Guid;
    4946} RESET_FILTER_INSTANCE;
    5047
     
    6865EFIAPI
    6966ResetSystem2 (
    70   IN EFI_RESET_TYPE   ResetType,
    71   IN EFI_STATUS       ResetStatus,
    72   IN UINTN            DataSize,
    73   IN VOID             *ResetData OPTIONAL
     67  IN EFI_RESET_TYPE  ResetType,
     68  IN EFI_STATUS      ResetStatus,
     69  IN UINTN           DataSize,
     70  IN VOID            *ResetData OPTIONAL
    7471  );
     72
    7573/**
    7674  Register a notification function to be called when ResetSystem() is called.
     
    9492EFIAPI
    9593RegisterResetNotify (
    96   IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI *This,
    97   IN EFI_RESET_SYSTEM                         ResetFunction
     94  IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI  *This,
     95  IN EFI_RESET_SYSTEM                          ResetFunction
    9896  );
    9997
     
    116114EFIAPI
    117115UnregisterResetNotify (
    118   IN EFI_RESET_NOTIFICATION_PROTOCOL *This,
    119   IN EFI_RESET_SYSTEM                ResetFunction
     116  IN EFI_RESET_NOTIFICATION_PROTOCOL  *This,
     117  IN EFI_RESET_SYSTEM                 ResetFunction
    120118  );
     119
    121120#endif
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