clean K8.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7492 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-02-10 09:56:23 +00:00
parent a935a0d8b7
commit fbbb42115c
1 changed files with 6 additions and 4 deletions

View File

@ -583,10 +583,11 @@ CoreConvertSpace (
if ((Operation & GCD_MEMORY_SPACE_OPERATION) != 0) {
CoreAcquireGcdMemoryLock ();
Map = &mGcdMemorySpaceMap;
}
if ((Operation & GCD_IO_SPACE_OPERATION) != 0) {
} else if ((Operation & GCD_IO_SPACE_OPERATION) != 0) {
CoreAcquireGcdIoLock ();
Map = &mGcdIoSpaceMap;
} else {
ASSERT (FALSE);
}
//
@ -893,10 +894,11 @@ CoreAllocateSpace (
if ((Operation & GCD_MEMORY_SPACE_OPERATION) != 0) {
CoreAcquireGcdMemoryLock ();
Map = &mGcdMemorySpaceMap;
}
if ((Operation & GCD_IO_SPACE_OPERATION) != 0) {
} else if ((Operation & GCD_IO_SPACE_OPERATION) != 0) {
CoreAcquireGcdIoLock ();
Map = &mGcdIoSpaceMap;
} else {
ASSERT (FALSE);
}
Found = FALSE;