Changeset 15d0046 in mainline for kernel/generic/src/mm/as.c
- Timestamp:
- 2014-09-12T13:22:33Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r8db09e4 r15d0046 572 572 * @param attrs Attributes of the area. 573 573 * @param backend Address space area backend. NULL if no backend is used. 574 * @param backend_data NULL or a pointer to an array holding two void *.574 * @param backend_data NULL or a pointer to custom backend data. 575 575 * @param base Starting virtual address of the area. 576 576 * If set to -1, a suitable mappable area is found. … … 1725 1725 ASSERT(count); 1726 1726 1727 btree_node_t *leaf ;1727 btree_node_t *leaf = NULL; 1728 1728 size_t pages = (size_t) btree_search(&area->used_space, page, &leaf); 1729 1729 if (pages) { … … 1733 1733 return false; 1734 1734 } 1735 1736 ASSERT(leaf != NULL); 1735 1737 1736 1738 if (!leaf->keys) {
Note:
See TracChangeset
for help on using the changeset viewer.