- Copy the map registers to the buffer only, if they are used (in IoFlushAdapterBuffers).
authorHartmut Birr <osexpert@googlemail.com>
Mon, 5 Sep 2005 20:25:31 +0000 (20:25 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Mon, 5 Sep 2005 20:25:31 +0000 (20:25 +0000)
commitce7e03841552490d4230f60feb00972a1eded234
treeab5c203e0da9fb0575d0a5ffc0e7f79db95db647
parent038920314645dd05d0dce3a4af4ebb16c2e527c6
- Copy the map registers to the buffer only, if they are used (in IoFlushAdapterBuffers).
- Do not use the byte offset into the page from a given buffer if the map registers are used,
  because the caller didn't request for one additional register in the call to IoAllocateAdapterChannel
  and it will not work for a 64k buffer.

svn path=/trunk/; revision=17665
reactos/hal/halx86/generic/dma.c
reactos/hal/halx86/include/haldma.h