]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ppc: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:16:58 +0000 (18:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:22 +0000 (15:07 +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>
Message-id: 1453832250-766-6-git-send-email-peter.maydell@linaro.org

63 files changed:
disas/ppc.c
hw/char/spapr_vty.c
hw/intc/xics.c
hw/intc/xics_kvm.c
hw/isa/pc87312.c
hw/misc/macio/cuda.c
hw/misc/macio/mac_dbdma.c
hw/misc/macio/macio.c
hw/net/spapr_llan.c
hw/nvram/spapr_nvram.c
hw/pci-bridge/dec.c
hw/pci-host/grackle.c
hw/pci-host/prep.c
hw/pci-host/uninorth.c
hw/ppc/e500.c
hw/ppc/e500plat.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/mpc8544_guts.c
hw/ppc/mpc8544ds.c
hw/ppc/ppc.c
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc440_bamboo.c
hw/ppc/ppc4xx_devs.c
hw/ppc/ppc4xx_pci.c
hw/ppc/ppc_booke.c
hw/ppc/ppce500_spin.c
hw/ppc/prep.c
hw/ppc/spapr.c
hw/ppc/spapr_drc.c
hw/ppc/spapr_events.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_pci_vfio.c
hw/ppc/spapr_rng.c
hw/ppc/spapr_rtas.c
hw/ppc/spapr_rtc.c
hw/ppc/spapr_vio.c
hw/ppc/virtex_ml507.c
hw/scsi/spapr_vscsi.c
target-ppc/arch_dump.c
target-ppc/cpu-models.c
target-ppc/dfp_helper.c
target-ppc/excp_helper.c
target-ppc/fpu_helper.c
target-ppc/gdbstub.c
target-ppc/int_helper.c
target-ppc/kvm-stub.c
target-ppc/kvm.c
target-ppc/machine.c
target-ppc/mem_helper.c
target-ppc/mfrom_table_gen.c
target-ppc/misc_helper.c
target-ppc/mmu-hash32.c
target-ppc/mmu-hash64.c
target-ppc/mmu_helper.c
target-ppc/monitor.c
target-ppc/timebase_helper.c
target-ppc/translate.c
target-ppc/translate_init.c
target-ppc/user_only_helper.c

index 99c4cbc3abdf9781b8f9da510653c5d20ac8d191..478332ba37e9a962d67f3d21e13d172bd26d3bf8 100644 (file)
@@ -18,6 +18,7 @@ the GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this file; see the file COPYING.  If not,
 see <http://www.gnu.org/licenses/>.  */
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 #define BFD_DEFAULT_TARGET_SIZE 64
 
index 36b328b9af208568bfc0ee29e87f8fba946ae87c..747c69d12d5a3cd4090aa3a634a4661808f43abf 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/qdev.h"
 #include "sysemu/char.h"
 #include "hw/ppc/spapr.h"
index 9ff579641448c76323378aae0a38fad394dbd659..cd91ddc4d1d9c0f7b8485d3bdbca5d67270bd53d 100644 (file)
@@ -25,6 +25,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "trace.h"
 #include "qemu/timer.h"
index d58729cfae9142198ef13af6318427ef87f66d0c..9fe06677f993042793ea97dd8ebfdb1605edd3e1 100644 (file)
@@ -25,6 +25,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "trace.h"
 #include "hw/ppc/spapr.h"
index 38030655f45d6217de7300202c65b6397efdbb97..6b5c7a2e02c66c3deb9c92090374f5aec49efcf6 100644 (file)
@@ -23,6 +23,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/isa/pc87312.h"
 #include "qemu/error-report.h"
 #include "sysemu/block-backend.h"
index 9db4c64150e5e6873a7bdc79f4c2b7a0d28da920..8d450cfce249f0cf900a84d22297e42946b6b970 100644 (file)
@@ -22,6 +22,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/ppc/mac.h"
 #include "hw/input/adb.h"
index 5ee8f022a5bbe92facb94caf94ea7a8f48f2aa64..c6d5b966b488b18567cd491495ef66302a76ad5d 100644 (file)
@@ -36,6 +36,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/isa/isa.h"
 #include "hw/ppc/mac_dbdma.h"
index adb990e565541d5e0cfd91aec025b9a45fc42507..42325bff5003818e82a33fc724090e7349dd4646 100644 (file)
@@ -22,6 +22,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/ppc/mac.h"
 #include "hw/pci/pci.h"
index 1ca5e9ce6a9adda451ec9340a25b290f9a5f669e..5237b4d8630f5eba030ff503cf4b94a4e3617be1 100644 (file)
@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  *
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "net/net.h"
 #include "hw/qdev.h"
index fcaa77dd9a7582d04ec54a2b1019357889b7785a..32d5a361d0d3d63ff1de0b86a35d9252e458aadf 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include <libfdt.h>
 
 #include "sysemu/block-backend.h"
index 28d0ff9c84a1161cfa9402ce108fb46c5ac53709..40ff0d0632b66485865e7fe6a109b6601c318583 100644 (file)
@@ -23,6 +23,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "dec.h"
 #include "hw/sysbus.h"
 #include "hw/pci/pci.h"
index ea31b72e7c0c0fa0266e92132faa8324aead6d16..8f9121615740a01f0f82430d8b5a57217dd39ccf 100644 (file)
@@ -23,6 +23,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/pci/pci_host.h"
 #include "hw/ppc/mac.h"
 #include "hw/pci/pci.h"
index f434596e8fb43c29731449a5248263400b46fb97..5dc550fe5e2e145e540e3d1ca549bf4ac5b4e2f6 100644 (file)
@@ -23,6 +23,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_bus.h"
index 215b64ffed98ea970565601e12395a62ce1a3510..778f8e6045d26183984ce59e75e8bdc76dca4738 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/mac.h"
 #include "hw/pci/pci.h"
index bd7da47fe24b55c462eb2636ed3737f09f8669c8..bd84e9ac133ec40787018a4e4e6b7848ae6743a3 100644 (file)
@@ -14,7 +14,7 @@
  * (at your option) any later version.
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "e500.h"
 #include "e500-ccsr.h"
index 384b6e84d15baa2e4211140905ef1e11a9fcb09a..b00565c3d3a6dfbc00053a5cf8182f07d07ccf3b 100644 (file)
@@ -9,7 +9,7 @@
  * (at your option) any later version.
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "e500.h"
 #include "hw/boards.h"
index ca3d6a8c40c588bafc2e3ffade837b417e613bed..f95086b78712e1de599ba2587c6b544b586353bf 100644 (file)
@@ -46,6 +46,7 @@
  * 0001:05:0c.0 IDE interface [0101]: Broadcom K2 SATA [1166:0240]
  *
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/mac.h"
index c3f9fe3907ef2caadb96eff4a3937d52f925d1f7..898439860c9c54f19f811041c4ec1c7c8f6f68dd 100644 (file)
@@ -23,6 +23,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/ppc/ppc.h"
 #include "mac.h"
index a10abe9789a85936aa4f58b0e1c33963cfa20256..ce399d18158cc260f9879c14e521fba5aff9d9b7 100644 (file)
@@ -17,6 +17,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
index 0afbd34d69fa3bcf4e2dfc5a4c334805c09e6ab5..27b82890162c58d74658ba0c1741e56e41a69a05 100644 (file)
@@ -9,7 +9,7 @@
  * (at your option) any later version.
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "e500.h"
 #include "hw/boards.h"
index 2c604ef49de27169770d37278a0764e14d451eec..ce90b09003cd9c659e719a78acb55bc481f606b4 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc_e500.h"
index 31bc1864279bc35a6aed56a0605e44b3e6fa10a0..67978083c63cca9a12405976dd55c26f6199236d 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "ppc405.h"
index 10f5dda1b16166154896e95c0653424450e22f0d..ec81f658c5c4bef1ccb9804c37df05c0ebb7df83 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/boards.h"
index b66c11338d22a553711f778cbed5d5ed8817240b..e535a9f2665082a8301bd81d3119eeab56f42e64 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "net/net.h"
 #include "hw/hw.h"
index 2f38ff7d262565c665409cfc92af6e0c1852131a..7d59018fc2b84518fc2cfc742cd92570e308b6dc 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
index 0bb3cdb46ec39b4720910835c8eae6d75f7a6e9d..683218e5c55f65ec726634a5a9735ede1fc7a56e 100644 (file)
@@ -19,6 +19,7 @@
 /* This file implements emulation of the 32-bit PCI controller found in some
  * 4xx SoCs, such as the 440EP. */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
index 8b94da6b08fb155834f9f71a74768236b9ff493e..a8d4e76426c1a0db9047ef9b72bcb561e275dce6 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/ppc/ppc.h"
 #include "qemu/timer.h"
index a99f7b03970cb6513dfce7a09a21541608c75f80..76bd78bfd7a6cca1c59fadd8743cf5d66e41c4c6 100644 (file)
@@ -27,6 +27,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
index 0e102fcfbe01d38d939d93152921769503bc4e3a..793b9ed34e8a2d0f1f769401b99c62a4749ab048 100644 (file)
@@ -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 "hw/hw.h"
 #include "hw/timer/m48t59.h"
 #include "hw/i386/pc.h"
index 50e5a268da42a83ae38a85b926c8f3fd896a46c5..08da895cbad12c6c7dd09775a0e3da0ed24294c8 100644 (file)
@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  *
  */
+#include "qemu/osdep.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/numa.h"
 #include "hw/hw.h"
index dccb908c3189d63d97f0494ee4bd2fb5c03b79b0..90016e63a10f9c0fdc2df61618a636389b42f574 100644 (file)
@@ -10,6 +10,7 @@
  * See the COPYING file in the top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include "hw/ppc/spapr_drc.h"
 #include "qom/object.h"
 #include "hw/qdev.h"
index 333e6ff27b7a9efbef7a7c5ef4b43b9c234c7e2f..f5eac4b5441cb76ace0f0949f15214b6d8f47423 100644 (file)
@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  *
  */
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/char.h"
index cebceea69b07806483a01596eeea297e4b13c49c..51083cd756468bd54b1c4817a6fd898d6319591d 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "sysemu/sysemu.h"
 #include "cpu.h"
 #include "helper_regs.h"
index ed28565d8c62863b3b4f0ab3587b36fc30572204..7dd458846eb60e44456be8b89d48feca29599caf 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "hw/hw.h"
 #include "sysemu/kvm.h"
 #include "hw/qdev.h"
index 55fa8db9e290de455deca618c6fb921c2f7514cc..cca9257fecc520372a7eb7d720dacff7d734fced 100644 (file)
@@ -22,6 +22,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/sysbus.h"
 #include "hw/pci/pci.h"
index a61b41813184ef7613224a9d8ec901b7a3f3782f..2f3752ea1855ff7b93f5984d30eda463322e8cd5 100644 (file)
@@ -17,6 +17,7 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/ppc/spapr.h"
 #include "hw/pci-host/spapr.h"
 #include "hw/pci/msix.h"
index ed43d5e042213f66b1fd3abed155f35cdc152865..8484fcf54774d8400147e90429bc9a4036187cde 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/device_tree.h"
index 34b12a3b99d3d863f63791ceba5dda3986680d01..f3ead8c1ced6839c57fc7ab5dbcc5b9afcd4f415 100644 (file)
@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  *
  */
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/char.h"
index b591a8ee23e751692d3c6fd5a91f3db311645492..02fa373aeeb290a5768dcfb756dea73e23ad534f 100644 (file)
@@ -25,6 +25,7 @@
  * THE SOFTWARE.
  *
  */
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
index 46f3b8d3efc37537bbb2547a749857c266db2195..ac6666a90be75f2bde2344acb3fcf49371c59616 100644 (file)
@@ -19,6 +19,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
index c2b5e441a5294c5c0d77e5924d47439ea7a0c600..a902c88277f5b5cae5006d4a6f7850070880fbe3 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/char/serial.h"
index f4f5140a4a350ede7547e9f5ea5a63bd45a7a0aa..e4833d506590838c1ce88f0f4e4235f18346ce82 100644 (file)
@@ -31,6 +31,7 @@
  *  - Add indirect descriptors support
  *  - Maybe do autosense (PAPR seems to mandate it, linux doesn't care)
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/scsi/scsi.h"
 #include "block/scsi.h"
index 816dbc21340d96257e0673e44419fb2dcacd5e74..df1fd8c336827a51b8b108256df8c468b25c2e74 100644 (file)
@@ -12,6 +12,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "elf.h"
 #include "exec/cpu-all.h"
index 4d5ab4ba1880c50114ffe91b4b4fea4c244c31a0..884e31da1b715521b334556800028a24c408cb97 100644 (file)
@@ -24,6 +24,7 @@
  * inside "#if defined(TODO) ... #endif" statements to make tests easier.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "cpu-models.h"
 
index 451e4340fddb5ab9be2fec32b4481458f238f0b6..db0ede698bcedc5b999a44435438a23e89cd34bf 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 dbc070c2a7d49350a3aa599bb0f5513c9a55eed0..c890853d861bd3297137073abb54ce8c169af1c0 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "exec/cpu_ldst.h"
index 9f2d53d7478a230fb83a66275636f3ae9b12748c..b67ebca126d2d39de60867b242c235e8ad678ef8 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 
index 14675f45653d835762afad903327fd3cad636ba0..ef4be2319989bd2b68cb084c1f7a4e26a590a035 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 b1228681084e33996923db2aa42437b7505ef88e..27b0258d3132355eb9aa57f47c1fd71ff3ede510 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu/host-utils.h"
 #include "exec/helper-proto.h"
index ee3f5d2f72dd2aabca2c114ca6b7a502d42e8b61..627bcb43226acc202fdfc3281d063b57f480250c 100644 (file)
@@ -9,6 +9,7 @@
  * See the COPYING file in the top-level directory.
  *
  */
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "hw/ppc/openpic.h"
 
index 9940a9046220c88fe172a493d40e2e4e7b0410e2..c2e8912745af5d62c1d3c0acd9e0a1cf4ae18bc5 100644 (file)
@@ -14,8 +14,8 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <dirent.h>
-#include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/vfs.h>
index f4ac7611dde2b0b4e2d598841c2bb26e737eb95f..8e30b7a8dc0c9e8f9c44e7874e8c34a6c590e04e 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "sysemu/kvm.h"
index 7e1f234aa53c2550778236d4a1972718f80b54fc..581d9faa2309024fbbf72f26cf2c7029c3879bd0 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu/host-utils.h"
 #include "exec/helper-proto.h"
index a140ded47a93bccc0dca5a628da817d349d54bc0..631791808e89b0ff4abd57740f4016ac1f7fc362 100644 (file)
@@ -1,6 +1,5 @@
 #define _GNU_SOURCE
-#include <stdint.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
 #include <math.h>
 
 int main (void)
index 6b12ca86af2f69455b5a91b799107421593e5f0d..73e3b05833ee7f457ef56dbdfccc4ac5af2d78cc 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 
index a00ae3c94aa4c432533c759244cbd86f9b7aa2df..022e9470f818a429bab5f4efa3ce0f81c3486655 100644 (file)
@@ -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 "exec/helper-proto.h"
 #include "sysemu/kvm.h"
index 34e20fa3a96027041172695afa931c27293b188c..8d28ed442acbf9644929653b98b27bec64660adb 100644 (file)
@@ -17,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "sysemu/kvm.h"
index 52176916bab4abd720f24c35953a2c24bc1bb51e..d4f7926cf12f57d65f1a6c21061610db9af3cdbb 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "sysemu/kvm.h"
index bc571b87aeb1c05d1c8e38126faafcdd6103561f..c2d0806dd1cefd0fc104968eb02f0b5d61cd60bf 100644 (file)
@@ -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"
index cafa2838996538e1c6bfb98a27ce667a1d3fea98..3b340d70d1934a7c866193cef9f00de0747cdbab 100644 (file)
@@ -16,6 +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 "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 
index 4be7eaaf9ba375f6343b49369e07e1838e0614f0..3beeb452a8bb9158bb4c0931c8cba76b94874385 100644 (file)
@@ -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 "disas/disas.h"
 #include "tcg-op.h"
index d7e1a4e1c8c900f6da7710449a2082d7101796de..76d5da1733bb28f19ed4d62c4dc7511f2fe6a487 100644 (file)
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 #include "exec/gdbstub.h"
 #include <sysemu/kvm.h>
@@ -8471,8 +8472,6 @@ static void dump_ppc_sprs (CPUPPCState *env)
 #endif
 
 /*****************************************************************************/
-#include <stdlib.h>
-#include <string.h>
 
 /* Opcode types */
 enum {
@@ -9303,7 +9302,6 @@ static gint ppc_cpu_compare_class_name(gconstpointer a, gconstpointer b)
     return -1;
 }
 
-#include <ctype.h>
 
 static ObjectClass *ppc_cpu_class_by_name(const char *name);
 
index 829f66f504a1caa5c5b40e1638d02d579babf1e7..6aff34713f05ceff037c0aeebf65b11943fc76b3 100644 (file)
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 
 int ppc_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int rw,