VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156854
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/ShellPkg/DynamicCommand/DpDynamicCommand/DpInternal.h

    r80721 r99404  
    1111  SPDX-License-Identifier: BSD-2-Clause-Patent
    1212**/
     13
    1314#ifndef _DP_INTELNAL_H_
    1415#define _DP_INTELNAL_H_
    1516
    16 #define DP_GAUGE_STRING_LENGTH   36
     17#define DP_GAUGE_STRING_LENGTH  36
    1718
    1819//
    1920/// Module-Global Variables
    2021///@{
    21 extern EFI_HII_HANDLE     mDpHiiHandle;
    22 extern CHAR16             mGaugeString[DP_GAUGE_STRING_LENGTH + 1];
    23 extern CHAR16             mUnicodeToken[DXE_PERFORMANCE_STRING_SIZE];
    24 extern UINT64             mInterestThreshold;
    25 extern BOOLEAN            mShowId;
    26 extern UINT8              *mBootPerformanceTable;
    27 extern UINTN              mBootPerformanceTableLength;
    28 extern MEASUREMENT_RECORD *mMeasurementList;
    29 extern UINTN              mMeasurementNum;
     22extern EFI_HII_HANDLE      mDpHiiHandle;
     23extern CHAR16              mGaugeString[DP_GAUGE_STRING_LENGTH + 1];
     24extern CHAR16              mUnicodeToken[DXE_PERFORMANCE_STRING_SIZE];
     25extern UINT64              mInterestThreshold;
     26extern BOOLEAN             mShowId;
     27extern UINT8               *mBootPerformanceTable;
     28extern UINTN               mBootPerformanceTableLength;
     29extern MEASUREMENT_RECORD  *mMeasurementList;
     30extern UINTN               mMeasurementNum;
     31extern UINT64              mResetEnd;
    3032
    3133extern PERF_SUMMARY_DATA  SummaryData;    ///< Create the SummaryData structure and init. to ZERO.
    3234
    3335/// Items for which to gather cumulative statistics.
    34 extern PERF_CUM_DATA      CumData[];
     36extern PERF_CUM_DATA  CumData[];
    3537
    3638/// Number of items for which we are gathering cumulative statistics.
    37 extern UINT32 const       NumCum;
     39extern UINT32 const  NumCum;
    3840
    3941///@}
     
    6163UINT64
    6264GetDuration (
    63   IN OUT MEASUREMENT_RECORD *Measurement
     65  IN OUT MEASUREMENT_RECORD  *Measurement
    6466  );
    6567
     
    7678**/
    7779BOOLEAN
    78 IsPhase(
    79   IN MEASUREMENT_RECORD *Measurement
     80IsPhase (
     81  IN MEASUREMENT_RECORD  *Measurement
    8082  );
    8183
     
    9092**/
    9193BOOLEAN
    92 IsCorePerf(
    93   IN MEASUREMENT_RECORD        *Measurement
     94IsCorePerf (
     95  IN MEASUREMENT_RECORD  *Measurement
    9496  );
    9597
     
    108110VOID
    109111DpGetShortPdbFileName (
    110   IN  CHAR8     *PdbFileName,
    111   OUT CHAR16    *UnicodeBuffer
     112  IN  CHAR8   *PdbFileName,
     113  OUT CHAR16  *UnicodeBuffer
    112114  );
    113115
     
    130132VOID
    131133DpGetNameFromHandle (
    132   IN EFI_HANDLE Handle
     134  IN EFI_HANDLE  Handle
    133135  );
    134136
     
    148150UINT64
    149151DurationInMicroSeconds (
    150   IN UINT64 Duration
     152  IN UINT64  Duration
    151153  );
    152154
     
    165167**/
    166168INTN
    167 GetCumulativeItem(
    168   IN MEASUREMENT_RECORD *Measurement
     169GetCumulativeItem (
     170  IN MEASUREMENT_RECORD  *Measurement
    169171  );
    170172
     
    187189**/
    188190VOID
    189 GatherStatistics(
    190   IN OUT PERF_CUM_DATA              *CustomCumulativeData OPTIONAL
     191GatherStatistics (
     192  IN OUT PERF_CUM_DATA  *CustomCumulativeData OPTIONAL
    191193  );
    192194
     
    213215**/
    214216EFI_STATUS
    215 DumpAllTrace(
    216   IN UINTN             Limit,
    217   IN BOOLEAN           ExcludeFlag
     217DumpAllTrace (
     218  IN UINTN    Limit,
     219  IN BOOLEAN  ExcludeFlag
    218220  );
    219221
     
    238240**/
    239241EFI_STATUS
    240 DumpRawTrace(
    241   IN UINTN          Limit,
    242   IN BOOLEAN        ExcludeFlag
     242DumpRawTrace (
     243  IN UINTN    Limit,
     244  IN BOOLEAN  ExcludeFlag
    243245  );
    244246
     
    248250**/
    249251VOID
    250 ProcessPhases(
     252ProcessPhases (
    251253  VOID
    252254  );
    253 
    254255
    255256/**
     
    263264**/
    264265EFI_STATUS
    265 ProcessHandles(
    266   IN BOOLEAN ExcludeFlag
    267   );
    268 
     266ProcessHandles (
     267  IN BOOLEAN  ExcludeFlag
     268  );
    269269
    270270/**
     
    277277**/
    278278EFI_STATUS
    279 ProcessPeims(
     279ProcessPeims (
    280280  VOID
    281281  );
     
    293293**/
    294294EFI_STATUS
    295 ProcessGlobal(
     295ProcessGlobal (
    296296  VOID
    297297  );
     
    309309**/
    310310VOID
    311 ProcessCumulative(
    312   IN PERF_CUM_DATA                  *CustomCumulativeData OPTIONAL
     311ProcessCumulative (
     312  IN PERF_CUM_DATA  *CustomCumulativeData OPTIONAL
    313313  );
    314314
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