summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
commitf754f721bf10508ca15c5c9243caa39c765662cf (patch)
treea30263d31dbc5cbe0d472c1ae870702d19111892 /MdePkg/Include/Library
parent41f2ff0b85f3118238aeac8dfda3a657340519a5 (diff)
downloadedk2-platforms-f754f721bf10508ca15c5c9243caa39c765662cf.tar.xz
update codes per MdePkg doxgen review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8526 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library')
-rw-r--r--MdePkg/Include/Library/HobLib.h34
-rw-r--r--MdePkg/Include/Library/PcdLib.h2
-rw-r--r--MdePkg/Include/Library/PciLib.h8
3 files changed, 22 insertions, 22 deletions
diff --git a/MdePkg/Include/Library/HobLib.h b/MdePkg/Include/Library/HobLib.h
index 1590524493..d17de0b35e 100644
--- a/MdePkg/Include/Library/HobLib.h
+++ b/MdePkg/Include/Library/HobLib.h
@@ -8,7 +8,7 @@
allows the PEI phase to pass information to the DXE phase. HOBs are position
independent and can be relocated easily to different memory memory locations.
-Copyright (c) 2006 - 2008, Intel Corporation<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>
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
@@ -419,9 +419,9 @@ BuildMemoryAllocationHob (
Returns the type of a HOB.
This macro returns the HobType field from the HOB header for the
- HOB specified by Hob.
+ HOB specified by HobStart.
- @param Hob A pointer to a HOB.
+ @param HobStart A pointer to a HOB.
@return HobType.
@@ -433,9 +433,9 @@ BuildMemoryAllocationHob (
Returns the length, in bytes, of a HOB.
This macro returns the HobLength field from the HOB header for the
- HOB specified by Hob.
+ HOB specified by HobStart.
- @param Hob A pointer to a HOB.
+ @param HobStart A pointer to a HOB.
@return HobLength.
@@ -447,9 +447,9 @@ BuildMemoryAllocationHob (
Returns a pointer to the next HOB in the HOB list.
This macro returns a pointer to HOB that follows the
- HOB specified by Hob in the HOB List.
+ HOB specified by HobStart in the HOB List.
- @param Hob A pointer to a HOB.
+ @param HobStart A pointer to a HOB.
@return A pointer to the next HOB in the HOB list.
@@ -460,23 +460,23 @@ BuildMemoryAllocationHob (
/**
Determines if a HOB is the last HOB in the HOB list.
- This macro determine if the HOB specified by Hob is the
- last HOB in the HOB list. If Hob is last HOB in the HOB list,
+ This macro determine if the HOB specified by HobStart is the
+ last HOB in the HOB list. If HobStart is last HOB in the HOB list,
then TRUE is returned. Otherwise, FALSE is returned.
- @param Hob A pointer to a HOB.
+ @param HobStart A pointer to a HOB.
- @retval TRUE The HOB specified by Hob is the last HOB in the HOB list.
- @retval FALSE The HOB specified by Hob is not the last HOB in the HOB list.
+ @retval TRUE The HOB specified by HobStart is the last HOB in the HOB list.
+ @retval FALSE The HOB specified by HobStart is not the last HOB in the HOB list.
**/
-#define END_OF_HOB_LIST(Hob) (GET_HOB_TYPE (Hob) == (UINT16)EFI_HOB_TYPE_END_OF_HOB_LIST)
+#define END_OF_HOB_LIST(HobStart) (GET_HOB_TYPE (HobStart) == (UINT16)EFI_HOB_TYPE_END_OF_HOB_LIST)
/**
Returns a pointer to data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
- This macro returns a pointer to the data buffer in a HOB specified by Hob.
- Hob is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
+ This macro returns a pointer to the data buffer in a HOB specified by HobStart.
+ HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
@param GuidHob A pointer to a HOB.
@@ -489,8 +489,8 @@ BuildMemoryAllocationHob (
/**
Returns the size of the data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
- This macro returns the size, in bytes, of the data buffer in a HOB specified by Hob.
- Hob is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
+ This macro returns the size, in bytes, of the data buffer in a HOB specified by HobStart.
+ HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.
@param GuidHob A pointer to a HOB.
diff --git a/MdePkg/Include/Library/PcdLib.h b/MdePkg/Include/Library/PcdLib.h
index 3b0f830e7f..00548bebc4 100644
--- a/MdePkg/Include/Library/PcdLib.h
+++ b/MdePkg/Include/Library/PcdLib.h
@@ -6,7 +6,7 @@
PCD, module should be linked to a PEIM/DXE library instance to access that PCD.
If a module uses PatchableInModule type PCD, it also needs the library instance to produce
LibPatchPcdSetPtr() interface. For FeatureFlag/Fixed PCD, the macro interface is
- translated to n variable or macro that is auto-generated by build tool in
+ translated to a variable or macro that is auto-generated by build tool in
module's autogen.h/autogen.c.
The PcdGetXX(), PcdSetXX(), PcdToken(), and PcdGetNextTokenSpace() operations are
only available prior to ExitBootServices(). If access to PCD values are required
diff --git a/MdePkg/Include/Library/PciLib.h b/MdePkg/Include/Library/PciLib.h
index 708571bfd3..b15f69b0da 100644
--- a/MdePkg/Include/Library/PciLib.h
+++ b/MdePkg/Include/Library/PciLib.h
@@ -10,7 +10,7 @@
these three libraries is identical. The PCI CF8 Library and PCI Express Library simply use
explicit access methods.
-Copyright (c) 2006 - 2008, Intel Corporation<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>
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
@@ -37,8 +37,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@return The encoded PCI address.
**/
-#define PCI_LIB_ADDRESS(Bus,Device,Function,Offset) \
- (((Offset) & 0xfff) | (((Function) & 0x07) << 12) | (((Device) & 0x1f) << 15) | (((Bus) & 0xff) << 20))
+#define PCI_LIB_ADDRESS(Bus,Device,Function,Register) \
+ (((Register) & 0xfff) | (((Function) & 0x07) << 12) | (((Device) & 0x1f) << 15) | (((Bus) & 0xff) << 20))
/**
Registers a PCI device so PCI configuration registers may be accessed after
@@ -167,7 +167,7 @@ PciAnd8 (
/**
Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit
- value, followed by a bitwise OR with another 8-bit value.
+ value, followed by a bitwise OR with another 8-bit value.
Reads the 8-bit PCI configuration register specified by Address, performs a
bitwise AND between the read result and the value specified by AndData,