/kernel/trunk/generic/src/ddi/ddi.c |
---|
101,7 → 101,7 |
flags = AS_AREA_DEVICE | AS_AREA_READ; |
if (writable) |
flags |= AS_AREA_WRITE; |
if (!as_area_create(t->as, flags, pages * PAGE_SIZE, vp, AS_AREA_ATTR_NONE, NULL, NULL)) { |
if (!as_area_create(t->as, flags, pages * PAGE_SIZE, vp, AS_AREA_ATTR_NONE)) { |
/* |
* The address space area could not have been created. |
* We report it using ENOMEM. |