Fixing log_heap printing a bit, though damn this stuff is nasty.

This commit is contained in:
Ben Vanik
2014-01-12 15:43:54 -08:00
parent f6866098c5
commit d224dd94c1
2 changed files with 4 additions and 2 deletions

View File

@@ -73,6 +73,8 @@ X_STATUS xeNtAllocateVirtualMemory(
// already happened.
if (*base_addr_ptr) {
// Having a pointer already means that this is likely a follow-on COMMIT.
XEASSERT(!(allocation_type & X_MEM_RESERVE) &&
(allocation_type & X_MEM_COMMIT));
return X_STATUS_SUCCESS;
}