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