Fix some typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7160 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gikidy
2008-12-31 06:06:57 +00:00
parent a388ec434a
commit 3fd8027ee5
7 changed files with 54 additions and 52 deletions

View File

@@ -443,6 +443,7 @@ BuildPcdDxeDataBase (
//
mCallbackFnTable = AllocateZeroPool (PCD_TOTAL_TOKEN_NUMBER * sizeof (LIST_ENTRY));
ASSERT(mCallbackFnTable != NULL);
// EBC compiler is very choosy. It may report warning about comparison
// between UINTN and 0 . So we add 1 in each size of the
@@ -856,7 +857,7 @@ SetWorker (
Wrapper function for get PCD value for dynamic-ex PCD.
@param Guid Token space guid for dynamic-ex PCD.
@param ExTokenNumber Token number for dyanmic-ex PCD.
@param ExTokenNumber Token number for dynamic-ex PCD.
@param GetSize The size of dynamic-ex PCD value.
@return PCD entry in PCD database.
@@ -1079,7 +1080,7 @@ GetExPcdTokenNumber (
}
/**
Get SKU ID tabble from PCD database.
Get SKU ID table from PCD database.
@param LocalTokenNumberTableIdx Index of local token number in token number table.
@param IsPeiPcd If TRUE,
@@ -1290,7 +1291,7 @@ GetPtrTypeSize (
}
/**
Set size of POINTER type PCD value. The size should not exceed the maxmium size
Set size of POINTER type PCD value. The size should not exceed the maximum size
of this PCD value.
@param LocalTokenNumberTableIdx Index of local token number in local token number table.

View File

@@ -32,7 +32,7 @@ Module Name: Service.h
#include <Library/UefiRuntimeServicesTableLib.h>
//
// Please make sure the PCD Serivce PEIM Version is consistent with
// Please make sure the PCD Service PEIM Version is consistent with
// the version of PCD Database generation tool
//
#define PCD_SERVICE_DXE_DRIVER_VERSION 2
@@ -153,7 +153,7 @@ DxePcdGet64 (
@param[in] TokenNumber The PCD token number.
@return The pointer to the buffer to be retrived.
@return The pointer to the buffer to be retrieved.
**/
VOID *
@@ -293,7 +293,7 @@ DxePcdGet64Ex (
@param[in] Guid The token space for the token number.
@param[in] TokenNumber The PCD token number.
@return The pointer to the buffer to be retrived.
@return The pointer to the buffer to be retrieved.
**/
VOID *
@@ -862,7 +862,7 @@ GetWorker (
Wrapper function for get PCD value for dynamic-ex PCD.
@param Guid Token space guid for dynamic-ex PCD.
@param ExTokenNumber Token number for dyanmic-ex PCD.
@param ExTokenNumber Token number for dynamic-ex PCD.
@param GetSize The size of dynamic-ex PCD value.
@return PCD entry in PCD database.
@@ -1047,7 +1047,7 @@ ExGetNextTokeNumber (
Get size of POINTER type PCD value.
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
@param MaxSize Maxmium size of POINTER type PCD value.
@param MaxSize Maximum size of POINTER type PCD value.
@return size of POINTER type PCD value.
@@ -1059,7 +1059,7 @@ GetPtrTypeSize (
);
/**
Set size of POINTER type PCD value. The size should not exceed the maxmium size
Set size of POINTER type PCD value. The size should not exceed the maximum size
of this PCD value.
@param LocalTokenNumberTableIdx Index of local token number in local token number table.

View File

@@ -205,7 +205,7 @@ PeiPcdGet64 (
@param[in] TokenNumber The PCD token number.
@return The pointer to the buffer to be retrived.
@return The pointer to the buffer to be retrieved.
**/
VOID *
@@ -402,7 +402,7 @@ PeiPcdGet64Ex (
@param[in] Guid The token space for the token number.
@param[in] ExTokenNumber The PCD token number.
@return The pointer to the buffer to be retrived.
@return The pointer to the buffer to be retrieved.
**/
VOID *
@@ -1091,7 +1091,7 @@ PeiPcdGetNextTokenSpace (
The max size of this PCD's value is described in PCD's definition in DEC file.
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
@param MaxSize Maxmium size of PCD's value
@param MaxSize Maximum size of PCD's value
@param Database Pcd database in PEI phase.
@return PCD value's size for POINTER type PCD.
@@ -1162,11 +1162,11 @@ GetPtrTypeSize (
The max size of this PCD's value is described in PCD's definition in DEC file.
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
@param CurrentSize Maxmium size of PCD's value
@param CurrentSize Maximum size of PCD's value
@param Database Pcd database in PEI phase.
@retval TRUE Success to set PCD's value size, which is not exceed maxmium size
@retval FALSE Fail to set PCD's value size, which maybe exceed maxmium size
@retval TRUE Success to set PCD's value size, which is not exceed maximum size
@retval FALSE Fail to set PCD's value size, which maybe exceed maximum size
**/
BOOLEAN