qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: illegal hardware instruction during MIPS-I ELF linux useremulation


From: Libo Zhou
Subject: Re: illegal hardware instruction during MIPS-I ELF linux useremulation
Date: Fri, 27 Sep 2019 16:59:25 +0800

> > +{
> > +    .name = "MyCPU",
> > +    .insn_flags = CPU_MIPS1 | INSN_MYCPU,
> > +},
> > ...
> > I just need to simulate it's instruction set in linux user emulation, I 
> > didn't include CP0* items in the list. Is this good enough to add a new CPU 
> > model?

> Something like that might be acceptable for linux-user.
> You should at least set CP0_PRid/Config0/Status_mask.

> Look at this patch where Aleksandar accepted the R5900 CPU:
> https://git.qemu.org/?p=qemu.git;a=commitdiff;h=ed4f49ba9bb56

> Can you share what is your CPU?

It's working now. When I put the -cpu flag at the end of the command line, my 
cpu was not recognized.

Thanks,
Libo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]