mips: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jan 2016 17:35:00 +0000 (17:35 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Sat, 23 Jan 2016 14:30:04 +0000 (14:30 +0000)
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>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
21 files changed:
disas/mips.c
hw/mips/addr.c
hw/mips/cputimer.c
hw/mips/gt64xxx_pci.c
hw/mips/mips_fulong2e.c
hw/mips/mips_int.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c
hw/mips/mips_r4k.c
target-mips/cpu.c
target-mips/dsp_helper.c
target-mips/gdbstub.c
target-mips/helper.c
target-mips/kvm.c
target-mips/lmi_helper.c
target-mips/machine.c
target-mips/mips-semi.c
target-mips/msa_helper.c
target-mips/op_helper.c
target-mips/translate.c

index bf0bbaf86a3cdebeabcaee41bcbe8378480decfc..0e488d8578ed7b46970a0e3684548d27bfd4bfc6 100644 (file)
@@ -19,6 +19,7 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 
 /* mips.h.  Mips opcode list for GDB, the GNU debugger.
index ff3b952600bbb8403e28c6c03ab97c0b2f860f27..e4e86b4a75487d09789b0e1f34149851853101e6 100644 (file)
@@ -20,6 +20,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/cpudevs.h"
 
index f046588ada4749dc5934726eb23c7e34d0e1be6f..efb227d06edf30a5ca43c01fd3e02dcafcd7df69 100644 (file)
@@ -20,6 +20,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/cpudevs.h"
 #include "qemu/timer.h"
index c1f3c9c3e95fad26fcc56150aa93086fd16ba740..3f4523df222fca08e8cb09f048cf0a202169f395 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/mips.h"
 #include "hw/pci/pci.h"
index 5988a88c0b8c4295e733eed663663cb4c13539ea..6748d8947851210e612c625ce85960d9c352b46a 100644 (file)
@@ -18,6 +18,7 @@
  * http://www.loongsondeveloper.com/doc/Loongson2EUserGuide.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/i386/pc.h"
 #include "hw/char/serial.h"
index d740046ba1514167c3fc68ca4cf056d8a7b13f65..59081f9d1e6d83fa13b9babc1c83e772ddc7e8f5 100644 (file)
@@ -20,6 +20,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/cpudevs.h"
 #include "cpu.h"
index 1cfbaa605ace9ef9d2cc69a87b5b0874988436a0..62527fdbe873718b75fad0d8842cb604a7cbcf6a 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
index 91c36baa55d6a7d5fd8be9e17b6c7ba40048513f..c5da83fde834a31f663acc3664f0f235b737521d 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/i386/pc.h"
 #include "hw/char/serial.h"
index 23b35bea21b3bd56cb2a669ae46ff67af8a73616..8951ae97d348ed7b8968b436f63eb8a07f78427a 100644 (file)
@@ -24,6 +24,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
index 2d4e0386737091503315dafc9310268469012950..b6625aeee45d4accbb1001465e063a2cf8ce1e2d 100644 (file)
@@ -7,6 +7,7 @@
  * All peripherial devices are attached to this "bus" with
  * the standard PC ISA addresses.
 */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
index 639a24b3623a9224f56467c855e144c09b76fcdc..0b3f130cf2e8f63792711e820cd1a58b22c925e3 100644 (file)
@@ -18,6 +18,7 @@
  * <http://www.gnu.org/licenses/lgpl-2.1.html>
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "kvm_mips.h"
 #include "qemu-common.h"
index 46528de325c44e8b7a593c95eff0bd28ace851cf..df7d2204b019189c5d0bc93ac3d59b38f373cfbc 100644 (file)
@@ -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 "qemu/bitops.h"
index 9845d880aebacc621891699df3820cde4fcd1ddd..b0b4a32ec01fc3a7e60cb809d369860267de51dc 100644 (file)
@@ -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"
 
index 118072a9e7435f547df9111e62a7cb59591d8451..f9c4c11eb93e526ea1dbf8eba2b998f85390ce86 100644 (file)
  * 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 "cpu.h"
 #include "sysemu/kvm.h"
index ffc120d71603b1ee0ec44a6def1b2911f68239d0..a8b8b32c267b2405f6470ef76c2c3fa8dbdc92e0 100644 (file)
@@ -9,7 +9,7 @@
  * Authors: Sanjay Lal <sanjayl@kymasys.com>
 */
 
-#include <sys/types.h>
+#include "qemu/osdep.h"
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 
index bbfcd59cdb4354409fac6a67d90dfdaa5001db33..fb1245b39d826a7d35d6e6b7eb55b769abb6e532 100644 (file)
@@ -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"
 
index b15c43a1079b722a6e9e5f9690b471a67c52fe76..737f3c2f5878672552928157a0509a87078755be 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 
 #include "cpu.h"
index 5050940c20d93d924789e72ab5d819e0a8d1fce2..ed235de99d00f7813123c7b56a757b59910bd633 100644 (file)
@@ -17,7 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <sys/stat.h>
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "exec/softmmu-semi.h"
index b8e2917e5e407adee48423fa394beaff7bbe34ce..654a0d2728901533f6f1a36cf1c83acd66bc512d 100644 (file)
@@ -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"
 
index 20e79bee239b467af773edb7327116827630aa2a..684ec92c129c4ed283f941730b4da50c0a807be7 100644 (file)
@@ -16,7 +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 <stdlib.h>
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu/host-utils.h"
 #include "exec/helper-proto.h"
index d2443d382ad5d780d26ffe5349157604a4f1b968..383d4b51187d099e51350bb4906967380a051969 100644 (file)
@@ -21,6 +21,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "disas/disas.h"
 #include "tcg-op.h"