|
@@ -8,13 +8,13 @@
|
|
|
LibPatchPcdSetPtr() interface. For FeatureFlag/Fixed PCD, the macro interface is
|
|
|
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
|
|
|
+ The PcdGetXX(), PcdSetXX(), PcdToken(), and PcdGetNextTokenSpace() operations are
|
|
|
+ only available prior to ExitBootServices(). If access to PCD values are required
|
|
|
at runtime, then their values must be collected prior to ExitBootServices().
|
|
|
There are no restrictions on the use of FeaturePcd(), FixedPcdGetXX(),
|
|
|
PatchPcdGetXX(), and PatchPcdSetXX().
|
|
|
|
|
|
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
|
|
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
|
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
|
|
@@ -127,7 +127,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
@param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
- @return The Boolean value for the token.
|
|
|
+ @return The Boolean value for the token.
|
|
|
|
|
|
**/
|
|
|
#define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName
|
|
@@ -142,7 +142,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
@param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
- @return A pointer to the buffer.
|
|
|
+ @return A pointer to the buffer.
|
|
|
|
|
|
**/
|
|
|
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
|
|
@@ -246,7 +246,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
@param TokenName The name of the binary patchable PCD token to set the current value for.
|
|
|
@param Value The 8-bit value to set.
|
|
|
-
|
|
|
+
|
|
|
@return Return the Value that was set.
|
|
|
|
|
|
**/
|
|
@@ -320,17 +320,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
/**
|
|
|
Sets a pointer to a binary patchable PCD token buffer based on a token name.
|
|
|
|
|
|
- Sets the buffer for the token specified by TokenName. Buffer is returned.
|
|
|
+ Sets the buffer for the token specified by TokenName. Buffer is returned.
|
|
|
If SizeOfBuffer is greater than the maximum size supported by TokenName, then set SizeOfBuffer
|
|
|
- to the maximum size supported by TokenName and return NULL to indicate that the set operation
|
|
|
- was not actually performed. If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be
|
|
|
+ to the maximum size supported by TokenName and return NULL to indicate that the set operation
|
|
|
+ was not actually performed. If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be
|
|
|
set to the maximum size supported by TokenName and NULL must be returned.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
If TokenName is not a patchable in module PCD, then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
-
|
|
|
+
|
|
|
@param TokenName The name of the binary patchable PCD token to set the current value for.
|
|
|
@param SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param Buffer Pointer to the value to set.
|
|
@@ -348,10 +348,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
)
|
|
|
/**
|
|
|
Retrieves an 8-bit PCD token value based on a token name.
|
|
|
-
|
|
|
+
|
|
|
Returns the 8-bit value for the token specified by TokenName.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
@param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return 8-bit value for the token specified by TokenName.
|
|
@@ -460,10 +460,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
/**
|
|
|
Retrieves the size of the PCD token based on a token name.
|
|
|
-
|
|
|
+
|
|
|
Returns the size of the token specified by TokenName.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
@param[in] TokenName The name of the PCD token to retrieve a current value size for.
|
|
|
|
|
|
@return Return the size
|
|
@@ -474,11 +474,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
/**
|
|
|
Retrieve the size of a given PCD token.
|
|
|
-
|
|
|
- Returns the size of the token specified by TokenNumber and Guid.
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ Returns the size of the token specified by TokenNumber and Guid.
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value size for.
|
|
|
|
|
@@ -496,7 +496,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
@param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
@param Value The 8-bit value to set.
|
|
|
-
|
|
|
+
|
|
|
@return Return the Value that was set.
|
|
|
|
|
|
**/
|
|
@@ -551,17 +551,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
/**
|
|
|
Sets a pointer to a PCD token buffer based on a token name.
|
|
|
|
|
|
- Sets the buffer for the token specified by TokenName. Buffer is returned.
|
|
|
- If SizeOfBuffer is greater than the maximum size supported by TokenName,
|
|
|
- then set SizeOfBuffer to the maximum size supported by TokenName and return NULL
|
|
|
- to indicate that the set operation was not actually performed. If SizeOfBuffer
|
|
|
- is set to MAX_ADDRESS, then SizeOfBuffer must be set to the maximum size supported
|
|
|
+ Sets the buffer for the token specified by TokenName. Buffer is returned.
|
|
|
+ If SizeOfBuffer is greater than the maximum size supported by TokenName,
|
|
|
+ then set SizeOfBuffer to the maximum size supported by TokenName and return NULL
|
|
|
+ to indicate that the set operation was not actually performed. If SizeOfBuffer
|
|
|
+ is set to MAX_ADDRESS, then SizeOfBuffer must be set to the maximum size supported
|
|
|
by TokenName and NULL must be returned.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
-
|
|
|
+
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
@param SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param Buffer A pointer to the buffer to set.
|
|
@@ -571,11 +571,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
**/
|
|
|
#define PcdSetPtr(TokenName, SizeOfBuffer, Buffer) \
|
|
|
_PCD_SET_MODE_PTR_##TokenName ((SizeOfBuffer), (Buffer))
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
Sets a Boolean PCD token value based on a token name.
|
|
|
|
|
|
- Sets the Boolean value for the token specified by TokenName. Value is returned.
|
|
|
+ Sets the Boolean value for the token specified by TokenName. Value is returned.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
@@ -689,9 +689,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Returns the token number for the token specified by Guid and TokenName.
|
|
|
If TokenName is not a valid token in the token space, then the module will not build.
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return Return the token number.
|
|
|
|
|
@@ -702,14 +702,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves an 8-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Returns the 8-bit value for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return An 8-bit PCD token value.
|
|
|
|
|
@@ -720,14 +720,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves a 16-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Returns the 16-bit value for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return A 16-bit PCD token value.
|
|
|
|
|
@@ -739,14 +739,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves a 32-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Returns the 32-bit value for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return A 32-bit PCD token value.
|
|
|
|
|
@@ -758,14 +758,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves a 64-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Returns the 64-bit value for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return A 64-bit PCD token value.
|
|
|
|
|
@@ -777,14 +777,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves a pointer to a PCD token buffer based on a GUID and a token name.
|
|
|
|
|
|
Returns a pointer to the buffer for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return A pointer to a PCD token buffer.
|
|
|
|
|
@@ -796,14 +796,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Retrieves a Boolean PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Returns the Boolean value for the token specified by Guid and TokenName.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
+ @param TokenName The name of the PCD token to retrieve a current value for.
|
|
|
|
|
|
@return A Boolean PCD token value.
|
|
|
|
|
@@ -817,15 +817,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Sets an 8-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Sets the 8-bit value for the token specified by Guid and TokenName. Value is returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
- @param Value The 8-bit value to set.
|
|
|
+ @param Value The 8-bit value to set.
|
|
|
|
|
|
@return Return the Value that was set.
|
|
|
|
|
@@ -837,15 +837,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Sets a 16-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Sets the 16-bit value for the token specified by Guid and TokenName. Value is returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
- @param Value The 16-bit value to set.
|
|
|
+ @param Value The 16-bit value to set.
|
|
|
|
|
|
@return Return the Value that was set.
|
|
|
|
|
@@ -857,15 +857,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Sets a 32-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Sets the 32-bit value for the token specified by Guid and TokenName. Value is returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
- @param Value The 32-bit value to set.
|
|
|
+ @param Value The 32-bit value to set.
|
|
|
|
|
|
@return Return the Value that was set.
|
|
|
|
|
@@ -877,15 +877,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
Sets a 64-bit PCD token value based on a GUID and a token name.
|
|
|
|
|
|
Sets the 64-bit value for the token specified by Guid and TokenName. Value is returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
- @param Value The 64-bit value to set.
|
|
|
+ @param Value The 64-bit value to set.
|
|
|
|
|
|
@return Return the Value that was set.
|
|
|
|
|
@@ -896,25 +896,25 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
/**
|
|
|
Sets a pointer to a PCD token buffer based on a GUID and a token name.
|
|
|
|
|
|
- Sets the buffer for the token specified by Guid and TokenName. Buffer is returned.
|
|
|
- If SizeOfBuffer is greater than the maximum size supported by Guid and TokenName,
|
|
|
- then set SizeOfBuffer to the maximum size supported by Guid and TokenName and return
|
|
|
- NULL to indicate that the set operation was not actually performed. If SizeOfBuffer
|
|
|
+ Sets the buffer for the token specified by Guid and TokenName. Buffer is returned.
|
|
|
+ If SizeOfBuffer is greater than the maximum size supported by Guid and TokenName,
|
|
|
+ then set SizeOfBuffer to the maximum size supported by Guid and TokenName and return
|
|
|
+ NULL to indicate that the set operation was not actually performed. If SizeOfBuffer
|
|
|
is set to MAX_ADDRESS, then SizeOfBuffer must be set to the maximum size supported by
|
|
|
Guid and TokenName and NULL must be returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
-
|
|
|
+
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param TokenName The name of the PCD token to set the current value for.
|
|
|
- @param SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
+ @param SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param Buffer Pointer to the buffer to set.
|
|
|
-
|
|
|
+
|
|
|
@return Return the pointer to the Buffer that was set.
|
|
|
|
|
|
**/
|
|
@@ -925,20 +925,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
/**
|
|
|
Sets a Boolean PCD token value based on a GUID and a token name.
|
|
|
|
|
|
- Sets the Boolean value for the token specified by Guid and TokenName. Value is returned.
|
|
|
- If TokenName is not a valid token in the token space specified by Guid,
|
|
|
+ Sets the Boolean value for the token specified by Guid and TokenName. Value is returned.
|
|
|
+ If TokenName is not a valid token in the token space specified by Guid,
|
|
|
then the module will not build.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
- @param TokenName The name of the PCD token to set the current value for.
|
|
|
+ @param TokenName The name of the PCD token to set the current value for.
|
|
|
@param Value The Boolean value to set.
|
|
|
|
|
|
@return Return the Value that was set.
|
|
|
|
|
|
-**/
|
|
|
+**/
|
|
|
#define PcdSetExBool(Guid, TokenName, Value) \
|
|
|
LibPcdSetExBool((Guid), PcdTokenEx(Guid,TokenName), (Value))
|
|
|
#endif
|
|
@@ -1088,12 +1088,12 @@ LibPcdSetSku (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
- Returns the 8-bit value for the token specified by TokenNumber.
|
|
|
+
|
|
|
+ Returns the 8-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
|
- @return Returns the 8-bit value for the token specified by TokenNumber.
|
|
|
+ @return Returns the 8-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
**/
|
|
|
UINT8
|
|
@@ -1105,12 +1105,12 @@ LibPcdGet8 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
- Returns the 16-bit value for the token specified by TokenNumber.
|
|
|
+
|
|
|
+ Returns the 16-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
|
- @return Returns the 16-bit value for the token specified by TokenNumber.
|
|
|
+ @return Returns the 16-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
**/
|
|
|
UINT16
|
|
@@ -1122,8 +1122,8 @@ LibPcdGet16 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
- Returns the 32-bit value for the token specified by TokenNumber.
|
|
|
+
|
|
|
+ Returns the 32-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1139,7 +1139,7 @@ LibPcdGet32 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
+
|
|
|
Returns the 64-bit value for the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
@@ -1156,7 +1156,7 @@ LibPcdGet64 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
+
|
|
|
Returns the pointer to the buffer of the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
@@ -1173,15 +1173,15 @@ LibPcdGetPtr (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
- Returns the Boolean value of the token specified by TokenNumber.
|
|
|
+
|
|
|
+ Returns the Boolean value of the token specified by TokenNumber.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
|
- @return Returns the Boolean value of the token specified by TokenNumber.
|
|
|
+ @return Returns the Boolean value of the token specified by TokenNumber.
|
|
|
|
|
|
**/
|
|
|
-BOOLEAN
|
|
|
+BOOLEAN
|
|
|
EFIAPI
|
|
|
LibPcdGetBool (
|
|
|
IN UINTN TokenNumber
|
|
@@ -1193,7 +1193,7 @@ LibPcdGetBool (
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
|
- @return Returns the size of the token specified by TokenNumber.
|
|
|
+ @return Returns the size of the token specified by TokenNumber.
|
|
|
|
|
|
**/
|
|
|
UINTN
|
|
@@ -1205,12 +1205,12 @@ LibPcdGetSize (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
+
|
|
|
Returns the 8-bit value for the token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1229,10 +1229,10 @@ LibPcdGetEx8 (
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
|
|
|
Returns the 16-bit value for the token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1249,9 +1249,9 @@ LibPcdGetEx16 (
|
|
|
|
|
|
/**
|
|
|
Returns the 32-bit value for the token specified by TokenNumber and Guid.
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1268,12 +1268,12 @@ LibPcdGetEx32 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
+
|
|
|
Returns the 64-bit value for the token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1290,12 +1290,12 @@ LibPcdGetEx64 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
+
|
|
|
Returns the pointer to the buffer of token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1312,12 +1312,12 @@ LibPcdGetExPtr (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve a value for a given PCD token.
|
|
|
-
|
|
|
- Returns the Boolean value of the token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ Returns the Boolean value of the token specified by TokenNumber and Guid.
|
|
|
+
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1334,12 +1334,12 @@ LibPcdGetExBool (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to retrieve the size of a given PCD token.
|
|
|
-
|
|
|
- Returns the size of the token specified by TokenNumber and Guid.
|
|
|
-
|
|
|
- If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
+ Returns the size of the token specified by TokenNumber and Guid.
|
|
|
+
|
|
|
+ If Guid is NULL, then ASSERT().
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates
|
|
|
which namespace to retrieve a value from.
|
|
|
@param[in] TokenNumber The PCD token number to retrieve a current value for.
|
|
|
|
|
@@ -1357,8 +1357,8 @@ LibPcdGetExSize (
|
|
|
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 8-bit value for the token specified by TokenNumber
|
|
|
+
|
|
|
+ Sets the 8-bit value for the token specified by TokenNumber
|
|
|
to the value specified by Value. Value is returned.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
@@ -1377,8 +1377,8 @@ LibPcdSet8 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 16-bit value for the token specified by TokenNumber
|
|
|
+
|
|
|
+ Sets the 16-bit value for the token specified by TokenNumber
|
|
|
to the value specified by Value. Value is returned.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
@@ -1397,8 +1397,8 @@ LibPcdSet16 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 32-bit value for the token specified by TokenNumber
|
|
|
+
|
|
|
+ Sets the 32-bit value for the token specified by TokenNumber
|
|
|
to the value specified by Value. Value is returned.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
@@ -1417,8 +1417,8 @@ LibPcdSet32 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 64-bit value for the token specified by TokenNumber
|
|
|
+
|
|
|
+ Sets the 64-bit value for the token specified by TokenNumber
|
|
|
to the value specified by Value. Value is returned.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
@@ -1437,19 +1437,19 @@ LibPcdSet64 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets a buffer for the token specified by TokenNumber to the value
|
|
|
- specified by Buffer and SizeOfBuffer. Buffer is returned.
|
|
|
- If SizeOfBuffer is greater than the maximum size support by TokenNumber,
|
|
|
- then set SizeOfBuffer to the maximum size supported by TokenNumber and
|
|
|
+
|
|
|
+ Sets a buffer for the token specified by TokenNumber to the value
|
|
|
+ specified by Buffer and SizeOfBuffer. Buffer is returned.
|
|
|
+ If SizeOfBuffer is greater than the maximum size support by TokenNumber,
|
|
|
+ then set SizeOfBuffer to the maximum size supported by TokenNumber and
|
|
|
return NULL to indicate that the set operation was not actually performed.
|
|
|
|
|
|
- If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to the
|
|
|
+ If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to the
|
|
|
maximum size supported by TokenName and NULL must be returned.
|
|
|
-
|
|
|
+
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
-
|
|
|
+
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in, out] SizeOfBuffer The size, in bytes, of Buffer.
|
|
|
@param[in] Buffer A pointer to the buffer to set.
|
|
@@ -1468,8 +1468,8 @@ LibPcdSetPtr (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the Boolean value for the token specified by TokenNumber
|
|
|
+
|
|
|
+ Sets the Boolean value for the token specified by TokenNumber
|
|
|
to the value specified by Value. Value is returned.
|
|
|
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
@@ -1488,13 +1488,13 @@ LibPcdSetBool (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 8-bit value for the token specified by TokenNumber and
|
|
|
+
|
|
|
+ Sets the 8-bit value for the token specified by TokenNumber and
|
|
|
Guid to the value specified by Value. Value is returned.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in] Value The 8-bit value to set.
|
|
@@ -1513,13 +1513,13 @@ LibPcdSetEx8 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 16-bit value for the token specified by TokenNumber and
|
|
|
+
|
|
|
+ Sets the 16-bit value for the token specified by TokenNumber and
|
|
|
Guid to the value specified by Value. Value is returned.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in] Value The 16-bit value to set.
|
|
@@ -1538,13 +1538,13 @@ LibPcdSetEx16 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 32-bit value for the token specified by TokenNumber and
|
|
|
+
|
|
|
+ Sets the 32-bit value for the token specified by TokenNumber and
|
|
|
Guid to the value specified by Value. Value is returned.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in] Value The 32-bit value to set.
|
|
@@ -1563,13 +1563,13 @@ LibPcdSetEx32 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the 64-bit value for the token specified by TokenNumber and
|
|
|
+
|
|
|
+ Sets the 64-bit value for the token specified by TokenNumber and
|
|
|
Guid to the value specified by Value. Value is returned.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in] Value The 64-bit value to set.
|
|
@@ -1588,18 +1588,18 @@ LibPcdSetEx64 (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets a buffer for the token specified by TokenNumber to the value specified by
|
|
|
- Buffer and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
- the maximum size support by TokenNumber, then set SizeOfBuffer to the maximum size
|
|
|
- supported by TokenNumber and return NULL to indicate that the set operation
|
|
|
+
|
|
|
+ Sets a buffer for the token specified by TokenNumber to the value specified by
|
|
|
+ Buffer and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
+ the maximum size support by TokenNumber, then set SizeOfBuffer to the maximum size
|
|
|
+ supported by TokenNumber and return NULL to indicate that the set operation
|
|
|
was not actually performed.
|
|
|
-
|
|
|
+
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
-
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in, out] SizeOfBuffer The size, in bytes, of Buffer.
|
|
@@ -1620,13 +1620,13 @@ LibPcdSetExPtr (
|
|
|
|
|
|
/**
|
|
|
This function provides a means by which to set a value for a given PCD token.
|
|
|
-
|
|
|
- Sets the Boolean value for the token specified by TokenNumber and
|
|
|
+
|
|
|
+ Sets the Boolean value for the token specified by TokenNumber and
|
|
|
Guid to the value specified by Value. Value is returned.
|
|
|
|
|
|
If Guid is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that
|
|
|
designates which namespace to set a value from.
|
|
|
@param[in] TokenNumber The PCD token number to set a current value for.
|
|
|
@param[in] Value The Boolean value to set.
|
|
@@ -1927,7 +1927,7 @@ LibPcdSetExBoolS (
|
|
|
Secondly, it provides a mechanism for the module that did the registration to intercept
|
|
|
the set operation and override the value been set if necessary. After the invocation of
|
|
|
the callback function, TokenData will be used by PCD service PEIM or driver to modify th
|
|
|
- internal data in PCD database.
|
|
|
+ internal data in PCD database.
|
|
|
|
|
|
@param[in] CallBackGuid The PCD token GUID being set.
|
|
|
@param[in] CallBackToken The PCD token number being set.
|
|
@@ -1947,17 +1947,17 @@ VOID
|
|
|
|
|
|
/**
|
|
|
Set up a notification function that is called when a specified token is set.
|
|
|
-
|
|
|
- When the token specified by TokenNumber and Guid is set,
|
|
|
- then notification function specified by NotificationFunction is called.
|
|
|
+
|
|
|
+ When the token specified by TokenNumber and Guid is set,
|
|
|
+ then notification function specified by NotificationFunction is called.
|
|
|
If Guid is NULL, then the default token space is used.
|
|
|
If NotificationFunction is NULL, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates which
|
|
|
- namespace to set a value from. If NULL, then the default
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates which
|
|
|
+ namespace to set a value from. If NULL, then the default
|
|
|
token space is used.
|
|
|
@param[in] TokenNumber The PCD token number to monitor.
|
|
|
- @param[in] NotificationFunction The function to call when the token
|
|
|
+ @param[in] NotificationFunction The function to call when the token
|
|
|
specified by Guid and TokenNumber is set.
|
|
|
|
|
|
**/
|
|
@@ -1972,12 +1972,12 @@ LibPcdCallbackOnSet (
|
|
|
|
|
|
/**
|
|
|
Disable a notification function that was established with LibPcdCallbackonSet().
|
|
|
-
|
|
|
+
|
|
|
Disable a notification function that was previously established with LibPcdCallbackOnSet().
|
|
|
If NotificationFunction is NULL, then ASSERT().
|
|
|
- If LibPcdCallbackOnSet() was not previously called with Guid, TokenNumber,
|
|
|
+ If LibPcdCallbackOnSet() was not previously called with Guid, TokenNumber,
|
|
|
and NotificationFunction, then ASSERT().
|
|
|
-
|
|
|
+
|
|
|
@param[in] Guid Specify the GUID token space.
|
|
|
@param[in] TokenNumber Specify the token number.
|
|
|
@param[in] NotificationFunction The callback function to be unregistered.
|
|
@@ -1994,24 +1994,24 @@ LibPcdCancelCallback (
|
|
|
|
|
|
/**
|
|
|
Retrieves the next token in a token space.
|
|
|
-
|
|
|
- Retrieves the next PCD token number from the token space specified by Guid.
|
|
|
- If Guid is NULL, then the default token space is used. If TokenNumber is 0,
|
|
|
- then the first token number is returned. Otherwise, the token number that
|
|
|
- follows TokenNumber in the token space is returned. If TokenNumber is the last
|
|
|
- token number in the token space, then 0 is returned.
|
|
|
-
|
|
|
+
|
|
|
+ Retrieves the next PCD token number from the token space specified by Guid.
|
|
|
+ If Guid is NULL, then the default token space is used. If TokenNumber is 0,
|
|
|
+ then the first token number is returned. Otherwise, the token number that
|
|
|
+ follows TokenNumber in the token space is returned. If TokenNumber is the last
|
|
|
+ token number in the token space, then 0 is returned.
|
|
|
+
|
|
|
If TokenNumber is not 0 and is not in the token space specified by Guid, then ASSERT().
|
|
|
|
|
|
- @param[in] Guid Pointer to a 128-bit unique value that designates which namespace
|
|
|
+ @param[in] Guid Pointer to a 128-bit unique value that designates which namespace
|
|
|
to set a value from. If NULL, then the default token space is used.
|
|
|
- @param[in] TokenNumber The previous PCD token number. If 0, then retrieves the first PCD
|
|
|
+ @param[in] TokenNumber The previous PCD token number. If 0, then retrieves the first PCD
|
|
|
token number.
|
|
|
|
|
|
@return The next valid token number.
|
|
|
|
|
|
**/
|
|
|
-UINTN
|
|
|
+UINTN
|
|
|
EFIAPI
|
|
|
LibPcdGetNextToken (
|
|
|
IN CONST GUID *Guid, OPTIONAL
|
|
@@ -2022,12 +2022,12 @@ LibPcdGetNextToken (
|
|
|
|
|
|
/**
|
|
|
Used to retrieve the list of available PCD token space GUIDs.
|
|
|
-
|
|
|
+
|
|
|
Returns the PCD token space GUID that follows TokenSpaceGuid in the list of token spaces
|
|
|
in the platform.
|
|
|
If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.
|
|
|
If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.
|
|
|
-
|
|
|
+
|
|
|
@param TokenSpaceGuid Pointer to the a PCD token space GUID
|
|
|
|
|
|
@return The next valid token namespace.
|
|
@@ -2042,24 +2042,24 @@ LibPcdGetNextTokenSpace (
|
|
|
|
|
|
/**
|
|
|
Sets a value of a patchable PCD entry that is type pointer.
|
|
|
-
|
|
|
- Sets the PCD entry specified by PatchVariable to the value specified by Buffer
|
|
|
- and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
- MaximumDatumSize, then set SizeOfBuffer to MaximumDatumSize and return
|
|
|
- NULL to indicate that the set operation was not actually performed.
|
|
|
- If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to
|
|
|
+
|
|
|
+ Sets the PCD entry specified by PatchVariable to the value specified by Buffer
|
|
|
+ and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
+ MaximumDatumSize, then set SizeOfBuffer to MaximumDatumSize and return
|
|
|
+ NULL to indicate that the set operation was not actually performed.
|
|
|
+ If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to
|
|
|
MaximumDatumSize and NULL must be returned.
|
|
|
-
|
|
|
+
|
|
|
If PatchVariable is NULL, then ASSERT().
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
|
|
|
- @param[out] PatchVariable A pointer to the global variable in a module that is
|
|
|
+ @param[out] PatchVariable A pointer to the global variable in a module that is
|
|
|
the target of the set operation.
|
|
|
@param[in] MaximumDatumSize The maximum size allowed for the PCD entry specified by PatchVariable.
|
|
|
@param[in, out] SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param[in] Buffer A pointer to the buffer to used to set the target variable.
|
|
|
-
|
|
|
+
|
|
|
@return Return the pointer to the Buffer that was set.
|
|
|
|
|
|
**/
|
|
@@ -2091,7 +2091,7 @@ LibPatchPcdSetPtr (
|
|
|
@param[in] MaximumDatumSize The maximum size allowed for the PCD entry specified by PatchVariable.
|
|
|
@param[in, out] SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param[in] Buffer A pointer to the buffer to used to set the target variable.
|
|
|
-
|
|
|
+
|
|
|
@return The status of the set operation.
|
|
|
|
|
|
**/
|
|
@@ -2106,26 +2106,26 @@ LibPatchPcdSetPtrS (
|
|
|
|
|
|
/**
|
|
|
Sets a value and size of a patchable PCD entry that is type pointer.
|
|
|
-
|
|
|
- Sets the PCD entry specified by PatchVariable to the value specified by Buffer
|
|
|
- and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
- MaximumDatumSize, then set SizeOfBuffer to MaximumDatumSize and return
|
|
|
- NULL to indicate that the set operation was not actually performed.
|
|
|
- If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to
|
|
|
+
|
|
|
+ Sets the PCD entry specified by PatchVariable to the value specified by Buffer
|
|
|
+ and SizeOfBuffer. Buffer is returned. If SizeOfBuffer is greater than
|
|
|
+ MaximumDatumSize, then set SizeOfBuffer to MaximumDatumSize and return
|
|
|
+ NULL to indicate that the set operation was not actually performed.
|
|
|
+ If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to
|
|
|
MaximumDatumSize and NULL must be returned.
|
|
|
-
|
|
|
+
|
|
|
If PatchVariable is NULL, then ASSERT().
|
|
|
If SizeOfPatchVariable is NULL, then ASSERT().
|
|
|
If SizeOfBuffer is NULL, then ASSERT().
|
|
|
If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().
|
|
|
|
|
|
- @param[out] PatchVariable A pointer to the global variable in a module that is
|
|
|
+ @param[out] PatchVariable A pointer to the global variable in a module that is
|
|
|
the target of the set operation.
|
|
|
@param[out] SizeOfPatchVariable A pointer to the size, in bytes, of PatchVariable.
|
|
|
@param[in] MaximumDatumSize The maximum size allowed for the PCD entry specified by PatchVariable.
|
|
|
@param[in, out] SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param[in] Buffer A pointer to the buffer to used to set the target variable.
|
|
|
-
|
|
|
+
|
|
|
@return Return the pointer to the Buffer that was set.
|
|
|
|
|
|
**/
|
|
@@ -2160,7 +2160,7 @@ LibPatchPcdSetPtrAndSize (
|
|
|
@param[in] MaximumDatumSize The maximum size allowed for the PCD entry specified by PatchVariable.
|
|
|
@param[in, out] SizeOfBuffer A pointer to the size, in bytes, of Buffer.
|
|
|
@param[in] Buffer A pointer to the buffer to used to set the target variable.
|
|
|
-
|
|
|
+
|
|
|
@return The status of the set operation.
|
|
|
|
|
|
**/
|