Ecc clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5415 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2623855985
commit
94646ec0e3
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PCI CF8 Library Services for PCI Segment #0
|
PCI CF8 Library Services for PCI Segment #0
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -78,7 +78,7 @@ UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciCf8Write8 (
|
PciCf8Write8 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT8 Data
|
IN UINT8 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -388,7 +388,7 @@ UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciCf8Write16 (
|
PciCf8Write16 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT16 Data
|
IN UINT16 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -706,7 +706,7 @@ UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciCf8Write32 (
|
PciCf8Write32 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT32 Data
|
IN UINT32 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Pci Express Library Services for PCI Segment #0
|
Pci Express Library Services for PCI Segment #0
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -77,7 +77,7 @@ UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciExpressWrite8 (
|
PciExpressWrite8 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT8 Data
|
IN UINT8 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -377,7 +377,7 @@ UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciExpressWrite16 (
|
PciExpressWrite16 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT16 Data
|
IN UINT16 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -685,7 +685,7 @@ UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciExpressWrite32 (
|
PciExpressWrite32 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT32 Data
|
IN UINT32 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PCI Library Services for PCI Segment #0
|
PCI Library Services for PCI Segment #0
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -72,7 +72,7 @@ UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite8 (
|
PciWrite8 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT8 Data
|
IN UINT8 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -372,7 +372,7 @@ UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite16 (
|
PciWrite16 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT16 Data
|
IN UINT16 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -680,7 +680,7 @@ UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite32 (
|
PciWrite32 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT32 Data
|
IN UINT32 Value
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
All assertions for I/O operations are handled in MMIO functions in the IoLib
|
All assertions for I/O operations are handled in MMIO functions in the IoLib
|
||||||
Library.
|
Library.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -48,8 +48,7 @@
|
||||||
@return The base address of PCI Express.
|
@return The base address of PCI Express.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
STATIC
|
VOID*
|
||||||
volatile VOID*
|
|
||||||
GetPciExpressBaseAddress (
|
GetPciExpressBaseAddress (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PCI Library using Port CF8/CFC access.
|
PCI Library using Port CF8/CFC access.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -63,10 +63,10 @@ UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite8 (
|
PciWrite8 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT8 Data
|
IN UINT8 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciCf8Write8 (Address, Data);
|
return PciCf8Write8 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -391,10 +391,10 @@ UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite16 (
|
PciWrite16 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT16 Data
|
IN UINT16 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciCf8Write16 (Address, Data);
|
return PciCf8Write16 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -719,10 +719,10 @@ UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite32 (
|
PciWrite32 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT32 Data
|
IN UINT32 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciCf8Write32 (Address, Data);
|
return PciCf8Write32 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
PCI Library using PC Express access.
|
PCI Library using PC Express access.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -63,10 +63,10 @@ UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite8 (
|
PciWrite8 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT8 Data
|
IN UINT8 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciExpressWrite8 (Address, Data);
|
return PciExpressWrite8 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -391,10 +391,10 @@ UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite16 (
|
PciWrite16 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT16 Data
|
IN UINT16 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciExpressWrite16 (Address, Data);
|
return PciExpressWrite16 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -719,10 +719,10 @@ UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PciWrite32 (
|
PciWrite32 (
|
||||||
IN UINTN Address,
|
IN UINTN Address,
|
||||||
IN UINT32 Data
|
IN UINT32 Value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return PciExpressWrite32 (Address, Data);
|
return PciExpressWrite32 (Address, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue