summary refs log tree commit diff stats
path: root/hw/cris-boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cris-boot.c')
-rw-r--r--hw/cris-boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cris-boot.c b/hw/cris-boot.c
index ade517dd25..ca6c52fa8e 100644
--- a/hw/cris-boot.c
+++ b/hw/cris-boot.c
@@ -29,7 +29,7 @@
 
 static void main_cpu_reset(void *opaque)
 {
-    CPUState *env = opaque;
+    CPUCRISState *env = opaque;
     struct cris_load_info *li;
 
     li = env->load_info;
@@ -60,7 +60,7 @@ static uint64_t translate_kernel_address(void *opaque, uint64_t addr)
     return addr - 0x80000000LL;
 }
 
-void cris_load_image(CPUState *env, struct cris_load_info *li)
+void cris_load_image(CPUCRISState *env, struct cris_load_info *li)
 {
     uint64_t entry, high;
     int kcmdline_len;