]> Git Repo - qemu.git/blobdiff - hw/shix.c
Merge branch 'eflags3' of git://github.com/rth7680/qemu
[qemu.git] / hw / shix.c
index e259c17c52576e8972af65b1422caa61e260c355..6f2d55a155cd90bcaa347e7f78ac549785989afa 100644 (file)
--- a/hw/shix.c
+++ b/hw/shix.c
 */
 #include "hw.h"
 #include "sh.h"
-#include "sysemu.h"
+#include "sysemu/sysemu.h"
 #include "boards.h"
 #include "loader.h"
-#include "exec-memory.h"
+#include "exec/address-spaces.h"
 
 #define BIOS_FILENAME "shix_bios.bin"
 #define BIOS_ADDRESS 0xA0000000
 
-static void shix_init(ram_addr_t ram_size,
-               const char *boot_device,
-              const char *kernel_filename, const char *kernel_cmdline,
-              const char *initrd_filename, const char *cpu_model)
+static void shix_init(QEMUMachineInitArgs *args)
 {
+    const char *cpu_model = args->cpu_model;
     int ret;
-    CPUState *env;
+    CPUSH4State *env;
     struct SH7750State *s;
     MemoryRegion *sysmem = get_system_memory();
     MemoryRegion *rom = g_new(MemoryRegion, 1);
@@ -94,6 +92,7 @@ static QEMUMachine shix_machine = {
     .desc = "shix card",
     .init = shix_init,
     .is_default = 1,
+    DEFAULT_MACHINE_OPTIONS,
 };
 
 static void shix_machine_init(void)
This page took 0.020864 seconds and 4 git commands to generate.