Re: [PATCH v6 04/10] i386/pc: factor out above-4g end to an helper

2022-07-07 Thread Joao Martins
On 7/7/22 13:42, Igor Mammedov wrote: > On Fri, 1 Jul 2022 17:10:08 +0100 > Joao Martins wrote: > >> There's a couple of places that seem to duplicate this calculation >> of RAM size above the 4G boundary. Move all those to a helper function. >> >> Signed-off-by: Joao Martins > > Reviewed-b

Re: [PATCH v6 04/10] i386/pc: factor out above-4g end to an helper

2022-07-07 Thread Igor Mammedov
On Fri, 1 Jul 2022 17:10:08 +0100 Joao Martins wrote: > There's a couple of places that seem to duplicate this calculation > of RAM size above the 4G boundary. Move all those to a helper function. > > Signed-off-by: Joao Martins Reviewed-by: Igor Mammedov > --- > hw/i386/pc.c | 29

[PATCH v6 04/10] i386/pc: factor out above-4g end to an helper

2022-07-01 Thread Joao Martins
There's a couple of places that seem to duplicate this calculation of RAM size above the 4G boundary. Move all those to a helper function. Signed-off-by: Joao Martins --- hw/i386/pc.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/hw/i386/pc.c