MdeModulePkg: SerialDxe: lay out mSerialIoMode initializer more nicely

This patch doesn't change behavior; it only modifies whitespace and
comments.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19699 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek 2016-01-21 00:29:03 +00:00 committed by lersek
parent 4cd75dd027
commit c0beed6de1
1 changed files with 10 additions and 7 deletions

View File

@ -181,13 +181,16 @@ SERIAL_DEVICE_PATH mSerialDevicePath = {
// 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 = {