Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Library/SerialIoLib
- 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:
-
- 2 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/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
r48674 r58466 53 53 /** 54 54 Initialize the serial device hardware. 55 55 56 56 If no initialization is required, then return RETURN_SUCCESS. 57 57 If the serial device was successfuly initialized, then return RETURN_SUCCESS. 58 58 If the serial device could not be initialized, then return RETURN_DEVICE_ERROR. 59 59 60 60 @retval RETURN_SUCCESS The serial device was initialized. 61 61 @retval RETURN_DEVICE_ERROR The serail device could not be initialized. … … 81 81 // 82 82 Divisor = 115200 / gBps; 83 83 84 84 // 85 85 // Set communications format … … 104 104 105 105 /** 106 Write data from buffer to serial device. 107 108 Writes NumberOfBytes data bytes from Buffer to the serial device. 106 Write data from buffer to serial device. 107 108 Writes NumberOfBytes data bytes from Buffer to the serial device. 109 109 The number of bytes actually written to the serial device is returned. 110 110 If the return value is less than NumberOfBytes, then the write operation failed. 111 111 112 If Buffer is NULL, then ASSERT(). 112 If Buffer is NULL, then ASSERT(). 113 113 114 114 If NumberOfBytes is zero, then return 0. … … 118 118 119 119 @retval 0 NumberOfBytes is 0. 120 @retval >0 The number of bytes written to the serial device. 120 @retval >0 The number of bytes written to the serial device. 121 121 If this value is less than NumberOfBytes, then the read operation failed. 122 122 … … 159 159 160 160 @retval 0 NumberOfBytes is 0. 161 @retval >0 The number of bytes read from the serial device. 161 @retval >0 The number of bytes read from the serial device. 162 162 If this value is less than NumberOfBytes, then the read operation failed. 163 163
Note:
See TracChangeset
for help on using the changeset viewer.