audk/MdeModulePkg/Universal
mdkinney b07a5b68ad Pass the correct TokenNumber into a CallbackOnSet notification function. The value being passed in was off by 1.
This would not normally cause an issue because the correct notification function was being called.  There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called.

Update the logic so the CallbackOnSet notification functions are not called with the internal PCD database lock in the acquired state.  This allows other PCD Get/Set operations to be performed from within a CallbackOnSet notification.

Update logic so the PCD database lock is not left in the acquired state when SetWorker() returns EFI_INVALID_PARAMETER.  


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9981 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 03:51:17 +00:00
..
Acpi Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays. 2010-01-29 23:39:48 +00:00
CapsuleRuntimeDxe 1. Add "CAPSULE_FLAGS_INITIATE_RESET" flag support. 2009-09-16 01:29:14 +00:00
Console Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays. 2010-01-29 23:39:48 +00:00
DebugPortDxe Replace references to RFC 3066 with RFC 4646. 2009-04-30 05:32:11 +00:00
DebugSupportDxe Improve coding style in MdeModulePkg. 2010-01-19 06:42:21 +00:00
DevicePathDxe Coding style fix and minor improvements. 2010-02-11 02:33:16 +00:00
Disk Update partition driver to not produce BlockIo if a GPT with OS-specific field (BIT1) set in its partition attributes. 2009-09-21 14:22:14 +00:00
DriverSampleDxe Add example of Name/Value pair var store to DriverSample 2010-02-11 01:59:35 +00:00
EbcDxe Improve coding style in MdeModulePkg. 2010-01-19 06:42:21 +00:00
FaultTolerantWriteDxe Fix some coding style issues in MdeModulePkg. 2010-01-15 08:03:23 +00:00
HiiDatabaseDxe 1. free those inserted NsKeyNode resource when releasing SetKeyBoardLayout event. 2010-02-11 02:47:10 +00:00
HiiResourcesSampleDxe Correct the comments. 2009-12-10 07:48:56 +00:00
LegacyRegion2Dxe 1. Add comments in INF file to describe limitation. 2010-01-28 08:29:35 +00:00
MemoryTest/NullMemoryTestDxe Remove BaseMemoryTest PPI and related producers and consumers. 2009-02-23 02:39:20 +00:00
Metronome Add missing library class header file. 2009-02-25 12:06:27 +00:00
MonotonicCounterRuntimeDxe Remove private event description from INF. 2009-02-25 07:47:56 +00:00
Network Coding style fix and minor improvements. 2010-02-11 02:33:16 +00:00
PCD Pass the correct TokenNumber into a CallbackOnSet notification function. The value being passed in was off by 1. 2010-02-11 03:51:17 +00:00
PcatSingleSegmentPciCfg2Pei Update MdeModulePkg to not use EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in source code. 2010-02-08 11:43:19 +00:00
PlatformDriOverrideDxe Make end of line consistent caused by previous check in. 2009-08-24 15:35:55 +00:00
PrintDxe This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules. 2009-05-30 23:49:35 +00:00
ReportStatusCodeRouter SMM driver should link UefiRuntimeLib. 2010-01-23 07:59:34 +00:00
SecurityStubDxe Add new SecurityManagementLib, and update SecurityStub driver to use this lib. 2009-11-26 01:31:48 +00:00
SetupBrowserDxe Coding style fix and minor improvements. 2010-02-11 02:33:16 +00:00
SmbiosDxe Remove micro definition for smbios version, instead we use a PCD value to let user customize smbios version better. 2010-02-01 02:54:22 +00:00
StatusCodeHandler Move Status Code Handler modules for PI implementation to MdeModulePkg. 2009-12-25 06:49:52 +00:00
Variable Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays. 2010-01-29 23:39:48 +00:00
WatchdogTimerDxe Remove reference to PCDs of status code value. Use macros introduced in PI1.2 instead. 2010-01-27 04:00:58 +00:00