From b29a823d91ac4d8abd87e58172e32d7b0b43be8d Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 21 Aug 2009 02:51:09 +0000 Subject: Detab in DuetPkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524 --- .../PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 4 +-- DuetPkg/PciBusNoEnumerationDxe/PciIo.c | 32 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'DuetPkg/PciBusNoEnumerationDxe') diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c index 421a92c8fc..27a525e0d8 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2005 - 2007, Intel Corporation +Copyright (c) 2005 - 2009, 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 @@ -994,7 +994,7 @@ Returns: Data = Value; Index = 0; for (Data = Value; Data != 0; Data >>= 1) { - Index ++; + Index ++; } Value |= ((UINT32)(-1) << Index); diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciIo.c b/DuetPkg/PciBusNoEnumerationDxe/PciIo.c index 759c61a83c..e96cd891ba 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciIo.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciIo.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2005 - 2007, Intel Corporation +Copyright (c) 2005 - 2009, 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 @@ -571,7 +571,7 @@ Returns: PCI_IO_DEVICE *PciIoDevice; if (Buffer == NULL){ - return EFI_INVALID_PARAMETER; + return EFI_INVALID_PARAMETER; } PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (This); @@ -624,7 +624,7 @@ Returns: PCI_IO_DEVICE *PciIoDevice; if (Buffer == NULL){ - return EFI_INVALID_PARAMETER; + return EFI_INVALID_PARAMETER; } PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (This); @@ -677,7 +677,7 @@ Returns: PCI_IO_DEVICE *PciIoDevice; if (Buffer == NULL){ - return EFI_INVALID_PARAMETER; + return EFI_INVALID_PARAMETER; } PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (This); @@ -730,7 +730,7 @@ Returns: PCI_IO_DEVICE *PciIoDevice; if (Buffer == NULL){ - return EFI_INVALID_PARAMETER; + return EFI_INVALID_PARAMETER; } PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (This); @@ -1074,7 +1074,7 @@ Returns: PCI_IO_DEVICE *PciIoDevice; if( HostAddress == NULL ){ - return EFI_INVALID_PARAMETER; + return EFI_INVALID_PARAMETER; } PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (This); @@ -1282,21 +1282,21 @@ Returns: return EFI_SUCCESS; case EfiPciIoAttributeOperationEnable: - if(Attributes & ~(PciIoDevice->Supports)) { - return EFI_UNSUPPORTED; - } - NewAttributes = PciIoDevice->Attributes | Attributes; + if(Attributes & ~(PciIoDevice->Supports)) { + return EFI_UNSUPPORTED; + } + NewAttributes = PciIoDevice->Attributes | Attributes; break; case EfiPciIoAttributeOperationDisable: - if(Attributes & ~(PciIoDevice->Supports)) { - return EFI_UNSUPPORTED; - } + if(Attributes & ~(PciIoDevice->Supports)) { + return EFI_UNSUPPORTED; + } NewAttributes = PciIoDevice->Attributes & (~Attributes); break; case EfiPciIoAttributeOperationSet: - if(Attributes & ~(PciIoDevice->Supports)) { - return EFI_UNSUPPORTED; - } + if(Attributes & ~(PciIoDevice->Supports)) { + return EFI_UNSUPPORTED; + } NewAttributes = Attributes; break; default: -- cgit v1.2.3