2 Platform Configuration Database (PCD) Protocol
4 Copyright (c) 2006 - 2008, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 extern EFI_GUID gPcdProtocolGuid
;
22 #define PCD_PROTOCOL_GUID \
23 { 0x11b34006, 0xd85b, 0x4d0a, { 0xa2, 0x90, 0xd5, 0xa5, 0x71, 0x31, 0xe, 0xf7 } }
25 #define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
29 Sets the SKU value for subsequent calls to set or get PCD token values.
31 SetSku() sets the SKU Id to be used for subsequent calls to set or get PCD values.
32 SetSku() is normally called only once by the system.
34 For each item (token), the database can hold a single value that applies to all SKUs,
35 or multiple values, where each value is associated with a specific SKU Id. Items with multiple,
36 SKU-specific values are called SKU enabled.
38 The SKU Id of zero is reserved as a default. The valid SkuId range is 1 to 255.
39 For tokens that are not SKU enabled, the system ignores any set SKU Id and works with the
40 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the
41 last call to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token,
42 the system uses the default SKU Id. If the system attempts to use the default SKU Id and no value has been
43 set for that Id, the results are unpredictable.
45 @param[in] SkuId The SKU value that will be used when the PCD service will retrieve and
46 set values associated with a PCD token.
53 (EFIAPI
*PCD_PROTOCOL_SET_SKU
)(
60 Retrieves an 8-bit value for a given PCD token.
62 Retrieves the current byte-sized value for a PCD token number.
63 If the TokenNumber is invalid, the results are unpredictable.
65 @param[in] TokenNumber The PCD token number.
67 @return The UINT8 value.
72 (EFIAPI
*PCD_PROTOCOL_GET8
)(
79 Retrieves an 16-bit value for a given PCD token.
81 Retrieves the current 16-bits value for a PCD token number.
82 If the TokenNumber is invalid, the results are unpredictable.
84 @param[in] TokenNumber The PCD token number.
86 @return The UINT16 value.
91 (EFIAPI
*PCD_PROTOCOL_GET16
)(
98 Retrieves an 32-bit value for a given PCD token.
100 Retrieves the current 32-bits value for a PCD token number.
101 If the TokenNumber is invalid, the results are unpredictable.
103 @param[in] TokenNumber The PCD token number.
105 @return The UINT32 value.
110 (EFIAPI
*PCD_PROTOCOL_GET32
)(
117 Retrieves an 64-bit value for a given PCD token.
119 Retrieves the current 64-bits value for a PCD token number.
120 If the TokenNumber is invalid, the results are unpredictable.
122 @param[in] TokenNumber The PCD token number.
124 @return The UINT64 value.
129 (EFIAPI
*PCD_PROTOCOL_GET64
)(
136 Retrieves a pointer to a value for a given PCD token.
138 Retrieves the current pointer to the buffer for a PCD token number.
139 Do not make any assumptions about the alignment of the pointer that
140 is returned by this function call. If the TokenNumber is invalid,
141 the results are unpredictable.
143 @param[in] TokenNumber The PCD token number.
145 @return The pointer to the buffer to be retrived.
150 (EFIAPI
*PCD_PROTOCOL_GET_POINTER
)(
157 Retrieves a Boolean value for a given PCD token.
159 Retrieves the current boolean value for a PCD token number.
160 Do not make any assumptions about the alignment of the pointer that
161 is returned by this function call. If the TokenNumber is invalid,
162 the results are unpredictable.
164 @param[in] TokenNumber The PCD token number.
166 @return The Boolean value.
171 (EFIAPI
*PCD_PROTOCOL_GET_BOOLEAN
)(
178 Retrieves the size of the value for a given PCD token.
180 Retrieves the current size of a particular PCD token.
181 If the TokenNumber is invalid, the results are unpredictable.
183 @param[in] TokenNumber The PCD token number.
185 @return The size of the value for the PCD token.
190 (EFIAPI
*PCD_PROTOCOL_GET_SIZE
)(
197 Retrieves an 8-bit value for a given PCD token.
199 Retrieves the 8-bit value of a particular PCD token.
200 If the TokenNumber is invalid or the token space
201 specified by Guid does not exist, the results are
204 @param[in] Guid The token space for the token number.
205 @param[in] TokenNumber The PCD token number.
207 @return The size 8-bit value for the PCD token.
212 (EFIAPI
*PCD_PROTOCOL_GET_EX_8
)(
213 IN CONST EFI_GUID
*Guid
,
220 Retrieves an 16-bit value for a given PCD token.
222 Retrieves the 16-bit value of a particular PCD token.
223 If the TokenNumber is invalid or the token space
224 specified by Guid does not exist, the results are
227 @param[in] Guid The token space for the token number.
228 @param[in] TokenNumber The PCD token number.
230 @return The size 16-bit value for the PCD token.
235 (EFIAPI
*PCD_PROTOCOL_GET_EX_16
)(
236 IN CONST EFI_GUID
*Guid
,
243 Retrieves an 32-bit value for a given PCD token.
245 Retrieves the 32-bit value of a particular PCD token.
246 If the TokenNumber is invalid or the token space
247 specified by Guid does not exist, the results are
250 @param[in] Guid The token space for the token number.
251 @param[in] TokenNumber The PCD token number.
253 @return The size 32-bit value for the PCD token.
258 (EFIAPI
*PCD_PROTOCOL_GET_EX_32
)(
259 IN CONST EFI_GUID
*Guid
,
266 Retrieves an 64-bit value for a given PCD token.
268 Retrieves the 64-bit value of a particular PCD token.
269 If the TokenNumber is invalid or the token space
270 specified by Guid does not exist, the results are
273 @param[in] Guid The token space for the token number.
274 @param[in] TokenNumber The PCD token number.
276 @return The size 64-bit value for the PCD token.
281 (EFIAPI
*PCD_PROTOCOL_GET_EX_64
)(
282 IN CONST EFI_GUID
*Guid
,
289 Retrieves a pointer to a value for a given PCD token.
291 Retrieves the current pointer to the buffer for a PCD token number.
292 Do not make any assumptions about the alignment of the pointer that
293 is returned by this function call. If the TokenNumber is invalid,
294 the results are unpredictable.
296 @param[in] Guid The token space for the token number.
297 @param[in] TokenNumber The PCD token number.
299 @return The pointer to the buffer to be retrived.
304 (EFIAPI
*PCD_PROTOCOL_GET_EX_POINTER
)(
305 IN CONST EFI_GUID
*Guid
,
312 Retrieves an Boolean value for a given PCD token.
314 Retrieves the Boolean value of a particular PCD token.
315 If the TokenNumber is invalid or the token space
316 specified by Guid does not exist, the results are
319 @param[in] Guid The token space for the token number.
320 @param[in] TokenNumber The PCD token number.
322 @return The size Boolean value for the PCD token.
327 (EFIAPI
*PCD_PROTOCOL_GET_EX_BOOLEAN
)(
328 IN CONST EFI_GUID
*Guid
,
335 Retrieves the size of the value for a given PCD token.
337 Retrieves the current size of a particular PCD token.
338 If the TokenNumber is invalid, the results are unpredictable.
340 @param[in] Guid The token space for the token number.
341 @param[in] TokenNumber The PCD token number.
343 @return The size of the value for the PCD token.
348 (EFIAPI
*PCD_PROTOCOL_GET_EX_SIZE
)(
349 IN CONST EFI_GUID
*Guid
,
356 Sets an 8-bit value for a given PCD token.
358 When the PCD service sets a value, it will check to ensure that the
359 size of the value being set is compatible with the Token's existing definition.
360 If it is not, an error will be returned.
362 @param[in] TokenNumber The PCD token number.
363 @param[in] Value The value to set for the PCD token.
365 @retval EFI_SUCCESS Procedure returned successfully.
366 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
367 being set was incompatible with a call to this function.
368 Use GetSize() to retrieve the size of the target data.
369 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
374 (EFIAPI
*PCD_PROTOCOL_SET8
)(
375 IN UINTN TokenNumber
,
382 Sets an 16-bit value for a given PCD token.
384 When the PCD service sets a value, it will check to ensure that the
385 size of the value being set is compatible with the Token's existing definition.
386 If it is not, an error will be returned.
388 @param[in] TokenNumber The PCD token number.
389 @param[in] Value The value to set for the PCD token.
391 @retval EFI_SUCCESS Procedure returned successfully.
392 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
393 being set was incompatible with a call to this function.
394 Use GetSize() to retrieve the size of the target data.
395 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
400 (EFIAPI
*PCD_PROTOCOL_SET16
)(
401 IN UINTN TokenNumber
,
408 Sets an 32-bit value for a given PCD token.
410 When the PCD service sets a value, it will check to ensure that the
411 size of the value being set is compatible with the Token's existing definition.
412 If it is not, an error will be returned.
414 @param[in] TokenNumber The PCD token number.
415 @param[in] Value The value to set for the PCD token.
417 @retval EFI_SUCCESS Procedure returned successfully.
418 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
419 being set was incompatible with a call to this function.
420 Use GetSize() to retrieve the size of the target data.
421 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
426 (EFIAPI
*PCD_PROTOCOL_SET32
)(
427 IN UINTN TokenNumber
,
434 Sets an 64-bit value for a given PCD token.
436 When the PCD service sets a value, it will check to ensure that the
437 size of the value being set is compatible with the Token's existing definition.
438 If it is not, an error will be returned.
440 @param[in] TokenNumber The PCD token number.
441 @param[in] Value The value to set for the PCD token.
443 @retval EFI_SUCCESS Procedure returned successfully.
444 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
445 being set was incompatible with a call to this function.
446 Use GetSize() to retrieve the size of the target data.
447 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
452 (EFIAPI
*PCD_PROTOCOL_SET64
)(
453 IN UINTN TokenNumber
,
460 Sets a value of a specified size for a given PCD token.
462 When the PCD service sets a value, it will check to ensure that the
463 size of the value being set is compatible with the Token's existing definition.
464 If it is not, an error will be returned.
466 @param[in] TokenNumber The PCD token number.
467 @param[in, out] SizeOfBuffer A pointer to the length of the value being set for the PCD token.
468 On input, if the SizeOfValue is greater than the maximum size supported
469 for this TokenNumber then the output value of SizeOfValue will reflect
470 the maximum size supported for this TokenNumber.
471 @param[in] Buffer The buffer to set for the PCD token.
473 @retval EFI_SUCCESS Procedure returned successfully.
474 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
475 being set was incompatible with a call to this function.
476 Use GetSize() to retrieve the size of the target data.
477 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
482 (EFIAPI
*PCD_PROTOCOL_SET_POINTER
)(
483 IN UINTN TokenNumber
,
484 IN OUT UINTN
*SizeOfBuffer
,
491 Sets an Boolean value for a given PCD token.
493 When the PCD service sets a value, it will check to ensure that the
494 size of the value being set is compatible with the Token's existing definition.
495 If it is not, an error will be returned.
497 @param[in] TokenNumber The PCD token number.
498 @param[in] Value The value to set for the PCD token.
500 @retval EFI_SUCCESS Procedure returned successfully.
501 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
502 being set was incompatible with a call to this function.
503 Use GetSize() to retrieve the size of the target data.
504 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
509 (EFIAPI
*PCD_PROTOCOL_SET_BOOLEAN
)(
510 IN UINTN TokenNumber
,
517 Sets an 8-bit value for a given PCD token.
519 When the PCD service sets a value, it will check to ensure that the
520 size of the value being set is compatible with the Token's existing definition.
521 If it is not, an error will be returned.
523 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
524 @param[in] TokenNumber The PCD token number.
525 @param[in] Value The value to set for the PCD token.
527 @retval EFI_SUCCESS Procedure returned successfully.
528 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
529 being set was incompatible with a call to this function.
530 Use GetSize() to retrieve the size of the target data.
531 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
536 (EFIAPI
*PCD_PROTOCOL_SET_EX_8
)(
537 IN CONST EFI_GUID
*Guid
,
538 IN UINTN TokenNumber
,
545 Sets an 16-bit value for a given PCD token.
547 When the PCD service sets a value, it will check to ensure that the
548 size of the value being set is compatible with the Token's existing definition.
549 If it is not, an error will be returned.
551 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
552 @param[in] TokenNumber The PCD token number.
553 @param[in] Value The value to set for the PCD token.
555 @retval EFI_SUCCESS Procedure returned successfully.
556 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
557 being set was incompatible with a call to this function.
558 Use GetSize() to retrieve the size of the target data.
559 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
564 (EFIAPI
*PCD_PROTOCOL_SET_EX_16
)(
565 IN CONST EFI_GUID
*Guid
,
566 IN UINTN TokenNumber
,
573 Sets an 32-bit value for a given PCD token.
575 When the PCD service sets a value, it will check to ensure that the
576 size of the value being set is compatible with the Token's existing definition.
577 If it is not, an error will be returned.
579 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
580 @param[in] TokenNumber The PCD token number.
581 @param[in] Value The value to set for the PCD token.
583 @retval EFI_SUCCESS Procedure returned successfully.
584 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
585 being set was incompatible with a call to this function.
586 Use GetSize() to retrieve the size of the target data.
587 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
592 (EFIAPI
*PCD_PROTOCOL_SET_EX_32
)(
593 IN CONST EFI_GUID
*Guid
,
594 IN UINTN TokenNumber
,
601 Sets an 64-bit value for a given PCD token.
603 When the PCD service sets a value, it will check to ensure that the
604 size of the value being set is compatible with the Token's existing definition.
605 If it is not, an error will be returned.
607 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
608 @param[in] TokenNumber The PCD token number.
609 @param[in] Value The value to set for the PCD token.
611 @retval EFI_SUCCESS Procedure returned successfully.
612 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
613 being set was incompatible with a call to this function.
614 Use GetSize() to retrieve the size of the target data.
615 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
620 (EFIAPI
*PCD_PROTOCOL_SET_EX_64
)(
621 IN CONST EFI_GUID
*Guid
,
622 IN UINTN TokenNumber
,
629 Sets a value of a specified size for a given PCD token.
631 When the PCD service sets a value, it will check to ensure that the
632 size of the value being set is compatible with the Token's existing definition.
633 If it is not, an error will be returned.
635 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
636 @param[in] TokenNumber The PCD token number.
637 @param[in, out] SizeOfBuffer A pointer to the length of the value being set for the PCD token.
638 On input, if the SizeOfValue is greater than the maximum size supported
639 for this TokenNumber then the output value of SizeOfValue will reflect
640 the maximum size supported for this TokenNumber.
641 @param[in] Buffer The buffer to set for the PCD token.
643 @retval EFI_SUCCESS Procedure returned successfully.
644 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
645 being set was incompatible with a call to this function.
646 Use GetSize() to retrieve the size of the target data.
647 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
652 (EFIAPI
*PCD_PROTOCOL_SET_EX_POINTER
)(
653 IN CONST EFI_GUID
*Guid
,
654 IN UINTN TokenNumber
,
655 IN OUT UINTN
*SizeOfBuffer
,
662 Sets an Boolean value for a given PCD token.
664 When the PCD service sets a value, it will check to ensure that the
665 size of the value being set is compatible with the Token's existing definition.
666 If it is not, an error will be returned.
668 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
669 @param[in] TokenNumber The PCD token number.
670 @param[in] Value The value to set for the PCD token.
672 @retval EFI_SUCCESS Procedure returned successfully.
673 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
674 being set was incompatible with a call to this function.
675 Use GetSize() to retrieve the size of the target data.
676 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
681 (EFIAPI
*PCD_PROTOCOL_SET_EX_BOOLEAN
)(
682 IN CONST EFI_GUID
*Guid
,
683 IN UINTN TokenNumber
,
690 Callback on SET function prototype definition.
692 This notification function serves two purposes.
693 Firstly, it notifies the module which did the registration that the value
694 of this PCD token has been set. Secondly, it provides a mechanism for the
695 module which did the registration to intercept the set operation and override
696 the value been set if necessary. After the invocation of the callback function,
697 TokenData will be used by PCD service DXE driver to modify the internal data in
700 @param[in] CallBackGuid The PCD token GUID being set.
701 @param[in] CallBackToken The PCD token number being set.
702 @param[in, out] TokenData A pointer to the token data being set.
703 @param[in] TokenDataSize The size, in bytes, of the data being set.
710 (EFIAPI
*PCD_PROTOCOL_CALLBACK
)(
711 IN CONST EFI_GUID
*CallBackGuid
, OPTIONAL
712 IN UINTN CallBackToken
,
713 IN OUT VOID
*TokenData
,
714 IN UINTN TokenDataSize
720 Specifies a function to be called anytime the value of a designated token is changed.
722 @param[in] TokenNumber The PCD token number.
723 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
724 @param[in] CallBackFunction The function prototype called when the value associated with the CallBackToken is set.
726 @retval EFI_SUCCESS The PCD service has successfully established a call event
727 for the CallBackToken requested.
728 @retval EFI_NOT_FOUND The PCD service could not find the referenced token number.
733 (EFIAPI
*PCD_PROTOCOL_CALLBACK_ONSET
)(
734 IN CONST EFI_GUID
*Guid
, OPTIONAL
735 IN UINTN TokenNumber
,
736 IN PCD_PROTOCOL_CALLBACK CallBackFunction
742 Cancels a previously set callback function for a particular PCD token number.
744 @param[in] TokenNumber The PCD token number.
745 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
746 @param[in] CallBackFunction The function prototype called when the value associated with the CallBackToken is set.
748 @retval EFI_SUCCESS The PCD service has successfully established a call event
749 for the CallBackToken requested.
750 @retval EFI_NOT_FOUND The PCD service could not find the referenced token number.
755 (EFIAPI
*PCD_PROTOCOL_CANCEL_CALLBACK
)(
756 IN CONST EFI_GUID
*Guid
, OPTIONAL
757 IN UINTN TokenNumber
,
758 IN PCD_PROTOCOL_CALLBACK CallBackFunction
764 Retrieves the next valid PCD token for a given namespace.
766 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
767 @param[in,out] TokenNumber
768 A pointer to the PCD token number to use to find the subsequent token number.
769 If the input token namespace or token number does not exist on the platform,
770 an error is returned and the value of *TokenNumber is undefined. To retrieve the "first" token,
771 have the pointer reference a TokenNumber value of 0. If the input token number is 0 and
772 there is no valid token number for this token namespace, *TokenNumber will be assigned to
773 0 and the function return EFI_SUCCESS. If the token number is the last valid token number,
774 *TokenNumber will be assigned to 0 and the function return EFI_SUCCESS.
776 @retval EFI_SUCCESS The PCD service retrieved the next valid token number. Or the input token number
777 is already the last valid token number in the PCD database.
778 In the later case, *TokenNumber is updated with the value of 0.
779 @retval EFI_NOT_FOUND If this input token number and token namespace does not exist on the platform.
784 (EFIAPI
*PCD_PROTOCOL_GET_NEXT_TOKEN
)(
785 IN CONST EFI_GUID
*Guid
, OPTIONAL
786 IN OUT UINTN
*TokenNumber
792 Retrieves the next valid PCD token namespace for a given namespace.
794 @param[in, out] Guid An indirect pointer to EFI_GUID. On input it designates
795 a known token namespace from which the search will start. On output,
796 it designates the next valid token namespace on the platform. If the input
797 token namespace does not exist on the platform, an error is returned and
798 the value of *Guid is undefined. If *Guid is NULL, then the GUID of the
799 first token space of the current platform is assigned to *Guid the function
800 return EFI_SUCCESS. If *Guid is NULL and there is no namespace exist in
801 the platform other than the default (NULL) tokennamespace, *Guid is unchanged
802 and the function return EFI_SUCCESS. If this input token namespace is the last
803 namespace on the platform, *Guid will be assigned to NULL and the function return
806 @retval EFI_SUCCESS The PCD service retrieved the next valid token space Guid.
807 Or the input token space Guid is already the last valid token space Guid
808 in the PCD database. In the later case, *Guid is updated with the value of NULL.
809 @retval EFI_NOT_FOUND If the input token namespace does not exist on the platform.
814 (EFIAPI
*PCD_PROTOCOL_GET_NEXT_TOKENSPACE
)(
815 IN OUT CONST EFI_GUID
**Guid
819 // Interface structure for the PCD Protocol
822 @par Protocol Description:
823 This service abstracts the ability to set/get Platform Configuration Database (PCD).
826 Sets the SKU value for subsequent calls to set or get PCD token values.
829 Retrieves an 8-bit value for a given PCD token.
832 Retrieves an 16-bit value for a given PCD token.
835 Retrieves an 32-bit value for a given PCD token.
838 Retrieves an 64-bit value for a given PCD token.
841 Retrieves a pointer to a value for a given PCD token.
844 Retrieves an Boolean value for a given PCD token.
847 Retrieves the size of the value for a given PCD token.
850 Retrieves an 8-bit value for a given PCD token and token space.
853 Retrieves an 16-bit value for a given PCD token and token space.
856 Retrieves an 32-bit value for a given PCD token and token space.
859 Retrieves an 64-bit value for a given PCD token and token space.
862 Retrieves a pointer to a value for a given PCD token and token space.
865 Retrieves an Boolean value for a given PCD token and token space.
868 Retrieves the size of the value for a given PCD token and token space.
871 Sets an 8-bit value for a given PCD token.
874 Sets an 16-bit value for a given PCD token.
877 Sets an 32-bit value for a given PCD token.
880 Sets an 64-bit value for a given PCD token.
883 Sets the buffer of a specified size for a given PCD token.
886 Sets an Boolean value for a given PCD token.
889 Sets an 8-bit value for a given PCD token and token space.
892 Sets an 16-bit value for a given PCD token and token space.
895 Sets an 32-bit value for a given PCD token and token space.
898 Sets an 64-bit value for a given PCD token and token space.
901 Sets the buffer of a specified size for a given PCD token and token space.
904 Sets an Boolean value for a given PCD token and token space.
907 Specifies a function to be called anytime the value of a designated token is changed.
909 @param CancelCallback
910 Cancels a previously set callback function for a particular PCD token number.
913 Retrieves the next valid PCD token for a given namespace.
915 @param GetNextTokenSpace
916 Retrieves the next valid PCD token namespace for a given namespace.
920 PCD_PROTOCOL_SET_SKU SetSku
;
922 PCD_PROTOCOL_GET8 Get8
;
923 PCD_PROTOCOL_GET16 Get16
;
924 PCD_PROTOCOL_GET32 Get32
;
925 PCD_PROTOCOL_GET64 Get64
;
926 PCD_PROTOCOL_GET_POINTER GetPtr
;
927 PCD_PROTOCOL_GET_BOOLEAN GetBool
;
928 PCD_PROTOCOL_GET_SIZE GetSize
;
930 PCD_PROTOCOL_GET_EX_8 Get8Ex
;
931 PCD_PROTOCOL_GET_EX_16 Get16Ex
;
932 PCD_PROTOCOL_GET_EX_32 Get32Ex
;
933 PCD_PROTOCOL_GET_EX_64 Get64Ex
;
934 PCD_PROTOCOL_GET_EX_POINTER GetPtrEx
;
935 PCD_PROTOCOL_GET_EX_BOOLEAN GetBoolEx
;
936 PCD_PROTOCOL_GET_EX_SIZE GetSizeEx
;
938 PCD_PROTOCOL_SET8 Set8
;
939 PCD_PROTOCOL_SET16 Set16
;
940 PCD_PROTOCOL_SET32 Set32
;
941 PCD_PROTOCOL_SET64 Set64
;
942 PCD_PROTOCOL_SET_POINTER SetPtr
;
943 PCD_PROTOCOL_SET_BOOLEAN SetBool
;
945 PCD_PROTOCOL_SET_EX_8 Set8Ex
;
946 PCD_PROTOCOL_SET_EX_16 Set16Ex
;
947 PCD_PROTOCOL_SET_EX_32 Set32Ex
;
948 PCD_PROTOCOL_SET_EX_64 Set64Ex
;
949 PCD_PROTOCOL_SET_EX_POINTER SetPtrEx
;
950 PCD_PROTOCOL_SET_EX_BOOLEAN SetBoolEx
;
952 PCD_PROTOCOL_CALLBACK_ONSET CallbackOnSet
;
953 PCD_PROTOCOL_CANCEL_CALLBACK CancelCallback
;
954 PCD_PROTOCOL_GET_NEXT_TOKEN GetNextToken
;
955 PCD_PROTOCOL_GET_NEXT_TOKENSPACE GetNextTokenSpace
;