Peter Maydell <peter.mayd...@linaro.org> writes: > On 18 September 2012 17:53, Stefan Weil <s...@weilnetz.de> wrote: >> What about moving the ctz32 function (or even all of host-utils.h) to >> bitops.h? > > I guess that would make some sense, though I'm not generally > a huge fan of shuffling code around. > > (bitops.h and host-utils.h are not under the same license terms, > which might complicate things slightly.)
Have a look at hw/hd-geometry.c for a suitable boilerplate comment.