mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
SH: Implement MOVCO.L and MOVLI.L
* target-sh4/cpu.h (struct CPUSH4State): New field ldst. * target-sh4/translate.c (cpu_ldst): New. (sh4_translate_init): Initialize cpu_ldst. (_decode_opc): Support MOVCO.L and MOVLI.L. (Vladimir Prus) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6666 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c7eb95e118
commit
66c7c80657
2 changed files with 36 additions and 1 deletions
|
@ -140,6 +140,8 @@ typedef struct CPUSH4State {
|
|||
uint32_t prr; /* Processor Revision Register */
|
||||
uint32_t cvr; /* Cache Version Register */
|
||||
|
||||
uint32_t ldst;
|
||||
|
||||
CPU_COMMON tlb_t utlb[UTLB_SIZE]; /* unified translation table */
|
||||
tlb_t itlb[ITLB_SIZE]; /* instruction translation table */
|
||||
void *intc_handle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue