mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
cris-boot: Pass CRISCPU to cris_load_image()
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
ddeb9ae5fa
commit
5935664fc0
3 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue