-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ranges used by findAvailableMemoryBlockNoMalloc
The caller provides start and end addresses that constrain a non-null address that can be returned by the function. Internally, however, the function operates on ranges which are inclusive of the space requested by the caller: the allowed range must be initialized taking this difference into account by adding the requested block size to the end address. Signed-off-by: Keith W. Campbell <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters