Fix findVirtualRegionBeforeAddr
This commit is contained in:
parent
a03abab06a
commit
8d2dd71d66
@ -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