diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-05-19 15:29:14 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-26 20:42:52 +0200 |
| commit | f334bb2562dafbdc4ce673e5811bc9880758b147 (patch) | |
| tree | e57ae1cd5080007af370f6ab5f603b82654e75a2 /hw/net/virtio-net.c | |
| parent | 0319ad22bd5789e1eaa8a2dd5773db2d2c372f20 (diff) | |
| download | focaccia-qemu-f334bb2562dafbdc4ce673e5811bc9880758b147.tar.gz focaccia-qemu-f334bb2562dafbdc4ce673e5811bc9880758b147.zip | |
target/m68k: introduce is_singlestepping() function
The m68k translator currently checks the DisasContextBase singlestep_enabled boolean directly to determine whether to single-step execution. Soon single-stepping may also be triggered by setting the appropriate bits in the SR register so centralise the check into a single is_singlestepping() function. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210519142917.16693-2-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions