Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 103777
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi/InternalSmbusLib.h
r48674 r58466 53 53 the Length byte, word, or a block of data. 54 54 55 @param SmbusOperation Signifies which particular SMBus hardware protocol 55 @param SmbusOperation Signifies which particular SMBus hardware protocol 56 56 instance that it will use to execute the SMBus transactions. 57 57 @param SmBusAddress The address that encodes the SMBUS Slave Address, 58 58 SMBUS Command, SMBUS Data Length, and PEC. 59 @param Length Signifies the number of bytes that this operation will 60 do. The maximum number of bytes can be revision specific 59 @param Length Signifies the number of bytes that this operation will 60 do. The maximum number of bytes can be revision specific 61 61 and operation specific. 62 @param Buffer Contains the value of data to execute to the SMBus slave 63 device. Not all operations require this argument. The 62 @param Buffer Contains the value of data to execute to the SMBus slave 63 device. Not all operations require this argument. The 64 64 length of this buffer is identified by Length. 65 65 @param Status Return status for the executed command. -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c
r48674 r58466 47 47 the Length byte, word, or a block of data. 48 48 49 @param SmbusOperation Signifies which particular SMBus hardware protocol instance 49 @param SmbusOperation Signifies which particular SMBus hardware protocol instance 50 50 that it will use to execute the SMBus transactions. 51 51 @param SmBusAddress The address that encodes the SMBUS Slave Address, 52 52 SMBUS Command, SMBUS Data Length, and PEC. 53 @param Length Signifies the number of bytes that this operation will 54 do. The maximum number of bytes can be revision specific 53 @param Length Signifies the number of bytes that this operation will 54 do. The maximum number of bytes can be revision specific 55 55 and operation specific. 56 @param Buffer Contains the value of data to execute to the SMBus slave 57 device. Not all operations require this argument. The 56 @param Buffer Contains the value of data to execute to the SMBus slave 57 device. Not all operations require this argument. The 58 58 length of this buffer is identified by Length. 59 59 @param Status Return status for the executed command. -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf
r58459 r58466 47 47 48 48 [Depex.common.PEIM] 49 gEfiPeiSmbus2PpiGuid 49 gEfiPeiSmbus2PpiGuid 50 50 -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/PeiSmbusLibSmbus2Ppi/SmbusLib.c
r48674 r58466 32 32 This is an optional parameter and may be NULL. 33 33 RETURN_SUCCESS: The SMBUS command was executed. 34 RETURN_TIMEOUT: A timeout occurred while executing the 35 SMBUS command. 36 RETURN_DEVICE_ERROR: The request was not completed because 37 a failure reflected in the Host Status Register bit. 38 Device errors are a result of a transaction collision, 34 RETURN_TIMEOUT: A timeout occurred while executing the 35 SMBUS command. 36 RETURN_DEVICE_ERROR: The request was not completed because 37 a failure reflected in the Host Status Register bit. 38 Device errors are a result of a transaction collision, 39 39 illegal command field, unclaimed cycle 40 40 (host initiated), or bus errors (collisions). … … 73 73 This is an optional parameter and may be NULL. 74 74 RETURN_SUCCESS: The SMBUS command was executed. 75 RETURN_TIMEOUT: A timeout occurred while executing the 76 SMBUS command. 77 RETURN_DEVICE_ERROR: The request was not completed because 78 a failure reflected in the Host Status Register bit. Device 79 errors are a result of a transaction collision, illegal 80 command field, unclaimed cycle (host initiated), or bus 75 RETURN_TIMEOUT: A timeout occurred while executing the 76 SMBUS command. 77 RETURN_DEVICE_ERROR: The request was not completed because 78 a failure reflected in the Host Status Register bit. Device 79 errors are a result of a transaction collision, illegal 80 command field, unclaimed cycle (host initiated), or bus 81 81 errors (collisions). 82 82 RETURN_UNSUPPORTED:: The SMBus operation is not supported. … … 114 114 This is an optional parameter and may be NULL. 115 115 RETURN_SUCCESS: The SMBUS command was executed. 116 RETURN_TIMEOUT: A timeout occurred while executing the 117 SMBUS command. 118 RETURN_DEVICE_ERROR: The request was not completed because 119 a failure reflected in the Host Status Register bit. 120 Device errors are a result of a transaction collision, 116 RETURN_TIMEOUT: A timeout occurred while executing the 117 SMBUS command. 118 RETURN_DEVICE_ERROR: The request was not completed because 119 a failure reflected in the Host Status Register bit. 120 Device errors are a result of a transaction collision, 121 121 illegal command field, unclaimed cycle (host initiated), 122 122 or bus errors (collisions). … … 162 162 This is an optional parameter and may be NULL. 163 163 RETURN_SUCCESS: The SMBUS command was executed. 164 RETURN_TIMEOUT: A timeout occurred while executing the 165 SMBUS command. 166 RETURN_DEVICE_ERROR: The request was not completed because 167 a failure reflected in the Host Status Register bit. Device 168 errors are a result of a transaction collision, illegal 169 command field, unclaimed cycle (host initiated), or bus 164 RETURN_TIMEOUT: A timeout occurred while executing the 165 SMBUS command. 166 RETURN_DEVICE_ERROR: The request was not completed because 167 a failure reflected in the Host Status Register bit. Device 168 errors are a result of a transaction collision, illegal 169 command field, unclaimed cycle (host initiated), or bus 170 170 errors (collisions). 171 171 RETURN_CRC_ERROR: The checksum is not correct. (PEC is incorrect.) … … 210 210 This is an optional parameter and may be NULL. 211 211 RETURN_SUCCESS: The SMBUS command was executed. 212 RETURN_TIMEOUT: A timeout occurred while executing the 213 SMBUS command. 214 RETURN_DEVICE_ERROR: The request was not completed because 215 a failure reflected in the Host Status Register bit. 216 Device errors are a result of a transaction collision, 212 RETURN_TIMEOUT: A timeout occurred while executing the 213 SMBUS command. 214 RETURN_DEVICE_ERROR: The request was not completed because 215 a failure reflected in the Host Status Register bit. 216 Device errors are a result of a transaction collision, 217 217 illegal command field, unclaimed cycle (host initiated), 218 218 or bus errors (collisions). … … 257 257 This is an optional parameter and may be NULL. 258 258 RETURN_SUCCESS: The SMBUS command was executed. 259 RETURN_TIMEOUT: A timeout occurred while executing the 260 SMBUS command. 261 RETURN_DEVICE_ERROR: The request was not completed because 262 a failure reflected in the Host Status Register bit. 263 Device errors are a result of a transaction collision, 259 RETURN_TIMEOUT: A timeout occurred while executing the 260 SMBUS command. 261 RETURN_DEVICE_ERROR: The request was not completed because 262 a failure reflected in the Host Status Register bit. 263 Device errors are a result of a transaction collision, 264 264 illegal command field, unclaimed cycle (host initiated), 265 265 or bus errors (collisions). … … 298 298 If Length in SmBusAddress is not zero, then ASSERT(). 299 299 If any reserved bits of SmBusAddress are set, then ASSERT(). 300 301 @param SmBusAddress The address that encodes the SMBUS Slave Address, 302 SMBUS Command, SMBUS Data Length, and PEC. 303 @param Status Return status for the executed command. 304 This is an optional parameter and may be NULL. 305 RETURN_SUCCESS: The SMBUS command was executed. 306 RETURN_TIMEOUT: A timeout occurred while executing the 307 SMBUS command. 308 RETURN_DEVICE_ERROR: The request was not completed because 309 a failure reflected in the Host Status Register bit. 310 Device errors are a result of a transaction collision, 300 301 @param SmBusAddress The address that encodes the SMBUS Slave Address, 302 SMBUS Command, SMBUS Data Length, and PEC. 303 @param Status Return status for the executed command. 304 This is an optional parameter and may be NULL. 305 RETURN_SUCCESS: The SMBUS command was executed. 306 RETURN_TIMEOUT: A timeout occurred while executing the 307 SMBUS command. 308 RETURN_DEVICE_ERROR: The request was not completed because 309 a failure reflected in the Host Status Register bit. 310 Device errors are a result of a transaction collision, 311 311 illegal command field, unclaimed cycle (host initiated), 312 312 or bus errors (collisions). … … 351 351 This is an optional parameter and may be NULL. 352 352 RETURN_SUCCESS: The SMBUS command was executed. 353 RETURN_TIMEOUT: A timeout occurred while executing the 354 SMBUS command. 355 RETURN_DEVICE_ERROR: The request was not completed because 356 a failure reflected in the Host Status Register bit. 357 Device errors are a result of a transaction collision, 353 RETURN_TIMEOUT: A timeout occurred while executing the 354 SMBUS command. 355 RETURN_DEVICE_ERROR: The request was not completed because 356 a failure reflected in the Host Status Register bit. 357 Device errors are a result of a transaction collision, 358 358 illegal command field, unclaimed cycle (host initiated), 359 359 or bus errors (collisions). … … 400 400 This is an optional parameter and may be NULL. 401 401 RETURN_SUCCESS: The SMBUS command was executed. 402 RETURN_TIMEOUT: A timeout occurred while executing the 403 SMBUS command. 404 RETURN_DEVICE_ERROR: The request was not completed because 405 a failure reflected in the Host Status Register bit. 406 Device errors are a result of a transaction collision, 402 RETURN_TIMEOUT: A timeout occurred while executing the 403 SMBUS command. 404 RETURN_DEVICE_ERROR: The request was not completed because 405 a failure reflected in the Host Status Register bit. 406 Device errors are a result of a transaction collision, 407 407 illegal command field, unclaimed cycle (host initiated), 408 408 or bus errors (collisions). … … 449 449 This is an optional parameter and may be NULL. 450 450 RETURN_SUCCESS: The SMBUS command was executed. 451 RETURN_TIMEOUT: A timeout occurred while executing the 452 SMBUS command. 453 RETURN_DEVICE_ERROR: The request was not completed because 454 a failure reflected in the Host Status Register bit. 455 Device errors are a result of a transaction collision, 456 illegal command field, unclaimed cycle (host initiated), 451 RETURN_TIMEOUT: A timeout occurred while executing the 452 SMBUS command. 453 RETURN_DEVICE_ERROR: The request was not completed because 454 a failure reflected in the Host Status Register bit. 455 Device errors are a result of a transaction collision, 456 illegal command field, unclaimed cycle (host initiated), 457 457 or bus errors (collisions). 458 458 RETURN_CRC_ERROR: The checksum is not correct. (PEC is incorrect.) … … 484 484 Bytes are written to the SMBUS from Buffer. 485 485 The number of bytes written is returned, and will never return a value larger than 32-bytes. 486 If Status is not NULL, then the status of the executed command is returned in Status. 486 If Status is not NULL, then the status of the executed command is returned in Status. 487 487 If Length in SmBusAddress is zero or greater than 32, then ASSERT(). 488 488 If Buffer is NULL, then ASSERT(). … … 494 494 @param Status Return status for the executed command. 495 495 This is an optional parameter and may be NULL. 496 RETURN_TIMEOUT: A timeout occurred while executing the 497 SMBUS command. 498 RETURN_DEVICE_ERROR: The request was not completed because 499 a failure reflected in the Host Status Register bit. 500 Device errors are a result of a transaction collision, 501 illegal command field, unclaimed cycle (host initiated), 496 RETURN_TIMEOUT: A timeout occurred while executing the 497 SMBUS command. 498 RETURN_DEVICE_ERROR: The request was not completed because 499 a failure reflected in the Host Status Register bit. 500 Device errors are a result of a transaction collision, 501 illegal command field, unclaimed cycle (host initiated), 502 502 or bus errors (collisions). 503 503 RETURN_CRC_ERROR: The checksum is not correct (PEC is incorrect) … … 546 546 @param Status Return status for the executed command. 547 547 This is an optional parameter and may be NULL. 548 RETURN_TIMEOUT: A timeout occurred while executing the 549 SMBUS command. 550 RETURN_DEVICE_ERROR: The request was not completed because 551 a failure reflected in the Host Status Register bit. 552 Device errors are a result of a transaction collision, 553 illegal command field, unclaimed cycle (host initiated), 548 RETURN_TIMEOUT: A timeout occurred while executing the 549 SMBUS command. 550 RETURN_DEVICE_ERROR: The request was not completed because 551 a failure reflected in the Host Status Register bit. 552 Device errors are a result of a transaction collision, 553 illegal command field, unclaimed cycle (host initiated), 554 554 or bus errors (collisions). 555 555 RETURN_CRC_ERROR The checksum is not correct. (PEC is incorrect.)
Note:
See TracChangeset
for help on using the changeset viewer.