Changes in uspace/drv/bus/usb/uhci/utils/malloc32.h [fbcdeb8:faba839] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/utils/malloc32.h
rfbcdeb8 rfaba839 36 36 37 37 #include <assert.h> 38 #include <unistd.h> 38 39 #include <errno.h> 39 40 #include <malloc.h> … … 98 99 static inline void * get_page(void) 99 100 { 100 void *address = as_area_create( (void *) -1, UHCI_REQUIRED_PAGE_SIZE,101 void *address = as_area_create(AS_AREA_ANY, UHCI_REQUIRED_PAGE_SIZE, 101 102 AS_AREA_READ | AS_AREA_WRITE); 102 if (address == (void *) -1)103 if (address == AS_MAP_FAILED) 103 104 return NULL; 104 105
Note:
See TracChangeset
for help on using the changeset viewer.