Revision: 19699
http://sourceforge.net/p/edk2/code/19699
Author: lersek
Date: 2016-01-21 00:29:03 +0000 (Thu, 21 Jan 2016)
Log Message:
-----------
MdeModulePkg: SerialDxe: lay out mSerialIoMode initializer more nicely
This patch doesn't change behavior; it only modifies whitespace and
comments.
Cc: Ard Biesheuvel <[email protected]>
Cc: Ryan Harkin <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Star Zeng <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Tested-by: Ryan Harkin <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdeModulePkg/Universal/SerialDxe/SerialIo.c
Modified: trunk/edk2/MdeModulePkg/Universal/SerialDxe/SerialIo.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/SerialDxe/SerialIo.c 2016-01-20
14:55:58 UTC (rev 19698)
+++ trunk/edk2/MdeModulePkg/Universal/SerialDxe/SerialIo.c 2016-01-21
00:29:03 UTC (rev 19699)
@@ -181,13 +181,16 @@
// Template used to initialize the Serial IO protocols.
//
EFI_SERIAL_IO_MODE mSerialIoMode = {
- 0, // ControlMask
- 0, // Timeout
- 0, // BaudRate
- 1, // ReceiveFifoDepth
- 0, // DataBits
- 0, // Parity
- 0 // StopBits
+ //
+ // value field set in SerialDxeInitialize()?
+ //--------- ------------------- -----------------------------
+ 0, // ControlMask
+ 0, // Timeout
+ 0, // BaudRate yes
+ 1, // ReceiveFifoDepth
+ 0, // DataBits yes
+ 0, // Parity yes
+ 0 // StopBits yes
};
EFI_SERIAL_IO_PROTOCOL mSerialIoTemplate = {
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits