diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:03 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:22 +0000 |
commit | b6a0aa053711e27e1a7825c1fca662beb05bee6f (patch) | |
tree | 8f237f3d3f8aa482f121f0a19abc0c52ce1ab398 /target-i386 | |
parent | d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2 (diff) |
x86: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-11-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/arch_dump.c | 1 | ||||
-rw-r--r-- | target-i386/arch_memory_mapping.c | 1 | ||||
-rw-r--r-- | target-i386/bpt_helper.c | 1 | ||||
-rw-r--r-- | target-i386/cc_helper.c | 1 | ||||
-rw-r--r-- | target-i386/excp_helper.c | 1 | ||||
-rw-r--r-- | target-i386/fpu_helper.c | 1 | ||||
-rw-r--r-- | target-i386/gdbstub.c | 2 | ||||
-rw-r--r-- | target-i386/helper.c | 1 | ||||
-rw-r--r-- | target-i386/hyperv.c | 1 | ||||
-rw-r--r-- | target-i386/int_helper.c | 1 | ||||
-rw-r--r-- | target-i386/kvm-stub.c | 1 | ||||
-rw-r--r-- | target-i386/kvm.c | 2 | ||||
-rw-r--r-- | target-i386/machine.c | 1 | ||||
-rw-r--r-- | target-i386/mem_helper.c | 1 | ||||
-rw-r--r-- | target-i386/misc_helper.c | 1 | ||||
-rw-r--r-- | target-i386/monitor.c | 1 | ||||
-rw-r--r-- | target-i386/seg_helper.c | 1 | ||||
-rw-r--r-- | target-i386/smm_helper.c | 1 | ||||
-rw-r--r-- | target-i386/svm_helper.c | 1 | ||||
-rw-r--r-- | target-i386/translate.c | 6 |
20 files changed, 20 insertions, 7 deletions
diff --git a/target-i386/arch_dump.c b/target-i386/arch_dump.c index eccd8031af..5a2e4be5d0 100644 --- a/target-i386/arch_dump.c +++ b/target-i386/arch_dump.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/cpu-all.h" #include "sysemu/dump.h" diff --git a/target-i386/arch_memory_mapping.c b/target-i386/arch_memory_mapping.c index 01563fecce..88f341e1bb 100644 --- a/target-i386/arch_memory_mapping.c +++ b/target-i386/arch_memory_mapping.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/cpu-all.h" #include "sysemu/memory_mapping.h" diff --git a/target-i386/bpt_helper.c b/target-i386/bpt_helper.c index dac1b1a360..f47df19988 100644 --- a/target-i386/bpt_helper.c +++ b/target-i386/bpt_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-i386/cc_helper.c b/target-i386/cc_helper.c index d5b7c7b17a..99a3b5496b 100644 --- a/target-i386/cc_helper.c +++ b/target-i386/cc_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c index 5e347bc46c..ef37f42401 100644 --- a/target-i386/excp_helper.c +++ b/target-i386/excp_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/log.h" #include "sysemu/sysemu.h" diff --git a/target-i386/fpu_helper.c b/target-i386/fpu_helper.c index 31afa4475d..2d54b47ac6 100644 --- a/target-i386/fpu_helper.c +++ b/target-i386/fpu_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include <math.h> #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-i386/gdbstub.c b/target-i386/gdbstub.c index 6a9bf3c4a0..4b5071398f 100644 --- a/target-i386/gdbstub.c +++ b/target-i386/gdbstub.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include "config.h" +#include "qemu/osdep.h" #include "qemu-common.h" #include "exec/gdbstub.h" diff --git a/target-i386/helper.c b/target-i386/helper.c index 24f58117ab..81568c8b2b 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "sysemu/kvm.h" #include "kvm_i386.h" diff --git a/target-i386/hyperv.c b/target-i386/hyperv.c index e79b173a81..6b519c392e 100644 --- a/target-i386/hyperv.c +++ b/target-i386/hyperv.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "hyperv.h" #include "standard-headers/asm-x86/hyperv.h" diff --git a/target-i386/int_helper.c b/target-i386/int_helper.c index 3dcd25fd6e..9d0d21e786 100644 --- a/target-i386/int_helper.c +++ b/target-i386/int_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" diff --git a/target-i386/kvm-stub.c b/target-i386/kvm-stub.c index 6fefd65c23..8df9c5953f 100644 --- a/target-i386/kvm-stub.c +++ b/target-i386/kvm-stub.c @@ -9,6 +9,7 @@ * See the COPYING file in the top-level directory. * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "kvm_i386.h" diff --git a/target-i386/kvm.c b/target-i386/kvm.c index d6f5355aa9..94024bc1b1 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -12,7 +12,7 @@ * */ -#include <sys/types.h> +#include "qemu/osdep.h" #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/utsname.h> diff --git a/target-i386/machine.c b/target-i386/machine.c index 6be73413cb..ee5b94922b 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" #include "hw/i386/pc.h" diff --git a/target-i386/mem_helper.c b/target-i386/mem_helper.c index 0e20df2f75..7de775259d 100644 --- a/target-i386/mem_helper.c +++ b/target-i386/mem_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-i386/misc_helper.c b/target-i386/misc_helper.c index 13bd4f5eec..460257f6bc 100644 --- a/target-i386/misc_helper.c +++ b/target-i386/misc_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-i386/monitor.c b/target-i386/monitor.c index aac6b1ba8e..fccfe40ab7 100644 --- a/target-i386/monitor.c +++ b/target-i386/monitor.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "cpu.h" #include "monitor/monitor.h" #include "monitor/hmp-target.h" diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c index 20ee892224..4c7cab79ff 100644 --- a/target-i386/seg_helper.c +++ b/target-i386/seg_helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/log.h" #include "exec/helper-proto.h" diff --git a/target-i386/smm_helper.c b/target-i386/smm_helper.c index c272a98407..b930421724 100644 --- a/target-i386/smm_helper.c +++ b/target-i386/smm_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c index f1fabf54e7..ab472f6eea 100644 --- a/target-i386/svm_helper.c +++ b/target-i386/svm_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/cpu-all.h" #include "exec/helper-proto.h" diff --git a/target-i386/translate.c b/target-i386/translate.c index 8ce0fcc0bd..957a92d591 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -16,11 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdarg.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> +#include "qemu/osdep.h" #include "qemu/host-utils.h" #include "cpu.h" |