1. 05 4月, 2012 27 次提交
  2. 04 4月, 2012 3 次提交
  3. 03 4月, 2012 4 次提交
  4. 02 4月, 2012 6 次提交
    • A
      Merge remote-tracking branch 'kiszka/queues/slirp' into staging · cefc8988
      Anthony Liguori 提交于
      * kiszka/queues/slirp:
        slirp: Signal free input buffer space to io-thread
        w32/slirp: Undefine error constants before their redefinition
        slirp: use socket_set_nonblock
        slirp: clean up conflicts with system headers
      cefc8988
    • A
      Merge remote-tracking branch 'stefanha/tracing' into staging · aba8e41e
      Anthony Liguori 提交于
      * stefanha/tracing:
        tracetool: dtrace: handle in and next reserved words
        tracetool: dtrace disabled-events fix
        Makefile.target: code stp dependency on trace-events
      aba8e41e
    • A
      serial: clear LSR.TEMT when populating the TSR · dfe844c9
      Anthony Liguori 提交于
      We never actually clear the TEMT (transmit sending register empty) flag when
      populating the TSR.  We set the flag, but since it's never cleared, setting it
      is sort of pointless..
      
      I found this with a unit test case.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      dfe844c9
    • A
      serial: fix retry logic · 67c5322d
      Anthony Liguori 提交于
      I'm not sure if the retry logic has ever worked when not using FIFO mode.  I
      found this while writing a test case although code inspection confirms it is
      definitely broken.
      
      The TSR retry logic will never actually happen because it is guarded by an
      'if (s->tsr_rety > 0)' but this is the only place that can ever make the
      variable greater than zero.  That effectively makes the retry logic an 'if (0)'.
      
      I believe this is a typo and the intention was >= 0.  Once this is fixed though,
      I see double transmits with my test case.  This is because in the non FIFO
      case, serial_xmit may get invoked while LSR.THRE is still high because the
      character was processed but the retransmit timer was still active.
      
      We can handle this by simply checking for LSR.THRE and returning early.  It's
      possible that the FIFO paths also need some attention.
      
      Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      67c5322d
    • A
      qtest: use qemu_gettimeofday() · 6e92466a
      Anthony Liguori 提交于
      On linux, qemu_timeval will always be two long ints.  On windows, we use our
      own struct definition.  This should fix win64.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6e92466a
    • M
      milkymist-vgafb: add missing register · a3b6181e
      Michael Walle 提交于
      This bug existed since the first commit. Fortunately, the affected
      registers have no functionality in qemu. This will only prevent the
      following warning:
        milkymist_vgafb: write access to unknown register 0x00000034
      Signed-off-by: NMichael Walle <michael@walle.cc>
      a3b6181e