VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (23 months 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/Include/Protocol/SpiIo.h

    r80721 r99404  
    126126typedef
    127127EFI_STATUS
    128 (EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION) (
     128(EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION)(
    129129  IN  CONST EFI_SPI_IO_PROTOCOL  *This,
    130130  IN  EFI_SPI_TRANSACTION_TYPE   TransactionType,
     
    159159**/
    160160typedef EFI_STATUS
    161 (EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL) (
     161(EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL)(
    162162  IN CONST EFI_SPI_IO_PROTOCOL  *This,
    163163  IN CONST EFI_SPI_PERIPHERAL   *SpiPeripheral
     
    172172  /// Pointer to the SPI peripheral being manipulated.
    173173  ///
    174   CONST EFI_SPI_PERIPHERAL *SpiPeripheral;
     174  CONST EFI_SPI_PERIPHERAL    *SpiPeripheral;
    175175
    176176  ///
     
    178178  /// values.
    179179  ///
    180   EFI_SPI_TRANSACTION_TYPE TransactionType;
     180  EFI_SPI_TRANSACTION_TYPE    TransactionType;
    181181
    182182  ///
     
    186186  /// display any debugging messages.
    187187  ///
    188   BOOLEAN                  DebugTransaction;
     188  BOOLEAN                     DebugTransaction;
    189189
    190190  ///
    191191  /// SPI bus width in bits: 1, 2, 4
    192192  ///
    193   UINT32                   BusWidth;
     193  UINT32                      BusWidth;
    194194
    195195  ///
    196196  /// Frame size in bits, range: 1 - 32
    197197  ///
    198   UINT32                   FrameSize;
     198  UINT32                      FrameSize;
    199199
    200200  ///
    201201  /// Length of the write buffer in bytes
    202202  ///
    203   UINT32                   WriteBytes;
     203  UINT32                      WriteBytes;
    204204
    205205  ///
     
    208208  /// Frame sizes 7 - 16 bits : UINT16 (two bytes) per frame
    209209  ///
    210   UINT8                    *WriteBuffer;
     210  UINT8                       *WriteBuffer;
    211211
    212212  ///
    213213  /// Length of the read buffer in bytes
    214214  ///
    215   UINT32                   ReadBytes;
     215  UINT32                      ReadBytes;
    216216
    217217  ///
     
    221221  /// * Frame sizes 17 - 32 bits : UINT32 (four bytes) per frame
    222222  ///
    223   UINT8                    *ReadBuffer;
     223  UINT8                       *ReadBuffer;
    224224} EFI_SPI_BUS_TRANSACTION;
    225225
     
    233233  /// protocol instance.
    234234  ///
    235   CONST EFI_SPI_PERIPHERAL                  *SpiPeripheral;
     235  CONST EFI_SPI_PERIPHERAL    *SpiPeripheral;
    236236
    237237  ///
     
    239239  /// this protocol instance.
    240240  ///
    241   CONST EFI_SPI_PERIPHERAL                  *OriginalSpiPeripheral;
     241  CONST EFI_SPI_PERIPHERAL    *OriginalSpiPeripheral;
    242242
    243243  ///
     
    248248  /// by the SPI host controller.
    249249  ///
    250   UINT32                                    FrameSizeSupportMask;
     250  UINT32    FrameSizeSupportMask;
    251251
    252252  ///
    253253  /// Maximum transfer size in bytes: 1 - Oxffffffff
    254254  ///
    255   UINT32                                    MaximumTransferBytes;
     255  UINT32    MaximumTransferBytes;
    256256
    257257  ///
     
    266266  ///   - Transfer size includes the 3 address bytes
    267267  ///
    268   UINT32                                    Attributes;
     268  UINT32                                       Attributes;
    269269
    270270  ///
    271271  /// Pointer to legacy SPI controller protocol
    272272  ///
    273   CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL  *LegacySpiProtocol;
     273  CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL     *LegacySpiProtocol;
    274274
    275275  ///
    276276  /// Initiate a SPI transaction between the host and a SPI peripheral.
    277277  ///
    278   EFI_SPI_IO_PROTOCOL_TRANSACTION           Transaction;
     278  EFI_SPI_IO_PROTOCOL_TRANSACTION              Transaction;
    279279
    280280  ///
    281281  /// Update the SPI peripheral associated with this SPI 10 instance.
    282282  ///
    283   EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral;
     283  EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL    UpdateSpiPeripheral;
    284284};
    285285
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