Browse Source

mips: 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>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
pull/36/head
Peter Maydell 10 years ago
committed by Leon Alrae
parent
commit
c684822ad2
  1. 1
      disas/mips.c
  2. 1
      hw/mips/addr.c
  3. 1
      hw/mips/cputimer.c
  4. 1
      hw/mips/gt64xxx_pci.c
  5. 1
      hw/mips/mips_fulong2e.c
  6. 1
      hw/mips/mips_int.c
  7. 1
      hw/mips/mips_jazz.c
  8. 1
      hw/mips/mips_malta.c
  9. 1
      hw/mips/mips_mipssim.c
  10. 1
      hw/mips/mips_r4k.c
  11. 1
      target-mips/cpu.c
  12. 1
      target-mips/dsp_helper.c
  13. 2
      target-mips/gdbstub.c
  14. 6
      target-mips/helper.c
  15. 2
      target-mips/kvm.c
  16. 1
      target-mips/lmi_helper.c
  17. 1
      target-mips/machine.c
  18. 2
      target-mips/mips-semi.c
  19. 1
      target-mips/msa_helper.c
  20. 2
      target-mips/op_helper.c
  21. 1
      target-mips/translate.c

1
disas/mips.c

@ -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.

1
hw/mips/addr.c

@ -20,6 +20,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/mips/cpudevs.h"

1
hw/mips/cputimer.c

@ -20,6 +20,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/mips/cpudevs.h"
#include "qemu/timer.h"

1
hw/mips/gt64xxx_pci.c

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/mips/mips.h"
#include "hw/pci/pci.h"

1
hw/mips/mips_fulong2e.c

@ -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"

1
hw/mips/mips_int.c

@ -20,6 +20,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/mips/cpudevs.h"
#include "cpu.h"

1
hw/mips/mips_jazz.c

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/mips/mips.h"
#include "hw/mips/cpudevs.h"

1
hw/mips/mips_malta.c

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/i386/pc.h"
#include "hw/char/serial.h"

1
hw/mips/mips_mipssim.c

@ -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"

1
hw/mips/mips_r4k.c

@ -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"

1
target-mips/cpu.c

@ -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"

1
target-mips/dsp_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 "qemu/bitops.h"

2
target-mips/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"

6
target-mips/helper.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 "cpu.h"
#include "sysemu/kvm.h"

2
target-mips/kvm.c

@ -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>

1
target-mips/lmi_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"

1
target-mips/machine.c

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "cpu.h"

2
target-mips/mips-semi.c

@ -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"

1
target-mips/msa_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"

2
target-mips/op_helper.c

@ -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"

1
target-mips/translate.c

@ -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"

Loading…
Cancel
Save