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