mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
PL110 versatile register hack fix (Adam Lackorzynski).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3036 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e735b91cd4
commit
64075cd76a
1 changed files with 4 additions and 0 deletions
|
@ -302,8 +302,12 @@ static uint32_t pl110_read(void *opaque, target_phys_addr_t offset)
|
|||
case 5: /* LCDLPBASE */
|
||||
return s->lpbase;
|
||||
case 6: /* LCDIMSC */
|
||||
if (s->versatile)
|
||||
return s->cr;
|
||||
return s->int_mask;
|
||||
case 7: /* LCDControl */
|
||||
if (s->versatile)
|
||||
return s->int_mask;
|
||||
return s->cr;
|
||||
case 8: /* LCDRIS */
|
||||
return s->int_status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue