Changeset 8b36bf2 in mainline for uspace/drv/bus/usb/uhci/utils/malloc32.h
- Timestamp:
- 2012-06-20T23:03:29Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- d5070ef
- Parents:
- 8375d0eb (diff), 6eef3c4 (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
-
uspace/drv/bus/usb/uhci/utils/malloc32.h
r8375d0eb r8b36bf2 99 99 static inline void * get_page(void) 100 100 { 101 void *address = as_area_create( (void *) -1, UHCI_REQUIRED_PAGE_SIZE,101 void *address = as_area_create(AS_AREA_ANY, UHCI_REQUIRED_PAGE_SIZE, 102 102 AS_AREA_READ | AS_AREA_WRITE); 103 if (address == (void *) -1)103 if (address == AS_MAP_FAILED) 104 104 return NULL; 105 105
Note:
See TracChangeset
for help on using the changeset viewer.