Changeset 563ead9 in mainline for uspace/drv/uhci-hcd/utils/malloc32.h
- Timestamp:
- 2011-05-23T14:51:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fcbcaae9
- Parents:
- e247d83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/utils/malloc32.h
re247d83 r563ead9 59 59 uintptr_t result; 60 60 const int ret = as_get_physical_mapping(addr, &result); 61 assert(ret == EOK);62 63 61 if (ret != EOK) 64 62 return 0; … … 98 96 { 99 97 void *free_address = as_get_mappable_page(UHCI_REQUIRED_PAGE_SIZE); 100 assert(free_address); /* TODO: remove this assert */101 98 if (free_address == 0) 102 99 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.