Changeset c762ad5 in mainline


Ignore:
Timestamp:
2013-08-16T13:48:06Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301032a
Parents:
bb2a5b2
Message:

isa,dma: Fix buffer check condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/i8237.c

    rbb2a5b2 rc762ad5  
    358358
    359359        /* Buffers cannot cross 64K page boundaries */
    360         if ((pa & 0xffff0000) !=  ((pa + size) & 0xffff0000))
     360        if ((pa & 0xffff0000) != ((pa + size - 1) & 0xffff0000))
    361361                return EINVAL;
    362362       
Note: See TracChangeset for help on using the changeset viewer.