@param Source Pointer to a Null-terminated Unicode string.
@param Destination Pointer to a Null-terminated ASCII string.
- @reture Destination
+ @return Destination
**/
CHAR8 *
from little endian to big endian or vice versa. The byte swapped value is
returned.
- @param Operand A 16-bit unsigned value.
+ @param Value Operand A 16-bit unsigned value.
@return The byte swaped Operand.
from little endian to big endian or vice versa. The byte swapped value is
returned.
- @param Operand A 32-bit unsigned value.
+ @param Value Operand A 32-bit unsigned value.
@return The byte swaped Operand.
from little endian to big endian or vice versa. The byte swapped value is
returned.
- @param Operand A 64-bit unsigned value.
+ @param Value Operand A 64-bit unsigned value.
@return The byte swaped Operand.
#ifndef __PCD_LIB_H__\r
#define __PCD_LIB_H__\r
\r
+#include <Base.h>\r
+\r
#define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)\r
\r
#define PcdToken(TokenName) _PCD_TOKEN_##TokenName\r
/**\r
Returns the 8-bit value for the token specified by TokenNumber. \r
\r
- @param[in] The PCD token number to retrieve a current value for.\r
+ @param[in] TokenNumber The PCD token number to retrieve a current value for.\r
\r
@retval UINT8 Returns the 8-bit value for the token specified by TokenNumber. \r
\r
/**\r
Returns the 16-bit value for the token specified by TokenNumber. \r
\r
- @param[in] The PCD token number to retrieve a current value for.\r
+ @param[in] TokenNumber The PCD token number to retrieve a current value for.\r
\r
@retval UINT16 Returns the 16-bit value for the token specified by TokenNumber. \r
\r
If SizeOfValue is NULL, then ASSERT().\r
If SizeOfValue > 0 and Buffer is NULL, then ASSERT().\r
\r
- @param[in] TokenNumber The PCD token number to set a current value for.\r
- @param[in,out] SizeOfBuffer The size, in bytes, of Buffer.\r
- @param[in] Value A pointer to the buffer to set.\r
+ @param[in] TokenNumber The PCD token number to set a current value for.\r
+ @param[in,out] SizeOfBuffer The size, in bytes, of Buffer.\r
+ @param[in] Buffer Value A pointer to the buffer to set.\r
\r
@retval VOID* Return the pointer for the buffer been set.\r
\r
modify the internal data in PCD database. \r
\r
\r
- @param[in] CallBackGuid The PCD token GUID being set.\r
- @param[in] CallBackToken The PCD token number being set.\r
- @param[in, out] TokenData A pointer to the token data being set.\r
- @param[in] TokenDataSize The size, in bytes, of the data being set.\r
+ @param[in] CallBackGuid The PCD token GUID being set.\r
+ @param[in] CallBackToken The PCD token number being set.\r
+ @param[in, out] TokenData A pointer to the token data being set.\r
+ @param[in] TokenDataSize The size, in bytes, of the data being set.\r
\r
@retval VOID\r
\r
token number in the token space, then 0 is returned. If TokenNumber is not 0 and \r
is not in the token space specified by Guid, then ASSERT().\r
\r
- @param[in] Pointer to a 128-bit unique value that designates which namespace \r
- to set a value from. If NULL, then the default token space is used.\r
- @param[in] The previous PCD token number. If 0, then retrieves the first PCD \r
- token number.\r
+ @param[in] Guid Pointer to a 128-bit unique value that designates which namespace \r
+ to set a value from. If NULL, then the default token space is used.\r
+ @param[in] TokenNumber The previous PCD token number. If 0, then retrieves the first PCD \r
+ token number.\r
\r
@retval UINTN The next valid token number.\r
\r
#ifndef __REPORT_STATUS_CODE_LIB_H__\r
#define __REPORT_STATUS_CODE_LIB_H__\r
\r
+#include <ProcessorBind.h>\r
+#include <Pi/PiMultiPhase.h>\r
#include <Protocol/DevicePath.h>\r
\r
//\r
specified by Context1 and Context2. Context1 and Context2 are optional and\r
may be 0. The function EntryPoint must never return.\r
\r
- @param Cs The 16-bit selector to load in the CS before EntryPoint\r
- is called. The descriptor in the GDT that this selector\r
- references must be setup for 32-bit protected mode.\r
+ @param CodeSelector The 16-bit selector to load in the CS before EntryPoint\r
+ is called. The descriptor in the GDT that this selector\r
+ references must be setup for 32-bit protected mode.\r
@param EntryPoint The 64-bit virtual address of the function to call with\r
the new stack after paging is disabled.\r
@param Context1 The 64-bit virtual address of the context to pass into\r
\r
If ListHead is NULL, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a new doubly linked list.\r
+ @param List A pointer to the head node of a new doubly linked list.\r
\r
@return ListHead\r
\r
of nodes in ListHead, including the ListHead node, is greater than or\r
equal to PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
@param Entry A pointer to a node that is to be inserted at the beginning\r
of a doubly linked list.\r
\r
of nodes in ListHead, including the ListHead node, is greater than or\r
equal to PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
@param Entry A pointer to a node that is to be added at the end of the\r
doubly linked list.\r
\r
in List, including the List node, is greater than or equal to\r
PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
\r
@retval TRUE The linked list is empty.\r
@retval FALSE The linked list is not empty.\r
@param Source Pointer to a Null-terminated Unicode string.\r
@param Destination Pointer to a Null-terminated ASCII string.\r
\r
- @reture Destination\r
+ @return Destination\r
\r
**/\r
CHAR8 *\r
\r
@param FirstString Pointer to a Null-terminated ASCII string.\r
@param SecondString Pointer to a Null-terminated ASCII string.\r
-\r
+ @param Length Maximum number of ASCII characters to compare.\r
+ \r
@retval 0 FirstString is identical to SecondString.\r
@retval !=0 FirstString is not identical to SecondString.\r
\r
@param Source Pointer to a Null-terminated ASCII string.\r
@param Destination Pointer to a Null-terminated Unicode string.\r
\r
- @reture Destination\r
+ @return Destination\r
\r
**/\r
CHAR16 *\r
/**\r
Copy Length bytes from Source to Destination.\r
\r
- @param Destination Target of copy\r
- @param Source Place to copy from\r
- @param Length Number of bytes to copy\r
+ @param DestinationBuffer Target of copy\r
+ @param SourceBuffer Place to copy from\r
+ @param Length Number of bytes to copy\r
\r
@return Destination\r
\r
/**\r
Set Buffer to Value for Size bytes.\r
\r
- @param Buffer Memory to set.\r
- @param Size Number of bytes to set\r
- @param Value Value of the set operation.\r
+ @param Buffer Memory to set.\r
+ @param Length Number of bytes to set\r
+ @param Value Value of the set operation.\r
\r
@return Buffer\r
\r
Set Buffer to 0 for Size bytes.\r
\r
@param Buffer Memory to set.\r
- @param Size Number of bytes to set\r
+ @param Length Number of bytes to set\r
\r
@return Buffer\r
\r
/**\r
Returns the 8-bit value for the token specified by TokenNumber. \r
\r
- @param[in] The PCD token number to retrieve a current value for.\r
+ @param[in] TokenNumber The PCD token number to retrieve a current value for.\r
\r
@retval UINT8 Returns the 8-bit value for the token specified by TokenNumber. \r
\r
/**\r
Returns the 16-bit value for the token specified by TokenNumber. \r
\r
- @param[in] The PCD token number to retrieve a current value for.\r
+ @param[in] TokenNumber The PCD token number to retrieve a current value for.\r
\r
@retval UINT16 Returns the 16-bit value for the token specified by TokenNumber. \r
\r
\r
If SizeOfValue > 0 and Buffer is NULL, then ASSERT().\r
\r
- @param[in] TokenNumber The PCD token number to set a current value for.\r
- @param[in,out] SizeOfBuffer The size, in bytes, of Buffer.\r
- @param[in] Value A pointer to the buffer to set.\r
+ @param[in] TokenNumber The PCD token number to set a current value for.\r
+ @param[in,out] SizeOfBuffer The size, in bytes, of Buffer.\r
+ @param[in] Buffer A pointer to the buffer to set.\r
\r
@retval VOID* Return the pointer for the buffer been set.\r
\r
to the value specified by Value. Value is returned.\r
\r
@param[in] TokenNumber The PCD token number to set a current value for.\r
- @param[in] Value The boolean value to set.\r
+ @param[in] Value The boolean value to set.\r
\r
@retval BOOLEAN Return the value been set.\r
\r
token number in the token space, then 0 is returned. If TokenNumber is not 0 and \r
is not in the token space specified by Guid, then ASSERT().\r
\r
- @param[in] Pointer to a 128-bit unique value that designates which namespace \r
- to set a value from. If NULL, then the default token space is used.\r
- @param[in] The previous PCD token number. If 0, then retrieves the first PCD \r
- token number.\r
+ @param[in] Guid Pointer to a 128-bit unique value that designates which namespace \r
+ to set a value from. If NULL, then the default token space is used.\r
+ @param[in] TokenNumber The previous PCD token number. If 0, then retrieves the first PCD \r
+ token number.\r
\r
@retval UINTN The next valid token number.\r
\r
\r
\r
\r
- @param[in] Pointer to a 128-bit unique value that designates from which namespace \r
- to start the search.\r
+ @param[in] Guid Pointer to a 128-bit unique value that designates from which namespace \r
+ to start the search.\r
\r
@retval CONST GUID * The next valid token namespace.\r
\r