mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTVDM]
Don't set all the bits in the bitmap in XmsAlloc. svn path=/trunk/; revision=67572
This commit is contained in:
@@ -242,7 +242,7 @@ static CHAR XmsAlloc(WORD Size, PWORD Handle)
|
||||
HandleEntry->Address = XMS_ADDRESS + RunStart * XMS_BLOCK_SIZE;
|
||||
|
||||
FreeBlocks -= Size;
|
||||
RtlSetBits(&AllocBitmap, RunStart, RunSize);
|
||||
RtlSetBits(&AllocBitmap, RunStart, HandleEntry->Size);
|
||||
|
||||
return XMS_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user