qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC v2 26/34] core: Introduce multi-arch build


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC v2 26/34] core: Introduce multi-arch build
Date: Mon, 01 Jun 2015 10:26:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


On 31/05/2015 08:11, Peter Crosthwaite wrote:
> diff --git a/target-multi/cpu.h b/target-multi/cpu.h
> new file mode 100644
> index 0000000..70a1d6b
> --- /dev/null
> +++ b/target-multi/cpu.h
> @@ -0,0 +1,16 @@
> +#ifndef MULTI_CPU_H
> +#define MULTI_CPU_H
> +
> +#include "config.h"
> +
> +#define TARGET_LONG_BITS 64
> +#define TARGET_PAGE_BITS 12 /* Thou shalt still use 4k pages only! */
> +
> +#define CPUArchState void
> +
> +#include "exec/target-long.h"
> +#include "exec/cpu-all.h"
> +#include "exec/exec-all.h"
> +#include "qom/cpu.h"
> +
> +#endif

I guess ultimately it could be a goal to change cpu.h inclusions to one
or more of these four, which is nice in itself.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]