mirror of https://github.com/acidanthera/audk.git
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:
parent
4cd75dd027
commit
c0beed6de1
|
@ -181,13 +181,16 @@ SERIAL_DEVICE_PATH mSerialDevicePath = {
|
||||||
// Template used to initialize the Serial IO protocols.
|
// Template used to initialize the Serial IO protocols.
|
||||||
//
|
//
|
||||||
EFI_SERIAL_IO_MODE mSerialIoMode = {
|
EFI_SERIAL_IO_MODE mSerialIoMode = {
|
||||||
0, // ControlMask
|
//
|
||||||
0, // Timeout
|
// value field set in SerialDxeInitialize()?
|
||||||
0, // BaudRate
|
//--------- ------------------- -----------------------------
|
||||||
1, // ReceiveFifoDepth
|
0, // ControlMask
|
||||||
0, // DataBits
|
0, // Timeout
|
||||||
0, // Parity
|
0, // BaudRate yes
|
||||||
0 // StopBits
|
1, // ReceiveFifoDepth
|
||||||
|
0, // DataBits yes
|
||||||
|
0, // Parity yes
|
||||||
|
0 // StopBits yes
|
||||||
};
|
};
|
||||||
|
|
||||||
EFI_SERIAL_IO_PROTOCOL mSerialIoTemplate = {
|
EFI_SERIAL_IO_PROTOCOL mSerialIoTemplate = {
|
||||||
|
|
Loading…
Reference in New Issue