mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
* Compat machines fix (Denis)
* Command line parsing fixes (Michal, Peter, Xiaoyao) * Cooperlake CPU model fixes (Xiaoyao) * i386 gdb fix (mkdolata) * IOEventHandler cleanup (Philippe) * icount fix (Pavel) * RR support for random number sources (Pavel) * Kconfig fixes (Philippe) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJeFbG8AAoJEL/70l94x66DCpMIAKBwxBL+VegqI+ySKgmtIBQX LtU+ardEeZ37VfWfvuWzTFe+zQ0hsFpz/e0LHE7Ae+LVLMNWXixlmMrTIm+Xs762 hJzxBjhUhkdrMioVYTY16Kqap4Nqaxu70gDQ32Ve2sY6xYGxYLSaJooBOU5bXVgb HPspHFVpeP6ZshBd1n2LXsgURE6v3AjTwqcsPCkL/AESFdkdOsoHeXjyKWJG1oPy W7btzlUEqVsauZI8/PhhW/8hZUvUsJVHonYLTZTyy8aklU7aOILSyT2uPXFBVUVQ irkQjLtD4dWlogBKO4i/QHMuwV+Asa57WNPmqv3EcIWPUWmTY84H0g2AxRgcc2M= =48jx -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging * Compat machines fix (Denis) * Command line parsing fixes (Michal, Peter, Xiaoyao) * Cooperlake CPU model fixes (Xiaoyao) * i386 gdb fix (mkdolata) * IOEventHandler cleanup (Philippe) * icount fix (Pavel) * RR support for random number sources (Pavel) * Kconfig fixes (Philippe) # gpg: Signature made Wed 08 Jan 2020 10:41:00 GMT # gpg: using RSA key BFFBD25F78C7AE83 # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * remotes/bonzini/tags/for-upstream: (38 commits) chardev: Use QEMUChrEvent enum in IOEventHandler typedef chardev: use QEMUChrEvent instead of int chardev/char: Explicit we ignore some QEMUChrEvent in IOEventHandler monitor/hmp: Explicit we ignore a QEMUChrEvent in IOEventHandler monitor/qmp: Explicit we ignore few QEMUChrEvent in IOEventHandler virtio-console: Explicit we ignore some QEMUChrEvent in IOEventHandler vhost-user-blk: Explicit we ignore few QEMUChrEvent in IOEventHandler vhost-user-net: Explicit we ignore few QEMUChrEvent in IOEventHandler vhost-user-crypto: Explicit we ignore some QEMUChrEvent in IOEventHandler ccid-card-passthru: Explicit we ignore QEMUChrEvent in IOEventHandler hw/usb/redirect: Explicit we ignore few QEMUChrEvent in IOEventHandler hw/usb/dev-serial: Explicit we ignore few QEMUChrEvent in IOEventHandler hw/char/terminal3270: Explicit ignored QEMUChrEvent in IOEventHandler hw/ipmi: Explicit we ignore some QEMUChrEvent in IOEventHandler hw/ipmi: Remove unnecessary declarations target/i386: Add missed features to Cooperlake CPU model target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES target/i386: Fix handling of k_gs_base register in 32-bit mode in gdbstub hw/rtc/mc146818: Add missing dependency on ISA Bus hw/nvram/Kconfig: Restrict CHRP NVRAM to machines using OpenBIOS or SLOF ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
b952544fe8
74 changed files with 315 additions and 90 deletions
|
@ -348,7 +348,7 @@ static void uart_receive(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
CadenceUARTState *s = opaque;
|
||||
uint8_t buf = '\0';
|
||||
|
|
|
@ -131,7 +131,7 @@ static void uart_rx(void *opaque, const uint8_t *buf, int size)
|
|||
s->reg_rx = *buf;
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -634,7 +634,7 @@ static void serial_receive1(void *opaque, const uint8_t *buf, int size)
|
|||
serial_receive_byte(s, buf[0]);
|
||||
}
|
||||
|
||||
static void serial_event(void *opaque, int event)
|
||||
static void serial_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
ESCCChannelState *s = opaque;
|
||||
if (event == CHR_EVENT_BREAK)
|
||||
|
|
|
@ -202,7 +202,7 @@ static int serial_can_receive(void *opaque)
|
|||
return sizeof(s->rx_fifo) - s->rx_fifo_len;
|
||||
}
|
||||
|
||||
static void serial_event(void *opaque, int event)
|
||||
static void serial_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -528,7 +528,7 @@ static void exynos4210_uart_receive(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
|
||||
|
||||
static void exynos4210_uart_event(void *opaque, int event)
|
||||
static void exynos4210_uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
Exynos4210UartState *s = (Exynos4210UartState *)opaque;
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ static void grlib_apbuart_receive(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
}
|
||||
|
||||
static void grlib_apbuart_event(void *opaque, int event)
|
||||
static void grlib_apbuart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
trace_grlib_apbuart_event(event);
|
||||
}
|
||||
|
|
|
@ -323,7 +323,7 @@ static void imx_receive(void *opaque, const uint8_t *buf, int size)
|
|||
imx_put_data(opaque, *buf);
|
||||
}
|
||||
|
||||
static void imx_event(void *opaque, int event)
|
||||
static void imx_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
if (event == CHR_EVENT_BREAK) {
|
||||
imx_put_data(opaque, URXD_BRK | URXD_FRMERR | URXD_ERR);
|
||||
|
|
|
@ -503,7 +503,7 @@ static void hostdev_receive(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
}
|
||||
|
||||
static void hostdev_event(void *opaque, int event)
|
||||
static void hostdev_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
SCC2698Channel *ch = opaque;
|
||||
switch (event) {
|
||||
|
|
|
@ -104,7 +104,7 @@ static int juart_can_rx(void *opaque)
|
|||
return !(s->jrx & JRX_FULL);
|
||||
}
|
||||
|
||||
static void juart_event(void *opaque, int event)
|
||||
static void juart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ static int uart_can_rx(void *opaque)
|
|||
return !(s->regs[R_LSR] & LSR_DR);
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -256,7 +256,7 @@ static void mcf_uart_push_byte(mcf_uart_state *s, uint8_t data)
|
|||
mcf_uart_update(s);
|
||||
}
|
||||
|
||||
static void mcf_uart_event(void *opaque, int event)
|
||||
static void mcf_uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
mcf_uart_state *s = (mcf_uart_state *)opaque;
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ static int uart_can_rx(void *opaque)
|
|||
return !(s->regs[R_STAT] & STAT_RX_EVT);
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@ static int uart_can_receive(void *opaque)
|
|||
return s->rx_started ? (UART_FIFO_LENGTH - s->rx_fifo_len) : 0;
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
NRF51UARTState *s = NRF51_UART(opaque);
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@ static void pl011_receive(void *opaque, const uint8_t *buf, int size)
|
|||
pl011_put_fifo(opaque, *buf);
|
||||
}
|
||||
|
||||
static void pl011_event(void *opaque, int event)
|
||||
static void pl011_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
if (event == CHR_EVENT_BREAK)
|
||||
pl011_put_fifo(opaque, 0x400);
|
||||
|
|
|
@ -635,7 +635,7 @@ static void serial_receive1(void *opaque, const uint8_t *buf, int size)
|
|||
serial_update_irq(s);
|
||||
}
|
||||
|
||||
static void serial_event(void *opaque, int event)
|
||||
static void serial_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
SerialState *s = opaque;
|
||||
DPRINTF("event %x\n", event);
|
||||
|
|
|
@ -358,7 +358,7 @@ static void sh_serial_receive1(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
}
|
||||
|
||||
static void sh_serial_event(void *opaque, int event)
|
||||
static void sh_serial_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
sh_serial_state *s = opaque;
|
||||
if (event == CHR_EVENT_BREAK)
|
||||
|
|
|
@ -142,7 +142,7 @@ static void terminal_read(void *opaque, const uint8_t *buf, int size)
|
|||
}
|
||||
}
|
||||
|
||||
static void chr_event(void *opaque, int event)
|
||||
static void chr_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
Terminal3270 *t = opaque;
|
||||
CcwDevice *ccw_dev = CCW_DEVICE(t);
|
||||
|
@ -166,6 +166,11 @@ static void chr_event(void *opaque, int event)
|
|||
sch->curr_status.scsw.dstat = SCSW_DSTAT_DEVICE_END;
|
||||
css_conditional_io_interrupt(sch);
|
||||
break;
|
||||
case CHR_EVENT_BREAK:
|
||||
case CHR_EVENT_MUX_IN:
|
||||
case CHR_EVENT_MUX_OUT:
|
||||
/* Ignore */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ static void chr_read(void *opaque, const uint8_t *buf, int size)
|
|||
virtio_serial_write(port, buf, size);
|
||||
}
|
||||
|
||||
static void chr_event(void *opaque, int event)
|
||||
static void chr_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
VirtConsole *vcon = opaque;
|
||||
VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon);
|
||||
|
@ -162,6 +162,11 @@ static void chr_event(void *opaque, int event)
|
|||
}
|
||||
virtio_serial_close(port);
|
||||
break;
|
||||
case CHR_EVENT_BREAK:
|
||||
case CHR_EVENT_MUX_IN:
|
||||
case CHR_EVENT_MUX_OUT:
|
||||
/* Ignore */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ static int uart_can_rx(void *opaque)
|
|||
return s->rx_fifo_len < sizeof(s->rx_fifo);
|
||||
}
|
||||
|
||||
static void uart_event(void *opaque, int event)
|
||||
static void uart_event(void *opaque, QEMUChrEvent event)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue