vm_area_for() did not work correctly; apparently, I had chosen the wrong area_for()
like implementation to copy from... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9863 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1658,7 +1658,7 @@ vm_area_for(aspace_id aid, addr_t address)
|
|||||||
if (area->id == RESERVED_REGION_ID)
|
if (area->id == RESERVED_REGION_ID)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (address >= area->base && address <= area->base + area->size) {
|
if (address >= area->base && address < area->base + area->size) {
|
||||||
id = area->id;
|
id = area->id;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user