Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/SpiIo.h
- Timestamp:
- Apr 14, 2023 3:17:44 PM (23 months ago)
- svn:sync-xref-src-repo-rev:
- 156854
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/SpiIo.h
r80721 r99404 126 126 typedef 127 127 EFI_STATUS 128 (EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION) 128 (EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION)( 129 129 IN CONST EFI_SPI_IO_PROTOCOL *This, 130 130 IN EFI_SPI_TRANSACTION_TYPE TransactionType, … … 159 159 **/ 160 160 typedef EFI_STATUS 161 (EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL) 161 (EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL)( 162 162 IN CONST EFI_SPI_IO_PROTOCOL *This, 163 163 IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral … … 172 172 /// Pointer to the SPI peripheral being manipulated. 173 173 /// 174 CONST EFI_SPI_PERIPHERAL *SpiPeripheral;174 CONST EFI_SPI_PERIPHERAL *SpiPeripheral; 175 175 176 176 /// … … 178 178 /// values. 179 179 /// 180 EFI_SPI_TRANSACTION_TYPE TransactionType;180 EFI_SPI_TRANSACTION_TYPE TransactionType; 181 181 182 182 /// … … 186 186 /// display any debugging messages. 187 187 /// 188 BOOLEAN DebugTransaction;188 BOOLEAN DebugTransaction; 189 189 190 190 /// 191 191 /// SPI bus width in bits: 1, 2, 4 192 192 /// 193 UINT32 BusWidth;193 UINT32 BusWidth; 194 194 195 195 /// 196 196 /// Frame size in bits, range: 1 - 32 197 197 /// 198 UINT32 FrameSize;198 UINT32 FrameSize; 199 199 200 200 /// 201 201 /// Length of the write buffer in bytes 202 202 /// 203 UINT32 WriteBytes;203 UINT32 WriteBytes; 204 204 205 205 /// … … 208 208 /// Frame sizes 7 - 16 bits : UINT16 (two bytes) per frame 209 209 /// 210 UINT8 *WriteBuffer;210 UINT8 *WriteBuffer; 211 211 212 212 /// 213 213 /// Length of the read buffer in bytes 214 214 /// 215 UINT32 ReadBytes;215 UINT32 ReadBytes; 216 216 217 217 /// … … 221 221 /// * Frame sizes 17 - 32 bits : UINT32 (four bytes) per frame 222 222 /// 223 UINT8 *ReadBuffer;223 UINT8 *ReadBuffer; 224 224 } EFI_SPI_BUS_TRANSACTION; 225 225 … … 233 233 /// protocol instance. 234 234 /// 235 CONST EFI_SPI_PERIPHERAL 235 CONST EFI_SPI_PERIPHERAL *SpiPeripheral; 236 236 237 237 /// … … 239 239 /// this protocol instance. 240 240 /// 241 CONST EFI_SPI_PERIPHERAL 241 CONST EFI_SPI_PERIPHERAL *OriginalSpiPeripheral; 242 242 243 243 /// … … 248 248 /// by the SPI host controller. 249 249 /// 250 UINT32 250 UINT32 FrameSizeSupportMask; 251 251 252 252 /// 253 253 /// Maximum transfer size in bytes: 1 - Oxffffffff 254 254 /// 255 UINT32 255 UINT32 MaximumTransferBytes; 256 256 257 257 /// … … 266 266 /// - Transfer size includes the 3 address bytes 267 267 /// 268 UINT32 Attributes;268 UINT32 Attributes; 269 269 270 270 /// 271 271 /// Pointer to legacy SPI controller protocol 272 272 /// 273 CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *LegacySpiProtocol;273 CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *LegacySpiProtocol; 274 274 275 275 /// 276 276 /// Initiate a SPI transaction between the host and a SPI peripheral. 277 277 /// 278 EFI_SPI_IO_PROTOCOL_TRANSACTION Transaction;278 EFI_SPI_IO_PROTOCOL_TRANSACTION Transaction; 279 279 280 280 /// 281 281 /// Update the SPI peripheral associated with this SPI 10 instance. 282 282 /// 283 EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral;283 EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral; 284 284 }; 285 285
Note:
See TracChangeset
for help on using the changeset viewer.