diff --git a/src/block-qcow.c b/src/block-qcow.c index ca3ad2b..7522908 100644 --- a/src/block-qcow.c +++ b/src/block-qcow.c @@ -21,9 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "qemu-common.h" -#include "block.h" -#include "block_int.h" +#include "qemu-git/qemu-common.h" +#include "include/block.h" +#include "include/block_int.h" #include #if 0 #include "aes.h" diff --git a/src/block-raw.c b/src/block-raw.c index adfeec8..bc3c6cc 100644 --- a/src/block-raw.c +++ b/src/block-raw.c @@ -21,9 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "qemu-common.h" -#include "block.h" -#include "block_int.h" +#include "qemu-git/qemu-common.h" +#include "include/block.h" +#include "include/block_int.h" #include #ifndef _WIN32 diff --git a/src/block.c b/src/block.c index 3a4e76d..5d90038 100644 --- a/src/block.c +++ b/src/block.c @@ -8,9 +8,9 @@ #include #include -#include "qemu-common.h" -#include -#include "block_int.h" +#include "qemu-git/qemu-common.h" +#include "include/block.h" +#include "include/block_int.h" #define SECTOR_BITS 9 #define SECTOR_SIZE (1 << SECTOR_BITS) diff --git a/src/flash.c b/src/flash.c index 4667cb9..44fc379 100644 --- a/src/flash.c +++ b/src/flash.c @@ -9,14 +9,15 @@ #include #include +#include + #include #include #include -#include -#include -#include -#include +#include "include/x49gp.h" +#include "include/x49gp_ui.h" +#include "include/byteorder.h" #define FLASH_STATE_NORMAL 0 diff --git a/src/gdbstub.c b/src/gdbstub.c index 1bb2a1f..018d7a1 100644 --- a/src/gdbstub.c +++ b/src/gdbstub.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 . */ -#include "qemu-common.h" +#include "qemu-git/qemu-common.h" #include #include #include @@ -29,7 +29,7 @@ #include #include -#include +#include "include/x49gp.h" #include "gdbstub.h" #define MAX_PACKET_LENGTH 4096 diff --git a/src/gdbstub.h b/src/gdbstub.h index 52130dc..4d72989 100644 --- a/src/gdbstub.h +++ b/src/gdbstub.h @@ -1,6 +1,8 @@ #ifndef GDBSTUB_H #define GDBSTUB_H +#include "qemu-git/qemu-common.h" + #define DEFAULT_GDBSTUB_PORT 1234 /* GDB breakpoint/watchpoint types */ diff --git a/src/main.c b/src/main.c index 5e394aa..1502e5c 100644 --- a/src/main.c +++ b/src/main.c @@ -15,13 +15,14 @@ #include #include -#include -#include #include -#include -#include -#include -#include + +#include "include/x49gp.h" +#include "include/x49gp_ui.h" +#include "include/s3c2410.h" +#include "include/s3c2410_power.h" +#include "include/s3c2410_timer.h" +#include "include/x49gp_timer.h" #include "gdbstub.h" diff --git a/src/module.c b/src/module.c index f746a56..9d48e6a 100644 --- a/src/module.c +++ b/src/module.c @@ -9,7 +9,7 @@ #include #include -#include +#include "include/x49gp.h" int x49gp_modules_init(x49gp_t *x49gp) diff --git a/src/s3c2410.c b/src/s3c2410.c index b587f6e..ba01617 100644 --- a/src/s3c2410.c +++ b/src/s3c2410.c @@ -10,8 +10,8 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" /* * Boot SRAM: 0x40000000 diff --git a/src/s3c2410_adc.c b/src/s3c2410_adc.c index 5ad85b4..9e21474 100644 --- a/src/s3c2410_adc.c +++ b/src/s3c2410_adc.c @@ -9,8 +9,8 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" typedef struct { diff --git a/src/s3c2410_arm.c b/src/s3c2410_arm.c index 70624c6..d820c4e 100644 --- a/src/s3c2410_arm.c +++ b/src/s3c2410_arm.c @@ -8,12 +8,12 @@ #include #include -#include +#include "qemu-git/target-arm/cpu.h" -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" -#include "cpu-all.h" +#include "qemu-git/cpu-all.h" static int s3c2410_arm_load(x49gp_module_t *module, GKeyFile *key) diff --git a/src/s3c2410_intc.c b/src/s3c2410_intc.c index a7feb8a..43ff9d0 100644 --- a/src/s3c2410_intc.c +++ b/src/s3c2410_intc.c @@ -7,11 +7,11 @@ #include #include -#include -#include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" +#include "include/s3c2410_power.h" +#include "include/byteorder.h" extern int do_trace; diff --git a/src/s3c2410_io_port.c b/src/s3c2410_io_port.c index 13c3027..94ef903 100644 --- a/src/s3c2410_io_port.c +++ b/src/s3c2410_io_port.c @@ -7,10 +7,10 @@ #include #include -#include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" +#include "include/byteorder.h" typedef struct { diff --git a/src/s3c2410_lcd.c b/src/s3c2410_lcd.c index 3c77458..bafdb44 100644 --- a/src/s3c2410_lcd.c +++ b/src/s3c2410_lcd.c @@ -11,9 +11,9 @@ #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/x49gp_ui.h" +#include "include/s3c2410.h" typedef struct { diff --git a/src/s3c2410_memc.c b/src/s3c2410_memc.c index 4d51a28..d491403 100644 --- a/src/s3c2410_memc.c +++ b/src/s3c2410_memc.c @@ -9,8 +9,8 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" typedef struct { diff --git a/src/s3c2410_nand.c b/src/s3c2410_nand.c index 3b13d6a..6d9bf86 100644 --- a/src/s3c2410_nand.c +++ b/src/s3c2410_nand.c @@ -9,8 +9,8 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" typedef struct { diff --git a/src/s3c2410_power.c b/src/s3c2410_power.c index cd9e725..06c975f 100644 --- a/src/s3c2410_power.c +++ b/src/s3c2410_power.c @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_power.h" static const uint32_t EXTCLK = 12000000; diff --git a/src/s3c2410_rtc.c b/src/s3c2410_rtc.c index 920a03e..6e43101 100644 --- a/src/s3c2410_rtc.c +++ b/src/s3c2410_rtc.c @@ -10,9 +10,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" typedef struct { diff --git a/src/s3c2410_sdi.c b/src/s3c2410_sdi.c index 7720555..b1d9159 100644 --- a/src/s3c2410_sdi.c +++ b/src/s3c2410_sdi.c @@ -10,10 +10,10 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" -#include +#include "include/block.h" //#define DEBUG_S3C2410_SDI 1 diff --git a/src/s3c2410_spi.c b/src/s3c2410_spi.c index 6a42540..cc5945e 100644 --- a/src/s3c2410_spi.c +++ b/src/s3c2410_spi.c @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" typedef struct { diff --git a/src/s3c2410_sram.c b/src/s3c2410_sram.c index 376bda3..f8ae46d 100644 --- a/src/s3c2410_sram.c +++ b/src/s3c2410_sram.c @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/byteorder.h" typedef struct { void *data; diff --git a/src/s3c2410_timer.c b/src/s3c2410_timer.c index 76b400f..eed1890 100644 --- a/src/s3c2410_timer.c +++ b/src/s3c2410_timer.c @@ -9,10 +9,10 @@ #include #include -#include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_timer.h" +#include "include/s3c2410_intc.h" typedef struct { diff --git a/src/s3c2410_uart.c b/src/s3c2410_uart.c index 62eb86b..e74ae7f 100644 --- a/src/s3c2410_uart.c +++ b/src/s3c2410_uart.c @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" typedef struct { diff --git a/src/s3c2410_usbdev.c b/src/s3c2410_usbdev.c index d909364..23b1640 100644 --- a/src/s3c2410_usbdev.c +++ b/src/s3c2410_usbdev.c @@ -9,8 +9,8 @@ #include #include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" typedef struct { diff --git a/src/s3c2410_watchdog.c b/src/s3c2410_watchdog.c index 785352f..5510696 100644 --- a/src/s3c2410_watchdog.c +++ b/src/s3c2410_watchdog.c @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include "include/x49gp.h" +#include "include/s3c2410.h" +#include "include/s3c2410_intc.h" typedef struct { diff --git a/src/sram.c b/src/sram.c index 4a810ec..62ec688 100644 --- a/src/sram.c +++ b/src/sram.c @@ -9,11 +9,12 @@ #include #include -#include #include -#include -#include +#include "include/x49gp.h" +#include "include/byteorder.h" + +#include "include/saturn.h" typedef struct { void *data; diff --git a/src/symbol.c b/src/symbol.c index 10d6aa8..85016a7 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -7,7 +7,7 @@ #include #include -#include +#include "include/symbol.h" static const cairo_path_data_t symbol_square_path_data[] = { diff --git a/src/timer.c b/src/timer.c index 2c213ee..43b157d 100644 --- a/src/timer.c +++ b/src/timer.c @@ -14,12 +14,12 @@ #include #include -#include -#include -#include - #include +#include "include/x49gp.h" +#include "include/x49gp_timer.h" +#include "include/s3c2410.h" + #include "gdbstub.h" typedef struct { diff --git a/src/tiny_font.c b/src/tiny_font.c index 5692bb0..f50c264 100644 --- a/src/tiny_font.c +++ b/src/tiny_font.c @@ -2,96 +2,97 @@ */ #include -#include -#include +#include "include/bitmap_font.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "bitmaps/tiny_notdef.xbm" -#include -#include -#include -#include +#include "bitmaps/tiny_quotedbl.xbm" +#include "bitmaps/tiny_numbersign.xbm" +#include "bitmaps/tiny_ampersand.xbm" +#include "bitmaps/tiny_parenleft.xbm" +#include "bitmaps/tiny_parenright.xbm" +#include "bitmaps/tiny_comma.xbm" +#include "bitmaps/tiny_hyphen.xbm" +#include "bitmaps/tiny_period.xbm" +#include "bitmaps/tiny_slash.xbm" +#include "bitmaps/tiny_colon.xbm" +#include "bitmaps/tiny_less.xbm" +#include "bitmaps/tiny_equal.xbm" +#include "bitmaps/tiny_greater.xbm" +#include "bitmaps/tiny_bracketleft.xbm" +#include "bitmaps/tiny_bracketright.xbm" +#include "bitmaps/tiny_underscore.xbm" +#include "bitmaps/tiny_braceleft.xbm" +#include "bitmaps/tiny_braceright.xbm" -#include -#include +#include "bitmaps/tiny_guillemotleft.xbm" +#include "bitmaps/tiny_guillemotright.xbm" +#include "bitmaps/tiny_arrowleft.xbm" +#include "bitmaps/tiny_arrowright.xbm" -#include -#include +#include "bitmaps/tiny_large_comma.xbm" +#include "bitmaps/tiny_overscore.xbm" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "bitmaps/tiny_xsuperior.xbm" +#include "bitmaps/tiny_twosuperior.xbm" -#include -#include -#include -#include -#include -#include -#include +#include "bitmaps/tiny_math_e.xbm" +#include "bitmaps/tiny_math_x.xbm" +#include "bitmaps/tiny_math_y.xbm" +#include "bitmaps/tiny_math_pi.xbm" +#include "bitmaps/tiny_math_summation.xbm" +#include "bitmaps/tiny_math_radical.xbm" +#include "bitmaps/tiny_math_partialdiff.xbm" +#include "bitmaps/tiny_math_integral.xbm" +#include "bitmaps/tiny_math_infinity.xbm" -#include -#include -#include -#include +#include "bitmaps/tiny_math_numbersign.xbm" +#include "bitmaps/tiny_math_less.xbm" +#include "bitmaps/tiny_math_greater.xbm" +#include "bitmaps/tiny_math_lessequal.xbm" +#include "bitmaps/tiny_math_greaterequal.xbm" +#include "bitmaps/tiny_math_equal.xbm" +#include "bitmaps/tiny_math_notequal.xbm" -#include -#include -#include -#include +#include "bitmaps/tiny_math_arrowleft.xbm" +#include "bitmaps/tiny_math_arrowright.xbm" +#include "bitmaps/tiny_math_downarrowleft.xbm" +#include "bitmaps/tiny_math_downarrowright.xbm" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "bitmaps/tiny_zero.xbm" +#include "bitmaps/tiny_one.xbm" +#include "bitmaps/tiny_two.xbm" +#include "bitmaps/tiny_three.xbm" -#include +#include "bitmaps/tiny_A.xbm" +#include "bitmaps/tiny_B.xbm" +#include "bitmaps/tiny_C.xbm" +#include "bitmaps/tiny_D.xbm" +#include "bitmaps/tiny_E.xbm" +#include "bitmaps/tiny_F.xbm" +#include "bitmaps/tiny_G.xbm" +#include "bitmaps/tiny_H.xbm" +#include "bitmaps/tiny_I.xbm" +#include "bitmaps/tiny_J.xbm" +#include "bitmaps/tiny_K.xbm" +#include "bitmaps/tiny_L.xbm" +#include "bitmaps/tiny_M.xbm" +#include "bitmaps/tiny_N.xbm" +#include "bitmaps/tiny_O.xbm" +#include "bitmaps/tiny_P.xbm" +#include "bitmaps/tiny_Q.xbm" +#include "bitmaps/tiny_R.xbm" +#include "bitmaps/tiny_S.xbm" +#include "bitmaps/tiny_T.xbm" +#include "bitmaps/tiny_U.xbm" +#include "bitmaps/tiny_V.xbm" +#include "bitmaps/tiny_W.xbm" +#include "bitmaps/tiny_X.xbm" +#include "bitmaps/tiny_Y.xbm" +#include "bitmaps/tiny_Z.xbm" + +#include "bitmaps/tiny__i.xbm" const bitmap_font_t tiny_font = { diff --git a/src/ui.c b/src/ui.c index 8d90954..381c264 100644 --- a/src/ui.c +++ b/src/ui.c @@ -16,19 +16,18 @@ #include #include #include +#include -#include -#include -#include -#include -#include -#include -#include +#include "include/x49gp.h" +#include "include/x49gp_ui.h" +#include "include/s3c2410.h" +#include "include/bitmaps.h" +#include "include/bitmap_font.h" +#include "include/symbol.h" +#include "include/glyphname.h" #include "gdbstub.h" -#include - #if defined(__linux__) #define X49GP_UI_NORMAL_FONT "urw gothic l" #else