aboutsummaryrefslogtreecommitdiff
path: root/hw/cris-boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cris-boot.c')
-rw-r--r--hw/cris-boot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/cris-boot.c b/hw/cris-boot.c
index ca6c52fa8e..331b2d1d89 100644
--- a/hw/cris-boot.c
+++ b/hw/cris-boot.c
@@ -60,8 +60,9 @@ static uint64_t translate_kernel_address(void *opaque, uint64_t addr)
return addr - 0x80000000LL;
}
-void cris_load_image(CPUCRISState *env, struct cris_load_info *li)
+void cris_load_image(CRISCPU *cpu, struct cris_load_info *li)
{
+ CPUCRISState *env = &cpu->env;
uint64_t entry, high;
int kcmdline_len;
int image_size;