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/MdePkg/Library/BaseLib/BaseLibInternals.h

    r80721 r99404  
    3636EFIAPI
    3737InternalMathLShiftU64 (
    38   IN      UINT64                    Operand,
    39   IN      UINTN                     Count
     38  IN      UINT64  Operand,
     39  IN      UINTN   Count
    4040  );
    4141
     
    5656EFIAPI
    5757InternalMathRShiftU64 (
    58   IN      UINT64                    Operand,
    59   IN      UINTN                     Count
     58  IN      UINT64  Operand,
     59  IN      UINTN   Count
    6060  );
    6161
     
    7676EFIAPI
    7777InternalMathARShiftU64 (
    78   IN      UINT64                    Operand,
    79   IN      UINTN                     Count
     78  IN      UINT64  Operand,
     79  IN      UINTN   Count
    8080  );
    8181
     
    9797EFIAPI
    9898InternalMathLRotU64 (
    99   IN      UINT64                    Operand,
    100   IN      UINTN                     Count
     99  IN      UINT64  Operand,
     100  IN      UINTN   Count
    101101  );
    102102
     
    118118EFIAPI
    119119InternalMathRRotU64 (
    120   IN      UINT64                    Operand,
    121   IN      UINTN                     Count
     120  IN      UINT64  Operand,
     121  IN      UINTN   Count
    122122  );
    123123
     
    137137EFIAPI
    138138InternalMathSwapBytes64 (
    139   IN      UINT64                    Operand
     139  IN      UINT64  Operand
    140140  );
    141141
     
    157157EFIAPI
    158158InternalMathMultU64x32 (
    159   IN      UINT64                    Multiplicand,
    160   IN      UINT32                    Multiplier
     159  IN      UINT64  Multiplicand,
     160  IN      UINT32  Multiplier
    161161  );
    162162
     
    178178EFIAPI
    179179InternalMathMultU64x64 (
    180   IN      UINT64                    Multiplicand,
    181   IN      UINT64                    Multiplier
     180  IN      UINT64  Multiplicand,
     181  IN      UINT64  Multiplier
    182182  );
    183183
     
    199199EFIAPI
    200200InternalMathDivU64x32 (
    201   IN      UINT64                    Dividend,
    202   IN      UINT32                    Divisor
     201  IN      UINT64  Dividend,
     202  IN      UINT32  Divisor
    203203  );
    204204
     
    220220EFIAPI
    221221InternalMathModU64x32 (
    222   IN      UINT64                    Dividend,
    223   IN      UINT32                    Divisor
     222  IN      UINT64  Dividend,
     223  IN      UINT32  Divisor
    224224  );
    225225
     
    244244EFIAPI
    245245InternalMathDivRemU64x32 (
    246   IN      UINT64                    Dividend,
    247   IN      UINT32                    Divisor,
    248   OUT     UINT32                    *Remainder OPTIONAL
     246  IN      UINT64  Dividend,
     247  IN      UINT32  Divisor,
     248  OUT     UINT32  *Remainder OPTIONAL
    249249  );
    250250
     
    269269EFIAPI
    270270InternalMathDivRemU64x64 (
    271   IN      UINT64                    Dividend,
    272   IN      UINT64                    Divisor,
    273   OUT     UINT64                    *Remainder OPTIONAL
     271  IN      UINT64  Dividend,
     272  IN      UINT64  Divisor,
     273  OUT     UINT64  *Remainder OPTIONAL
    274274  );
    275275
     
    294294EFIAPI
    295295InternalMathDivRemS64x64 (
    296   IN      INT64                     Dividend,
    297   IN      INT64                     Divisor,
    298   OUT     INT64                     *Remainder  OPTIONAL
     296  IN      INT64  Dividend,
     297  IN      INT64  Divisor,
     298  OUT     INT64  *Remainder  OPTIONAL
    299299  );
    300300
     
    327327InternalSwitchStack (
    328328  IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,
    329   IN      VOID                      *Context1,   OPTIONAL
    330   IN      VOID                      *Context2,   OPTIONAL
     329  IN      VOID                      *Context1    OPTIONAL,
     330  IN      VOID                      *Context2    OPTIONAL,
    331331  IN      VOID                      *NewStack,
    332332  IN      VA_LIST                   Marker
    333333  );
    334 
    335334
    336335/**
     
    349348EFIAPI
    350349BitFieldReadUint (
    351   IN      UINTN                     Operand,
    352   IN      UINTN                     StartBit,
    353   IN      UINTN                     EndBit
    354   );
    355 
     350  IN      UINTN  Operand,
     351  IN      UINTN  StartBit,
     352  IN      UINTN  EndBit
     353  );
    356354
    357355/**
     
    374372EFIAPI
    375373BitFieldOrUint (
    376   IN      UINTN                     Operand,
    377   IN      UINTN                     StartBit,
    378   IN      UINTN                     EndBit,
    379   IN      UINTN                     OrData
    380   );
    381 
     374  IN      UINTN  Operand,
     375  IN      UINTN  StartBit,
     376  IN      UINTN  EndBit,
     377  IN      UINTN  OrData
     378  );
    382379
    383380/**
     
    400397EFIAPI
    401398BitFieldAndUint (
    402   IN      UINTN                     Operand,
    403   IN      UINTN                     StartBit,
    404   IN      UINTN                     EndBit,
    405   IN      UINTN                     AndData
    406   );
    407 
     399  IN      UINTN  Operand,
     400  IN      UINTN  StartBit,
     401  IN      UINTN  EndBit,
     402  IN      UINTN  AndData
     403  );
    408404
    409405/**
     
    423419  IN      BASE_LIBRARY_JUMP_BUFFER  *JumpBuffer
    424420  );
    425 
    426421
    427422/**
     
    443438  );
    444439
    445 
    446440/**
    447441  Check if a Unicode character is a decimal character.
     
    460454EFIAPI
    461455InternalIsDecimalDigitCharacter (
    462   IN      CHAR16                    Char
    463   );
    464 
     456  IN      CHAR16  Char
     457  );
    465458
    466459/**
     
    480473EFIAPI
    481474InternalHexCharToUintn (
    482   IN      CHAR16                    Char
    483   );
    484 
     475  IN      CHAR16  Char
     476  );
    485477
    486478/**
     
    501493EFIAPI
    502494InternalIsHexaDecimalDigitCharacter (
    503   IN      CHAR16                    Char
    504   );
    505 
     495  IN      CHAR16  Char
     496  );
    506497
    507498/**
     
    521512EFIAPI
    522513InternalAsciiIsDecimalDigitCharacter (
    523   IN      CHAR8                     Char
    524   );
    525 
     514  IN      CHAR8  Char
     515  );
    526516
    527517/**
     
    542532EFIAPI
    543533InternalAsciiIsHexaDecimalDigitCharacter (
    544   IN      CHAR8                    Char
    545   );
    546 
     534  IN      CHAR8  Char
     535  );
    547536
    548537/**
     
    562551EFIAPI
    563552InternalAsciiHexCharToUintn (
    564   IN      CHAR8                    Char
    565   );
    566 
     553  IN      CHAR8  Char
     554  );
    567555
    568556//
     
    583571EFIAPI
    584572InternalX86ReadGdtr (
    585   OUT     IA32_DESCRIPTOR           *Gdtr
     573  OUT     IA32_DESCRIPTOR  *Gdtr
    586574  );
    587575
     
    598586EFIAPI
    599587InternalX86WriteGdtr (
    600   IN      CONST IA32_DESCRIPTOR     *Gdtr
     588  IN      CONST IA32_DESCRIPTOR  *Gdtr
    601589  );
    602590
     
    613601EFIAPI
    614602InternalX86ReadIdtr (
    615   OUT     IA32_DESCRIPTOR           *Idtr
     603  OUT     IA32_DESCRIPTOR  *Idtr
    616604  );
    617605
     
    628616EFIAPI
    629617InternalX86WriteIdtr (
    630   IN      CONST IA32_DESCRIPTOR     *Idtr
     618  IN      CONST IA32_DESCRIPTOR  *Idtr
    631619  );
    632620
     
    644632EFIAPI
    645633InternalX86FxSave (
    646   OUT     IA32_FX_BUFFER            *Buffer
     634  OUT     IA32_FX_BUFFER  *Buffer
    647635  );
    648636
     
    660648EFIAPI
    661649InternalX86FxRestore (
    662   IN      CONST IA32_FX_BUFFER      *Buffer
     650  IN      CONST IA32_FX_BUFFER  *Buffer
    663651  );
    664652
     
    700688InternalX86EnablePaging32 (
    701689  IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,
    702   IN      VOID                      *Context1,  OPTIONAL
    703   IN      VOID                      *Context2,  OPTIONAL
     690  IN      VOID                      *Context1   OPTIONAL,
     691  IN      VOID                      *Context2   OPTIONAL,
    704692  IN      VOID                      *NewStack
    705693  );
     
    739727InternalX86DisablePaging32 (
    740728  IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,
    741   IN      VOID                      *Context1,  OPTIONAL
    742   IN      VOID                      *Context2,  OPTIONAL
     729  IN      VOID                      *Context1   OPTIONAL,
     730  IN      VOID                      *Context2   OPTIONAL,
    743731  IN      VOID                      *NewStack
    744732  );
     
    774762EFIAPI
    775763InternalX86EnablePaging64 (
    776   IN      UINT16                    Cs,
    777   IN      UINT64                    EntryPoint,
    778   IN      UINT64                    Context1,  OPTIONAL
    779   IN      UINT64                    Context2,  OPTIONAL
    780   IN      UINT64                    NewStack
     764  IN      UINT16  Cs,
     765  IN      UINT64  EntryPoint,
     766  IN      UINT64  Context1   OPTIONAL,
     767  IN      UINT64  Context2   OPTIONAL,
     768  IN      UINT64  NewStack
    781769  );
    782770
     
    810798EFIAPI
    811799InternalX86DisablePaging64 (
    812   IN      UINT16                    Cs,
    813   IN      UINT32                    EntryPoint,
    814   IN      UINT32                    Context1,  OPTIONAL
    815   IN      UINT32                    Context2,  OPTIONAL
    816   IN      UINT32                    NewStack
     800  IN      UINT16  Cs,
     801  IN      UINT32  EntryPoint,
     802  IN      UINT32  Context1   OPTIONAL,
     803  IN      UINT32  Context2   OPTIONAL,
     804  IN      UINT32  NewStack
    817805  );
    818806
     
    829817EFIAPI
    830818InternalX86RdRand16 (
    831   OUT     UINT16                    *Rand
     819  OUT     UINT16  *Rand
    832820  );
    833821
     
    844832EFIAPI
    845833InternalX86RdRand32 (
    846   OUT     UINT32                    *Rand
     834  OUT     UINT32  *Rand
    847835  );
    848836
     
    860848EFIAPI
    861849InternalX86RdRand64  (
    862   OUT     UINT64                    *Rand
     850  OUT     UINT64  *Rand
    863851  );
    864852
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