diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-21 02:51:09 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-21 02:51:09 +0000 |
commit | b29a823d91ac4d8abd87e58172e32d7b0b43be8d (patch) | |
tree | 5db0ace4fe4eca735fc60e4f17e6583f8b39ffe5 /DuetPkg/PciBusNoEnumerationDxe | |
parent | 10b48963c887398c0fd3313de0996808d51b1afc (diff) | |
download | edk2-b29a823d91ac4d8abd87e58172e32d7b0b43be8d.tar.gz edk2-b29a823d91ac4d8abd87e58172e32d7b0b43be8d.tar.bz2 edk2-b29a823d91ac4d8abd87e58172e32d7b0b43be8d.zip |
Detab in DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciBusNoEnumerationDxe')
-rw-r--r-- | DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 4 | ||||
-rw-r--r-- | DuetPkg/PciBusNoEnumerationDxe/PciIo.c | 32 |
2 files changed, 18 insertions, 18 deletions
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:
|