[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 8/8] ppc: Support tcg interpreter on ppc hosts
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 8/8] ppc: Support tcg interpreter on ppc hosts |
Date: |
Sat, 17 Sep 2011 22:31:56 +0100 |
On 17 September 2011 21:00, Stefan Weil <address@hidden> wrote:
> Tests of the tcg interpreter on an (emulated) ppc host
> needed this small change.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
> cache-utils.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cache-utils.h b/cache-utils.h
> index 0b65907..7c3b282 100644
> --- a/cache-utils.h
> +++ b/cache-utils.h
> @@ -1,7 +1,7 @@
> #ifndef QEMU_CACHE_UTILS_H
> #define QEMU_CACHE_UTILS_H
>
> -#if defined(_ARCH_PPC)
> +#if defined(_ARCH_PPC) && !defined(CONFIG_TCG_INTERPRETER)
> struct qemu_cache_conf {
> unsigned long dcache_bsize;
> unsigned long icache_bsize;
This looks a bit odd, but I think that's partly an effect of
only the PPC flush_icache_range being in this header file when
for other architectures it is in tcg/*/tcg-target.h. If we
could have the cache flushing be in tcg/* for every target then
you wouldn't need to do an ifdef here.
-- PMM
- [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine), Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 4/8] tcg: Add some assertions, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 2/8] tcg: Don't declare TCG_TARGET_REG_BITS in tcg-target.h, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 1/8] tcg: Declare TCG_TARGET_REG_BITS in tcg.h, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 8/8] ppc: Support tcg interpreter on ppc hosts, Stefan Weil, 2011/09/17
- Re: [Qemu-devel] [PATCH 8/8] ppc: Support tcg interpreter on ppc hosts,
Peter Maydell <=
- [Qemu-devel] [PATCH 3/8] tcg: Add forward declarations for local functions, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 7/8] tcg: Add tcg interpreter to configure / make, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 6/8] tcg: Add bytecode generator for tcg interpreter, Stefan Weil, 2011/09/17
- [Qemu-devel] [PATCH 5/8] tcg: Add interpreter for bytecode, Stefan Weil, 2011/09/17