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
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user