mmap #8
@ -50,7 +50,7 @@ static struct uAddrVirtualReg *findVirtualRegionBeforeAddr(struct uAddrSpace *as
|
|||||||
|
|
||||||
list_foreach_named(as->listVirtualReg, reg, idx, prevInAddrSpace, nextInAddrSpace)
|
list_foreach_named(as->listVirtualReg, reg, idx, prevInAddrSpace, nextInAddrSpace)
|
||||||
{
|
{
|
||||||
if (uaddr > reg->addr)
|
if (uaddr < reg->addr)
|
||||||
break;
|
break;
|
||||||
prev = reg;
|
prev = reg;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user