X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Nt32Pkg%2FWinNtSerialIoDxe%2FWinNtSerialIo.c;h=b2c9089572528df9a1dc090924da6739d59f39ba;hp=17e4fdacf63f2b53fd78c6f848c4cf6fa112a42d;hb=f7c58a94cf72eb00f0931c89d935a164abaadf50;hpb=d5b0f232f77a0e1e86dc9d63c879eb486f15b1c4 diff --git a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c index 17e4fdacf6..b2c9089572 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c +++ b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c @@ -1,6 +1,6 @@ /**@file -Copyright (c) 2006 - 2009, Intel Corporation +Copyright (c) 2006 - 2010, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -801,7 +801,7 @@ Returns: // we must set the default values if a null argument is passed in. // if (BaudRate == 0) { - BaudRate = FixedPcdGet64 (PcdUartDefaultBaudRate); + BaudRate = PcdGet64 (PcdUartDefaultBaudRate); } if (ReceiveFifoDepth == 0) { @@ -813,15 +813,15 @@ Returns: } if (Parity == DefaultParity) { - Parity = (EFI_PARITY_TYPE) (FixedPcdGet8 (PcdUartDefaultParity)); + Parity = (EFI_PARITY_TYPE) (PcdGet8 (PcdUartDefaultParity)); } if (DataBits == 0) { - DataBits = FixedPcdGet8 (PcdUartDefaultDataBits); + DataBits = PcdGet8 (PcdUartDefaultDataBits); } if (StopBits == DefaultStopBits) { - StopBits = (EFI_STOP_BITS_TYPE) FixedPcdGet8 (PcdUartDefaultStopBits); + StopBits = (EFI_STOP_BITS_TYPE) PcdGet8 (PcdUartDefaultStopBits); } //