mirror of https://github.com/acidanthera/audk.git
Update the usage of ALIGN_VARIABLE for the interface change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3fef0f51d8
commit
f0d5cbb66a
|
@ -236,7 +236,6 @@ CoreAllocatePoolI (
|
|||
UINTN Index;
|
||||
UINTN FSize;
|
||||
UINTN Offset;
|
||||
UINTN Adjustment;
|
||||
UINTN NoPages;
|
||||
|
||||
ASSERT_LOCKED (&gMemoryLock);
|
||||
|
@ -250,7 +249,7 @@ CoreAllocatePoolI (
|
|||
// we don't get an unaligned access fault later when
|
||||
// pool_Tail is being initialized
|
||||
//
|
||||
ALIGN_VARIABLE (Size, Adjustment);
|
||||
Size = ALIGN_VARIABLE (Size);
|
||||
|
||||
Size += POOL_OVERHEAD;
|
||||
Index = SIZE_TO_LIST(Size);
|
||||
|
|
Loading…
Reference in New Issue