Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-16 Thread David Gibson
On Thu, May 13, 2021 at 09:56:27AM -0300, Bruno Piazera Larsen wrote: > > On 13/05/2021 00:59, David Gibson wrote: > > On Wed, May 12, 2021 at 11:08:12AM -0300, Bruno Larsen (billionai) wrote: > > > Created a file with stubs needed to compile disabling TCG. > > > > > > We're not sure about keepin

Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-14 Thread Bruno Piazera Larsen
On 12/05/2021 15:39, Richard Henderson wrote: On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: +++ b/target/ppc/tcg-stub.c @@ -0,0 +1,33 @@ + +#include "qemu/osdep.h" All files get copyright boilerplate. +#include "exec/hwaddr.h" +#include "cpu.h" +#include "hw/ppc/spapr.h" + +hwaddr ppc

Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-13 Thread Bruno Piazera Larsen
On 13/05/2021 00:59, David Gibson wrote: On Wed, May 12, 2021 at 11:08:12AM -0300, Bruno Larsen (billionai) wrote: Created a file with stubs needed to compile disabling TCG. We're not sure about keeping the softmmu stubs in this file. if there is a better place to put them, please let us know.

Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-12 Thread David Gibson
On Wed, May 12, 2021 at 11:08:12AM -0300, Bruno Larsen (billionai) wrote: > Created a file with stubs needed to compile disabling TCG. > > We're not sure about keeping the softmmu stubs in this file. if there is > a better place to put them, please let us know. > > The other 3 functions have been

Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-12 Thread Bruno Piazera Larsen
On 12/05/2021 15:39, Richard Henderson wrote: On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: +++ b/target/ppc/tcg-stub.c @@ -0,0 +1,33 @@ + +#include "qemu/osdep.h" All files get copyright boilerplate. yeah, I didn't expect this file to stick around, though, as the last time we made a s

Re: [RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-12 Thread Richard Henderson
On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: +++ b/target/ppc/tcg-stub.c @@ -0,0 +1,33 @@ + +#include "qemu/osdep.h" All files get copyright boilerplate. +#include "exec/hwaddr.h" +#include "cpu.h" +#include "hw/ppc/spapr.h" + +hwaddr ppc_cpu_get_phys_page_debug(CPUState *cs, vaddr add

[RFC PATCH 10/11] target/ppc: created tcg-stub.c file

2021-05-12 Thread Bruno Larsen (billionai)
Created a file with stubs needed to compile disabling TCG. We're not sure about keeping the softmmu stubs in this file. if there is a better place to put them, please let us know. The other 3 functions have been stubbed because we didn't know what to do with them. Making the file compile in the !