]> git.proxmox.com Git - mirror_edk2.git/commit - EdkModulePkg/Core/Dxe/Image/Image.c
Change the EfiAquireLock with RaiseTPL as the call to Boot Service UnloadImage can...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Mar 2007 09:05:41 +0000 (09:05 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Mar 2007 09:05:41 +0000 (09:05 +0000)
commitb06af5d71ec9fc353b9433a26fc55d14077f7cde
tree3fe4148444f15d2845b75d754708cd48fecf8c76
parent4bdeaa6bb4c8b0ed211fe26ff808f7fa4c505600
Change the EfiAquireLock with RaiseTPL as the call to Boot Service UnloadImage can be nested in another call to UnloadImage. So RaiseTPL is proper (EfiAcquireLock will ASSERT when these this API are nested in the call chain) in this situation to server the sychronization purposes.

The same change has been done to Boot Service Exit with the same reason applied.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2486 6f19259b-4bc3-4df7-8a09-765794883524
EdkModulePkg/Core/Dxe/Image/Image.c