summary refs log tree commit diff stats
path: root/hw/i2c/microbit_i2c.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@linux.ibm.com>2019-02-28 19:57:58 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2019-03-12 14:33:04 +1100
commit468e3a1a9495bdbf679b1344de7e390e90696a56 (patch)
tree42daab4b8ec42e2760578d37c7180324652c33d7 /hw/i2c/microbit_i2c.c
parent2cbd158131e5a5e392417fb4511075a5d2af1bdd (diff)
downloadfocaccia-qemu-468e3a1a9495bdbf679b1344de7e390e90696a56.tar.gz
focaccia-qemu-468e3a1a9495bdbf679b1344de7e390e90696a56.zip
target/ppc: Refactor kvm_handle_debug
There are four scenarios being handled in this function:

- single stepping
- hardware breakpoints
- software breakpoints
- fallback (no debug supported)

A future patch will add code to handle specific single step and
software breakpoints cases so let's split each scenario into its own
function now to avoid hurting readability.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20190228225759.21328-5-farosas@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/i2c/microbit_i2c.c')
0 files changed, 0 insertions, 0 deletions