]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
Fix crash in UnixPkg and BeagleBoard caused by gSmmBase2 getting added to the now...
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Feb 2010 02:52:15 +0000 (02:52 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Feb 2010 02:52:15 +0000 (02:52 +0000)
commitb33339fa64dcecce552c5227e0a1f038f550d4d8
treea0ae74f1d09cf80ad45bd02df068aa20ba3e5865
parentd629c28396030c476b77e3f4c552da201e4dffe5
Fix crash in UnixPkg and BeagleBoard caused by gSmmBase2 getting added to the now incorectly named mARchProtocols list. CoreDispatchMissingArchProtocols() did to check to see if the element was an AP (not all are now). Also Missing entry was not bounds checked, it was assumed to be <= Index witch is no longer true. So in both UnixPkg and BeagleBoard the loop was blowing past the end and garbage data caused page faults. Also add m prefix to global.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10011 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c