On 02/23/2015 07:54 PM, Peter Maydell wrote:
On 23 February 2015 at 16:49, Alexey Kardashevskiy wrote:
This adds a helper to get closest bigger power-of-two value.
Signed-off-by: Alexey Kardashevskiy
---
It is a log2 of round up to power of two. Is there anything like this
in QEMU already? A
On 23 February 2015 at 16:49, Alexey Kardashevskiy wrote:
> This adds a helper to get closest bigger power-of-two value.
>
> Signed-off-by: Alexey Kardashevskiy
> ---
>
> It is a log2 of round up to power of two. Is there anything like this
> in QEMU already? Any better name than up_pow_of_two()?
This adds a helper to get closest bigger power-of-two value.
Signed-off-by: Alexey Kardashevskiy
---
It is a log2 of round up to power of two. Is there anything like this
in QEMU already? Any better name than up_pow_of_two()?
I'll use this little helper later to calculate a DMA window shift as