Re: [Qemu-devel] [PATCH 1/3] target-arm: Add ULL suffix to calculation of page size

2014-06-13 Thread Peter Crosthwaite
On Sun, Jun 8, 2014 at 6:11 AM, Peter Maydell wrote: > The maximum block size for AArch64 address translation is 2GB. This means > that we need a ULL suffix on our shift to avoid shifting into the sign > bit of a signed 32 bit integer. > > Signed-off-by: Peter Maydell Reviewed-by: Peter Crosthwa

[Qemu-devel] [PATCH 1/3] target-arm: Add ULL suffix to calculation of page size

2014-06-07 Thread Peter Maydell
The maximum block size for AArch64 address translation is 2GB. This means that we need a ULL suffix on our shift to avoid shifting into the sign bit of a signed 32 bit integer. Signed-off-by: Peter Maydell --- target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git