Re: [PATCH v2 1/2] hw/mips/mipssim: Use MMIO serial device on fake ISA I/O

2020-09-12 Thread Paolo Bonzini
On 07/09/20 03:15, Philippe Mathieu-Daudé wrote: > TYPE_SERIAL_IO is a superset of TYPE_SERIAL_MM, using > regshift=0 and endianness=DEVICE_LITTLE_ENDIAN. *subset*. :) Queued the patch, thanks. Paolo > Directly use the TYPE_SERIAL_MM device, enforcing the > regshift/endianness values. 'regshif

[PATCH v2 1/2] hw/mips/mipssim: Use MMIO serial device on fake ISA I/O

2020-09-06 Thread Philippe Mathieu-Daudé
The 'mipssim' is not a real hardware, it is a simulator. There is an ISA MMIO space mapped at 0x1fd0, however this is not a real ISA bus (no ISA IRQ). So can not use the TYPE_ISA_SERIAL device... Instead we have been using a plain MMIO device, but named it IO. TYPE_SERIAL_IO is a superset of