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/X86Msr.c

    r80721 r99404  
    77**/
    88
    9 
    109#include "BaseLibInternals.h"
    11 
    1210
    1311/**
     
    2826EFIAPI
    2927AsmReadMsr32 (
    30   IN      UINT32                    Index
     28  IN      UINT32  Index
    3129  )
    3230{
     
    5452EFIAPI
    5553AsmWriteMsr32 (
    56   IN      UINT32                    Index,
    57   IN      UINT32                    Value
     54  IN      UINT32  Index,
     55  IN      UINT32  Value
    5856  )
    5957{
     
    8381EFIAPI
    8482AsmMsrOr32 (
    85   IN      UINT32                    Index,
    86   IN      UINT32                    OrData
     83  IN      UINT32  Index,
     84  IN      UINT32  OrData
    8785  )
    8886{
     
    112110EFIAPI
    113111AsmMsrAnd32 (
    114   IN      UINT32                    Index,
    115   IN      UINT32                    AndData
     112  IN      UINT32  Index,
     113  IN      UINT32  AndData
    116114  )
    117115{
     
    144142EFIAPI
    145143AsmMsrAndThenOr32 (
    146   IN      UINT32                    Index,
    147   IN      UINT32                    AndData,
    148   IN      UINT32                    OrData
     144  IN      UINT32  Index,
     145  IN      UINT32  AndData,
     146  IN      UINT32  OrData
    149147  )
    150148{
     
    177175EFIAPI
    178176AsmMsrBitFieldRead32 (
    179   IN      UINT32                    Index,
    180   IN      UINTN                     StartBit,
    181   IN      UINTN                     EndBit
     177  IN      UINT32  Index,
     178  IN      UINTN   StartBit,
     179  IN      UINTN   EndBit
    182180  )
    183181{
     
    213211EFIAPI
    214212AsmMsrBitFieldWrite32 (
    215   IN      UINT32                    Index,
    216   IN      UINTN                     StartBit,
    217   IN      UINTN                     EndBit,
    218   IN      UINT32                    Value
     213  IN      UINT32  Index,
     214  IN      UINTN   StartBit,
     215  IN      UINTN   EndBit,
     216  IN      UINT32  Value
    219217  )
    220218{
     
    254252EFIAPI
    255253AsmMsrBitFieldOr32 (
    256   IN      UINT32                    Index,
    257   IN      UINTN                     StartBit,
    258   IN      UINTN                     EndBit,
    259   IN      UINT32                    OrData
     254  IN      UINT32  Index,
     255  IN      UINTN   StartBit,
     256  IN      UINTN   EndBit,
     257  IN      UINT32  OrData
    260258  )
    261259{
     
    295293EFIAPI
    296294AsmMsrBitFieldAnd32 (
    297   IN      UINT32                    Index,
    298   IN      UINTN                     StartBit,
    299   IN      UINTN                     EndBit,
    300   IN      UINT32                    AndData
     295  IN      UINT32  Index,
     296  IN      UINTN   StartBit,
     297  IN      UINTN   EndBit,
     298  IN      UINT32  AndData
    301299  )
    302300{
     
    340338EFIAPI
    341339AsmMsrBitFieldAndThenOr32 (
    342   IN      UINT32                    Index,
    343   IN      UINTN                     StartBit,
    344   IN      UINTN                     EndBit,
    345   IN      UINT32                    AndData,
    346   IN      UINT32                    OrData
     340  IN      UINT32  Index,
     341  IN      UINTN   StartBit,
     342  IN      UINTN   EndBit,
     343  IN      UINT32  AndData,
     344  IN      UINT32  OrData
    347345  )
    348346{
     
    379377EFIAPI
    380378AsmMsrOr64 (
    381   IN      UINT32                    Index,
    382   IN      UINT64                    OrData
     379  IN      UINT32  Index,
     380  IN      UINT64  OrData
    383381  )
    384382{
     
    407405EFIAPI
    408406AsmMsrAnd64 (
    409   IN      UINT32                    Index,
    410   IN      UINT64                    AndData
     407  IN      UINT32  Index,
     408  IN      UINT64  AndData
    411409  )
    412410{
     
    438436EFIAPI
    439437AsmMsrAndThenOr64 (
    440   IN      UINT32                    Index,
    441   IN      UINT64                    AndData,
    442   IN      UINT64                    OrData
     438  IN      UINT32  Index,
     439  IN      UINT64  AndData,
     440  IN      UINT64  OrData
    443441  )
    444442{
     
    471469EFIAPI
    472470AsmMsrBitFieldRead64 (
    473   IN      UINT32                    Index,
    474   IN      UINTN                     StartBit,
    475   IN      UINTN                     EndBit
     471  IN      UINT32  Index,
     472  IN      UINTN   StartBit,
     473  IN      UINTN   EndBit
    476474  )
    477475{
     
    506504EFIAPI
    507505AsmMsrBitFieldWrite64 (
    508   IN      UINT32                    Index,
    509   IN      UINTN                     StartBit,
    510   IN      UINTN                     EndBit,
    511   IN      UINT64                    Value
     506  IN      UINT32  Index,
     507  IN      UINTN   StartBit,
     508  IN      UINTN   EndBit,
     509  IN      UINT64  Value
    512510  )
    513511{
     
    548546EFIAPI
    549547AsmMsrBitFieldOr64 (
    550   IN      UINT32                    Index,
    551   IN      UINTN                     StartBit,
    552   IN      UINTN                     EndBit,
    553   IN      UINT64                    OrData
     548  IN      UINT32  Index,
     549  IN      UINTN   StartBit,
     550  IN      UINTN   EndBit,
     551  IN      UINT64  OrData
    554552  )
    555553{
     
    590588EFIAPI
    591589AsmMsrBitFieldAnd64 (
    592   IN      UINT32                    Index,
    593   IN      UINTN                     StartBit,
    594   IN      UINTN                     EndBit,
    595   IN      UINT64                    AndData
     590  IN      UINT32  Index,
     591  IN      UINTN   StartBit,
     592  IN      UINTN   EndBit,
     593  IN      UINT64  AndData
    596594  )
    597595{
     
    635633EFIAPI
    636634AsmMsrBitFieldAndThenOr64 (
    637   IN      UINT32                    Index,
    638   IN      UINTN                     StartBit,
    639   IN      UINTN                     EndBit,
    640   IN      UINT64                    AndData,
    641   IN      UINT64                    OrData
     635  IN      UINT32  Index,
     636  IN      UINTN   StartBit,
     637  IN      UINTN   EndBit,
     638  IN      UINT64  AndData,
     639  IN      UINT64  OrData
    642640  )
    643641{
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