qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 77cb0f: Split adb.c into adb.c, adb-mouse.c a


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 77cb0f: Split adb.c into adb.c, adb-mouse.c and adb-kbd.c
Date: Fri, 22 Dec 2017 04:24:56 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 77cb0f5aafc8e6d0c6d3c339f381c9b7921648e0
      
https://github.com/qemu/qemu/commit/77cb0f5aafc8e6d0c6d3c339f381c9b7921648e0
  Author: Laurent Vivier <address@hidden>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M hw/input/Makefile.objs
    A hw/input/adb-internal.h
    A hw/input/adb-kbd.c
    A hw/input/adb-mouse.c
    M hw/input/adb.c
    M hw/input/trace-events

  Log Message:
  -----------
  Split adb.c into adb.c, adb-mouse.c and adb-kbd.c

It makes the code clearer to separate the bus implementation
from the devices one.

Replace ADB_DPRINTF() with trace events (and adding new ones in adb-kbd.c).
Some minor changes to make checkpatch.pl happy.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Mark Cave-Ayland <address@hidden>
Message-Id: <address@hidden>


  Commit: 5f63f6ab50b7c70bb8af8e0bd515ea14129c7aaa
      
https://github.com/qemu/qemu/commit/5f63f6ab50b7c70bb8af8e0bd515ea14129c7aaa
  Author: Laurent Vivier <address@hidden>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: remove unused variable gen_throws_exception

It has been introduced by e6e5906b6e ("ColdFire target."),
but the content is never used.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>


  Commit: cea066821c75a533536bcbc6d79db07f2e0432f4
      
https://github.com/qemu/qemu/commit/cea066821c75a533536bcbc6d79db07f2e0432f4
  Author: Laurent Vivier <address@hidden>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M target/m68k/Makefile.objs
    A target/m68k/monitor.c

  Log Message:
  -----------
  target/m68k: add monitor.c

This allows to use registers content in the monitor.

Example:

 BEFORE:
  (qemu) print $d0
  unknown register

 AFTER:
  (qemu) print $d0
  0
  (qemu) print $sr
  0x2000
  (qemu) x/10i $pc
  0x40010a2a:  movew %sr,%d0
  0x40010a2c:  oril #1792,%d0
  0x40010a32:  movew %d0,%sr
  0x40010a34:  movel %a0@,%d0
  0x40010a36:  btst #3,%d0
  0x40010a3a:  beqs 0x40010a26
  0x40010a3c:  movew %sr,%d0
  0x40010a3e:  andil #63743,%d0
  0x40010a44:  movew %d0,%sr
  0x40010a46:  rts

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>


  Commit: 7deddf96e94f3e1eb3677db0ea7b53e61751b544
      
https://github.com/qemu/qemu/commit/7deddf96e94f3e1eb3677db0ea7b53e61751b544
  Author: Laurent Vivier <address@hidden>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M target/m68k/cpu.h
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: fix set_cc_op()

The first call of set_cc_op() in a new translation sequence
is done with old_op set to CC_OP_DYNAMIC (-1).

This will do an out of bound access to the array cc_op_live[].

We fix that by adding an entry in cc_op_live[] for CC_OP_DYNAMIC.

Reported-by: Thomas Huth <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>


  Commit: 598a29f3606c4c7042a1ca3f1116663d0a60867c
      
https://github.com/qemu/qemu/commit/598a29f3606c4c7042a1ca3f1116663d0a60867c
  Author: Thomas Huth <address@hidden>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M tests/Makefile.include
    M tests/boot-serial-test.c

  Log Message:
  -----------
  tests/boot-serial-test: Add support for the mcf5208evb board

We can output a character quite easily here with some few lines of
assembly that we provide as a mini-kernel for this board.

Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
[lv: add boot-serial-test in check-qtest-m68k]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 281f327487c9c9b1599f93c589a408bbf4a651b8
      
https://github.com/qemu/qemu/commit/281f327487c9c9b1599f93c589a408bbf4a651b8
  Author: Peter Maydell <address@hidden>
  Date:   2017-12-22 (Fri, 22 Dec 2017)

  Changed paths:
    M hw/input/Makefile.objs
    A hw/input/adb-internal.h
    A hw/input/adb-kbd.c
    A hw/input/adb-mouse.c
    M hw/input/adb.c
    M hw/input/trace-events
    M target/m68k/Makefile.objs
    M target/m68k/cpu.h
    A target/m68k/monitor.c
    M target/m68k/translate.c
    M tests/Makefile.include
    M tests/boot-serial-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/vivier/tags/m68k-for-2.12-pull-request' 
into staging

# gpg: Signature made Thu 21 Dec 2017 19:35:00 GMT
# gpg:                using RSA key 0xF30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier/tags/m68k-for-2.12-pull-request:
  tests/boot-serial-test: Add support for the mcf5208evb board
  target/m68k: fix set_cc_op()
  target/m68k: add monitor.c
  target/m68k: remove unused variable gen_throws_exception
  Split adb.c into adb.c, adb-mouse.c and adb-kbd.c

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/43ab9a5376c9...281f327487c9

reply via email to

[Prev in Thread] Current Thread [Next in Thread]