/kernel/trunk/generic/src/ddi/ddi.c |
---|
92,7 → 92,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)) { |
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. |