mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
Handle read-modify-write i/o with icount
-----BEGIN PGP SIGNATURE----- iQEcBAABAgAGBQJazUOrAAoJEGTfOOivfiFf9IkIALqO7vtUL5Oj6rs0M0OCpG3Q VEWw/2xxLdfEorijWN/UcSft2uxoEZbpK2bmkvmj9RoxKbXAwt2Vh9j4ANuPJM81 e4k61aOG3MTMzpwZ5kFvaT0ixAcPylVyi9u7JZNNbOhSetUqAOcPd7m6qhoFMKfs W+8J4KZsJj9OT2I/X71QI6TfrVzmiMlTtzyhFTYxPr+UiTfADBuw/tDBpEQTJYVE ooTZJEQMR4B1MkvFU9s6Q5WIVRF0dxwqtfdmCRzUBFWY1Yz5ZJoQl34RBT3/mBHk WOaty6jICooEgKPmpECxLYBCS9gUqH1nt2SpCHCvgnVhX7o+beAyrLXYGGCKRhE= =J6yr -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180411' into staging Handle read-modify-write i/o with icount # gpg: Signature made Wed 11 Apr 2018 00:07:23 BST # gpg: using RSA key 64DF38E8AF7E215F # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * remotes/rth/tags/pull-tcg-20180411: icount: fix cpu_restore_state_from_tb for non-tb-exit cases Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
6523eaca37
17 changed files with 45 additions and 45 deletions
|
@ -174,10 +174,9 @@ static void wake_blocked_threads(ITCStorageCell *c)
|
|||
static void QEMU_NORETURN block_thread_and_exit(ITCStorageCell *c)
|
||||
{
|
||||
c->blocked_threads |= 1ULL << current_cpu->cpu_index;
|
||||
cpu_restore_state(current_cpu, current_cpu->mem_io_pc);
|
||||
current_cpu->halted = 1;
|
||||
current_cpu->exception_index = EXCP_HLT;
|
||||
cpu_loop_exit(current_cpu);
|
||||
cpu_loop_exit_restore(current_cpu, current_cpu->mem_io_pc);
|
||||
}
|
||||
|
||||
/* ITC Bypass View */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue