[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/11] exec: Use 'cpu-common.h' instead of system-mode specific '
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 10/11] exec: Use 'cpu-common.h' instead of system-mode specific 'hwaddr.h' |
Date: |
Sat, 9 May 2020 15:09:09 +0200 |
The "exec/hwaddr.h" header is restricted to system-mode emulation.
Instead, use "exec/cpu-common.h", which is meant for all modes.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/disas/disas.h | 2 +-
include/hw/core/cpu.h | 2 +-
include/sysemu/accel.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 36c33f6f19..531b42e002 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -1,7 +1,7 @@
#ifndef QEMU_DISAS_H
#define QEMU_DISAS_H
-#include "exec/hwaddr.h"
+#include "exec/cpu-common.h"
#ifdef NEED_CPU_H
#include "cpu.h"
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index ed09d056d1..a215ae451d 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -22,7 +22,7 @@
#include "hw/qdev-core.h"
#include "disas/dis-asm.h"
-#include "exec/hwaddr.h"
+#include "exec/cpu-common.h"
#include "exec/memattrs.h"
#include "qapi/qapi-types-run-state.h"
#include "qemu/bitmap.h"
diff --git a/include/sysemu/accel.h b/include/sysemu/accel.h
index e08b8ab8fa..e223a1d87b 100644
--- a/include/sysemu/accel.h
+++ b/include/sysemu/accel.h
@@ -24,7 +24,7 @@
#define HW_ACCEL_H
#include "qom/object.h"
-#include "exec/hwaddr.h"
+#include "exec/cpu-common.h"
typedef struct AccelState {
/*< private >*/
--
2.21.3
- Re: [PATCH 08/11] target/s390x: Restrict system-mode declarations, (continued)
[PATCH 09/11] target/cpu: Restrict handlers using hwaddr type to system-mode, Philippe Mathieu-Daudé, 2020/05/09
Re: [PATCH 09/11] target/cpu: Restrict handlers using hwaddr type to system-mode, David Gibson, 2020/05/10
[PATCH 10/11] exec: Use 'cpu-common.h' instead of system-mode specific 'hwaddr.h',
Philippe Mathieu-Daudé <=
[PATCH 11/11] exec/cpu-common: Poison hwaddr type in user-mode emulation, Philippe Mathieu-Daudé, 2020/05/09