]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/PCD/Pei/Service.c
Pass the correct TokenNumber into a CallbackOnSet notification function. The value...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 03:47:40 +0000 (03:47 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 03:47:40 +0000 (03:47 +0000)
commit736c5dd5804a6d8a043b1c55528d3d89df68db56
tree36a56973f1f2120a5fbe71b7687e63b1d179677f
parent127fd07c83470636318bc4d5fa7cc6188abfd39b
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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9980 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/PCD/Pei/Service.c