[email protected] (Robert Swindells) writes:

>[email protected] (Michael van Elst) wrote:
>>[email protected] (Robert Swindells) writes:
>>
>>>I have now got it to drop into DDB and found that it is triggering an
>>>assertion in sys/arch/arm/arm32/bus_dma.c:_bus_dmamap_sync().
>>
>>>        KASSERTMSG(len > 0 && offset + len <= map->dm_mapsize,
>>>            "len %lu offset %lu mapsize %lu",
>>>            len, offset, map->dm_mapsize);
>>
>>Or just correct this assertion, len == 0 isn't invalid.

>The same assertion is in other architectures as well, not just ARM.

Not in every architecture. x86 for example allows len == 0.

-- 
-- 
                                Michael van Elst
Internet: [email protected]
                                "A potential Snark may lurk in every tree."

Reply via email to