Skip to content

Commit 238b32e

Browse files
author
Stanislav Shwartsman
committed
remove pc_system.h from iodev.h to speed-up compilation
1 parent 808068f commit 238b32e

37 files changed

+45
-13
lines changed

bochs/bx_debug/dbg_main.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern "C" {
2929
#include "cpu/cpu.h"
3030
#include "cpu/decoder/ia_opcodes.h"
3131
#include "iodev/iodev.h"
32+
#include "pc_system.h"
3233
#if BX_DEBUGGER
3334

3435
#define LOG_THIS genlog->

bochs/cpu/apic.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

2929
#include "apic.h"
3030
#include "scalar_arith.h"
31+
32+
#include "pc_system.h"
3133
#include "iodev/iodev.h"
3234

3335
extern bool simulate_xapic;

bochs/cpu/event.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#endif
3535

3636
#include "iodev/iodev.h"
37+
#include "pc_system.h"
3738

3839
#include "bx_debug/debug.h"
3940

bochs/cpu/exception.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#endif
3131

3232
#include "param_names.h"
33+
#include "pc_system.h"
3334
#include "iodev/iodev.h"
3435

3536
#include "bx_debug/debug.h"

bochs/cpu/io.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#endif
3131

3232
#include "iodev/iodev.h"
33+
#include "pc_system.h"
3334

3435
//
3536
// Repeat Speedups methods

bochs/cpu/vmx.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
#include "apic.h"
3535
#endif
3636

37-
#include "iodev/iodev.h"
37+
#include "pc_system.h"
38+
#include "gui/siminterface.h"
3839

3940
#include "bx_debug/debug.h"
4041

bochs/iodev/busmouse.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define BX_PLUGGABLE
2929

3030
#include "iodev.h"
31+
#include "pc_system.h"
3132
#include "busmouse.h"
3233

3334
#if BX_SUPPORT_BUSMOUSE

bochs/iodev/dma.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#define BX_PLUGGABLE
2727

2828
#include "iodev.h"
29+
#include "pc_system.h"
2930
#include "dma.h"
3031

3132
#include "bx_debug/debug.h"

bochs/iodev/floppy.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ extern "C" {
106106
}
107107
#endif
108108
#include "iodev.h"
109+
#include "pc_system.h"
109110
#include "hdimage/hdimage.h"
110111

111112
#include "bx_debug/debug.h"

bochs/iodev/gameport.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define BX_PLUGGABLE
2929

3030
#include "iodev.h"
31+
#include "pc_system.h"
3132
#include "gameport.h"
3233

3334
#ifdef __linux__

0 commit comments

Comments
 (0)