Merging...
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 9 Jul 2013 05:23:01 +0000 (14:23 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 9 Jul 2013 05:23:01 +0000 (14:23 +0900)
Change-Id: I9446bb9dc49d36b9f07a05ff12fadc8d45a48884
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/hw/maru_board.c
tizen/src/hw/maru_overlay.c
tizen/src/hw/maru_pm.c

index 8f52d0f..4f0c116 100644 (file)
@@ -178,7 +178,8 @@ static void maru_x86_machine_init(MemoryRegion *system_memory,
     MemoryRegion *rom_memory;
     void *fw_cfg = NULL;
 
-    pc_cpus_init(cpu_model);
+// FIXME: merge
+//    pc_cpus_init(cpu_model);
 
     if (kvmclock_enabled) {
         kvmclock_create();
@@ -233,7 +234,7 @@ static void maru_x86_machine_init(MemoryRegion *system_memory,
                               below_4g_mem_size,
                               0x100000000ULL - below_4g_mem_size,
                               0x100000000ULL + above_4g_mem_size,
-                              (sizeof(target_phys_addr_t) == 4
+                              (sizeof(hwaddr) == 4
                                ? 0
                                : ((uint64_t)1 << 62)),
                               pci_memory, ram_memory);
index 7072f58..f7ffa46 100644 (file)
@@ -30,8 +30,8 @@
  *
  */
 
-#include "pc.h"
-#include "pci.h"
+#include "hw/i386/pc.h"
+#include "hw/pci/pci.h"
 #include "maru_device_ids.h"
 #include "maru_overlay.h"
 #include "debug_ch.h"
@@ -74,7 +74,7 @@ typedef struct OverlayState {
 
 
 static uint64_t overlay_reg_read(void *opaque,
-                                 target_phys_addr_t addr,
+                                 hwaddr addr,
                                  unsigned size)
 {
     switch (addr) {
@@ -115,7 +115,7 @@ static uint64_t overlay_reg_read(void *opaque,
 }
 
 static void overlay_reg_write(void *opaque,
-                              target_phys_addr_t addr,
+                              hwaddr addr,
                               uint64_t val,
                               unsigned size)
 {
index d1d29f4..9eb9786 100644 (file)
  */
 
 #include "maru_pm.h"
-#include "hw.h"
-#include "pc.h"
-#include "apm.h"
-#include "pm_smbus.h"
-#include "pci.h"
-#include "acpi.h"
-#include "sysemu.h"
-#include "range.h"
-#include "ioport.h"
+#include "hw/hw.h"
+#include "hw/i386/pc.h"
+#include "hw/isa/apm.h"
+#include "hw/i2c/pm_smbus.h"
+#include "hw/pci/pci.h"
+#include "hw/acpi/acpi.h"
+#include "sysemu/sysemu.h"
+#include "qemu/range.h"
+#include "exec/ioport.h"
 #include "debug_ch.h"
-#include "fw_cfg.h"
+#include "hw/nvram/fw_cfg.h"
 
 
 //#define DEBUG