shithub: riscv

Download patch

ref: 857f2528e0b014b6bd839535daaa6b53853703d9
parent: ea993877a96cd535199d0cd437e49f8d616615d9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Nov 7 17:05:29 EST 2016

ip: always pass a single block to Medium.bwrite(), avoid concatblock() calls in Dev.bwrite()

the convention for Dev.bwrite() is that it accepts a *single* block,
and not a block chain. so we never have concatblock here.

to keep stuff consistent, we also guarantee thet Medium.bwrite()
will get a *single* block passed as well, as the callers are
few in number.