]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Gcd/Gcd.c
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:16:22 +0000 (18:16 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:16:22 +0000 (18:16 +0000)
commitf75316c3ab99e80e78cbf72293f9c929dc8eb02f
treeb2a2b061747edfb84be000b0226dfd7105a6b1db
parentd1cab2b8c1de0bee896422550ab02b214c568ac2
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()

CoreInsertGcdMapEntry() does not assume the new region could overlap two existing GCDs.
In this case, we need to call this function twice and the TopEntry or BottomEntry could
have been updated by the previous call.

Reviewed by: rsun3
Reviewed by: lgao4

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