aboutsummaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
AgeCommit message (Expand)AuthorFilesLines
2014-09-25cpu-exec: Do CPU_INTERRUPT_HALT unconditionallyRichard Henderson1-5/+0
2014-09-25target-i386: Use cpu_exec_interrupt qom hookRichard Henderson1-64/+0
2014-09-25target-ppc: Use cpu_exec_interrupt qom hookRichard Henderson1-8/+0
2014-09-25target-lm32: Use cpu_exec_interrupt qom hookRichard Henderson1-7/+0
2014-09-25target-microblaze: Use cpu_exec_interrupt qom hookRichard Henderson1-9/+0
2014-09-25target-mips: Use cpu_exec_interrupt qom hookRichard Henderson1-9/+0
2014-09-25target-tricore: Remove the dummy interrupt boilerplateRichard Henderson1-5/+0
2014-09-25target-openrisc: Use cpu_exec_interrupt qom hookRichard Henderson1-18/+0
2014-09-25target-sparc: Use cpu_exec_interrupt qom hookRichard Henderson1-16/+0
2014-09-25target-arm: Use cpu_exec_interrupt qom hookRichard Henderson1-23/+0
2014-09-25target-unicore32: Use cpu_exec_interrupt qom hookRichard Henderson1-7/+0
2014-09-25target-sh4: Use cpu_exec_interrupt qom hookRichard Henderson1-5/+0
2014-09-25target-alpha: Use cpu_exec_interrupt qom hookRichard Henderson1-32/+0
2014-09-25target-cris: Use cpu_exec_interrupt qom hookRichard Henderson1-21/+0
2014-09-25target-m68k: Use cpu_exec_interrupt qom hookRichard Henderson1-13/+0
2014-09-25target-s390x: Use cpu_exec_interrupt qom hookRichard Henderson1-6/+0
2014-09-25target-xtensa: Use cpu_exec_interrupt qom hookRichard Henderson1-6/+0
2014-09-25qom: Add cpu_exec_interrupt hookRichard Henderson1-5/+9
2014-09-25target-ppc: Use cpu_exec_enter qom hookRichard Henderson1-3/+0
2014-09-25target-m68k: Use cpu_exec_enter/exit qom hooksRichard Henderson1-12/+1
2014-09-25target-i386: Use cpu_exec_enter/exit qom hooksRichard Henderson1-12/+2
2014-09-25cpu-exec: Remove do-nothing ifdef chainsRichard Henderson1-32/+0
2014-09-25qom: Add cpu_exec_enter and cpu_exec_exit hooksRichard Henderson1-7/+2
2014-09-12cpu-exec: Make debug_excp_handler a QOM CPU methodPeter Maydell1-10/+3
2014-09-12cpu-exec.c: Allow disabling of IRQs on ARM Cortex-M CPUsDavid Hoover1-2/+2
2014-09-01target-tricore: Add target stubs and qom-cpuBastian Koppelmann1-1/+10
2014-08-12trace: add some tcg tracing supportAlex Bennée1-0/+6
2014-08-07monitor: Add drift info to 'info jit'Sebastian Tanase1-0/+6
2014-08-06cpu-exec: Print to console if the guest is lateSebastian Tanase1-1/+32
2014-08-06cpu-exec: Add sleeping algorithmSebastian Tanase1-0/+79
2014-05-13cpu: make CPU_INTERRUPT_RESET available on all targetsPaolo Bonzini1-10/+13
2014-04-04cpu-exec: Unlock tb_lock if we longjmp out of code generationPeter Maydell1-0/+8
2014-03-13cpu-exec: Change cpu_resume_from_signal() argument to CPUStateAndreas Färber1-3/+1
2014-03-13translate-all: Change tb_gen_code() argument to CPUStateAndreas Färber1-2/+2
2014-03-13cpu-exec: Change cpu_loop_exit() argument to CPUStateAndreas Färber1-8/+6
2014-03-13cpu: Move watchpoint fields from CPU_COMMON to CPUStateAndreas Färber1-2/+3
2014-03-13cpu: Move exception_index field from CPU_COMMON to CPUStateAndreas Färber1-25/+25
2014-03-13cpu: Move jmp_env field from CPU_COMMON to CPUStateAndreas Färber1-3/+5
2014-03-13cpu: Move tb_jmp_cache field from CPU_COMMON to CPUStateAndreas Färber1-2/+4
2014-03-13cpu: Move icount_decr field from CPU_COMMON to CPUStateAndreas Färber1-2/+2
2014-03-13cpu: Move icount_extra field from CPU_COMMON to CPUStateAndreas Färber1-5/+5
2014-03-13cpu: Turn cpu_has_work() into a CPUClass hookAndreas Färber1-5/+0
2014-02-26target-arm: Store AIF bits in env->pstate for AArch32Peter Maydell1-2/+2
2014-02-11exec: Make ldl_*_phys input an AddressSpaceEdgar E. Iglesias1-1/+4
2014-01-10Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into stagingAnthony Liguori1-4/+10
2014-01-07exec: Delay CPU_LOG_TB_CPU until we actually execute a TBRichard Henderson1-17/+19
2013-12-24cpu-exec: Optimize X86CPU usage in cpu_exec()Andreas Färber1-4/+10
2013-12-23target-i386: Move apic_state field from CPUX86State to X86CPUChen Fan1-1/+1
2013-10-07cpu-exec: Also reload CPUClass *cc after longjmp return in cpu_exec()Juergen Lock1-0/+4
2013-09-02tcg: Fix next_tb type in cpu_execRichard Henderson1-1/+1
2013-09-02tcg: Change tcg_qemu_tb_exec return to uintptr_tRichard Henderson1-1/+1
2013-07-23cpu: Move singlestep_enabled field from CPU_COMMON to CPUStateAndreas Färber1-1/+1
2013-07-23cpu: Introduce CPUClass::synchronize_from_tb() for cpu_pc_from_tb()Andreas Färber1-1/+7
2013-07-09log: Change log_cpu_state[_mask]() argument to CPUStateAndreas Färber1-3/+3
2013-07-09target-i386: Change do_smm_enter() argument to X86CPUAndreas Färber1-1/+1
2013-07-09cpu: Replace cpu_single_env with CPUState current_cpuAndreas Färber1-6/+7
2013-06-15target-i386/helper: remove DF macroliguang1-2/+2
2013-04-13Merge branch 'mingw' of git://qemu.weilnetz.de/qemuAurelien Jarno1-0/+8
2013-04-12Ensure good ordering of memory instruction in cpu_execOlivier Hainque1-0/+8
2013-04-12cpu-exec: Allow "-d exec" in non-debug builds (drop CONFIG_DEBUG_EXEC)Peter Maydell1-9/+6
2013-03-23target-i386: Don't modify env->eflags around cpu_dump_stateRichard Henderson1-3/+0
2013-03-23Add top level changes for moxieAnthony Green1-0/+2
2013-03-12cpu: Replace do_interrupt() by CPUClass::do_interrupt methodAndreas Färber1-16/+20
2013-03-12cpu: Move halted and interrupt_request fields to CPUStateAndreas Färber1-16/+18
2013-03-03Handle CPU interrupts by inline checking of a flagPeter Maydell1-1/+24
2013-03-03cpu-exec: wrap tcg_qemu_tb_exec() in a fn to restore the PCPeter Maydell1-11/+18
2013-03-03tcg: Document tcg_qemu_tb_exec() and provide constants for low bit usesPeter Maydell1-4/+5
2013-02-23Replace all setjmp()/longjmp() with sigsetjmp()/siglongjmp()Peter Maydell1-3/+3
2013-02-16cpu: Move current_tb field to CPUStateAndreas Färber1-5/+8
2013-02-16cpu: Move exit_request field to CPUStateAndreas Färber1-4/+4
2013-02-16TCG: Move translation block variables to new context inside tcg_ctx: tb_ctxEvgeny Voevodin1-10/+8
2012-12-19softmmu: move include files to include/sysemu/Paolo Bonzini1-1/+1
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-1/+1
2012-12-19build: kill libdis, move disassemblers to disas/Paolo Bonzini1-1/+1
2012-10-31cpus: Pass CPUState to [qemu_]cpu_has_work()Andreas Färber1-5/+3
2012-10-05cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to genericPeter Maydell1-1/+1
2012-08-27Revert "i8259: add -no-spurious-interrupt-hack option"malc1-9/+5
2012-08-24i8259: add -no-spurious-interrupt-hack optionMatthew Ogilvie1-5/+9
2012-08-11unicore32-softmmu: Make UniCore32 cpuid & exceptions correct and runableGuan Xuetao1-0/+1
2012-08-09Merge branch 'x86cpu_qom_tcg_v2' of git://github.com/imammedo/qemuBlue Swirl1-4/+1
2012-07-27target-or32: Add interrupt supportJia Liu1-0/+17
2012-07-27target-or32: Add target stubs and QOM cpuJia Liu1-0/+2
2012-07-10apic: Defer interrupt updates to VCPU threadJan Kiszka1-0/+6
2012-06-28x86: avoid AREG0 for exceptionsBlue Swirl1-4/+8
2012-06-25cleanup cpu_set_debug_excp_handlerIgor Mammedov1-4/+1
2012-06-15cris: Fix NMI-flag handling on crisv10.Lars Persson1-5/+12
2012-06-04cpu-exec: Use cpu_reset() in cpu_exec() for TARGET_PPCAndreas Färber1-1/+4
2012-06-04target-i386: Pass X86CPU to do_cpu_{init,sipi}()Andreas Färber1-2/+2
2012-04-15cpu-exec: Remove non-portable type cast and fix format stringStefan Weil1-2/+2
2012-03-30qtest: add test frameworkAnthony Liguori1-0/+1
2012-03-17w64: Fix data type of next_tb and tcg_qemu_tb_execStefan Weil1-3/+3
2012-03-14Rename CPUState -> CPUArchStateAndreas Färber1-8/+8
2012-03-14Rename cpu_reset() to cpu_state_reset()Andreas Färber1-1/+1
2012-03-14PPC: 405: Use proper CPU resetAlexander Graf1-2/+0
2012-02-10cpu-exec.c: Correct comment about this file and indentation cleanup陳韋任1-5/+5
2011-10-06PPC: Fix sync instructions problem in SMPElie Richa1-0/+1
2011-09-10target-xtensa: implement exceptionsMax Filippov1-0/+6
2011-09-10target-xtensa: add target stubsMax Filippov1-0/+2
2011-09-10cpu-exec: remove unnecessary assignmentBlue Swirl1-2/+3
2011-07-12tcg: Reload local variables after return from longjmpJan Kiszka1-0/+4
2011-06-26cpu-exec.c: avoid AREG0 useBlue Swirl1-54/+20
2011-06-26exec.h: fix coding style and change cpu_has_work to return boolBlue Swirl1-1/+1
2011-06-26cpu-exec: unify do_interrupt callBlue Swirl1-26/+0
2011-06-26m68k: use caller supplied CPUState for interrupt related stuffBlue Swirl1-2/+2
2011-06-26x86: use caller supplied CPUState for interrupt related stuffBlue Swirl1-26/+15
2011-06-26cpu_loop_exit: avoid using AREG0Blue Swirl1-8/+8
2011-06-20Remove unneeded kvm.h from cpu-exec.cJan Kiszka1-1/+0
2011-05-31target-alpha: Disable interrupts properly.Richard Henderson1-3/+30
2011-05-28Move user emulator stuff from cpu-exec.c to user-exec.cBlue Swirl1-655/+0
2011-05-28cpu-exec: prepare for user and softmmu splitBlue Swirl1-131/+172
2011-05-22Delete unused tb_invalidate_page_rangeBlue Swirl1-13/+0
2011-05-12Merge remote-tracking branch 'stefanha/trivial-patches' into stagingAnthony Liguori1-2/+2
2011-05-08target-sparc: Do not check CPU_INTERRUPT_TIMER.Richard Henderson1-3/+0
2011-05-08irq: Introduce and use CPU_INTERRUPT_SSTEP_MASK.Richard Henderson1-4/+1
2011-05-08Fix typos in comments and code (occured -> occurred and related)Stefan Weil1-1/+1
2011-05-08Fix typos in comments (interupt -> interrupt)Stefan Weil1-1/+1
2011-04-20Remove unused function parameter from cpu_restore_stateStefan Weil1-1/+1
2011-04-18s390x: Enable s390x-softmmu targetAlexander Graf1-0/+8
2011-04-12unicore32: necessary modifications for other files to support unicore32Guan Xuetao1-1/+11
2011-03-15x86: Unbreak TCG support for hardware breakpointsJan Kiszka1-0/+27
2011-03-13inline cpu_halted into sole callerPaolo Bonzini1-2/+7
2011-03-07LatticeMico32 target supportMichael Walle1-1/+12
2011-02-14kvm: Separate TCG from KVM cpu executionJan Kiszka1-13/+6
2011-02-14Move debug exception handling out of cpu_execJan Kiszka1-24/+0
2010-12-27target-mips: fix host CPU consumption when guest is idleAurelien Jarno1-5/+1
2010-12-05Speedup 'tb_find_slow' by using the same heuristic as during memory page lookupKirill Batuzov1-0/+6
2010-08-06mips: Add support for VInt and VEIC irq modesEdgar E. Iglesias1-1/+1
2010-07-22Fix cpu_exit for tcp_cpu_execJan Kiszka1-2/+1
2010-07-22Fix cpu_unlink_tb raceJan Kiszka1-3/+4
2010-07-22Introduce proper compiler barrierJan Kiszka1-2/+3
2010-06-11tcg-s390: Compute is_write in cpu_signal_handler.Richard Henderson1-3/+39
2010-05-11make SIG_IPI to tcg vcpu thread reliableMarcelo Tosatti1-0/+7
2010-05-05Enable -d cpu logging by default.Richard Henderson1-19/+3
2010-04-08tcg-hppa: Compute is_write in cpu_signal_handler.Richard Henderson1-7/+31
2010-04-01linux-user/ia64: workaround ia64 strangenessesAurelien Jarno1-1/+5
2010-03-12Add tb_page_addr_tPaul Brook1-3/+4
2010-02-23declare saved_env_reg as volatilePaolo Bonzini1-1/+1
2010-02-22Merge remote branch 'qemu-kvm/uq/master' into stagingAnthony Liguori1-5/+7
2010-02-21kvm: Fix eflags corruption in kvm modeJan Kiszka1-5/+7
2010-02-20Add FreeBSD/ppc host ucontext definitions.Juergen Lock1-0/+18
2010-02-18get rid of hostregs_helper.hPaolo Bonzini1-6/+9
2010-02-15cris: Prepare for CRISv10.Edgar E. Iglesias1-1/+2
2010-01-19avoid unreachable statement after breakPaolo Bonzini1-1/+1
2010-01-19remove assertionsPaolo Bonzini1-4/+0
2010-01-19change while to ifPaolo Bonzini1-7/+3
2010-01-19add assertions about env->current_tbPaolo Bonzini1-1/+5
2010-01-19clean up env->current_tbPaolo Bonzini1-0/+2
2010-01-19fix wrong indentationPaolo Bonzini1-3/+1
2010-01-19kill regs_to_env and env_to_regsPaolo Bonzini1-9/+0
2010-01-08sparc64: interrupt trap handlingIgor V. Kovalenko1-14/+14
2009-12-05S/390 CPU fake emulationAlexander Graf1-0/+2
2009-11-07PPC: rename cpu_ppc_reset to cpu_reset for consistencyBlue Swirl1-1/+1
2009-10-18bsd-user: FreeBSD updateJuergen Lock1-2/+25
2009-09-12Fix sys-queue.h conflict for goodBlue Swirl1-1/+1
2009-08-24cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signalNathan Froyd1-409/+6
2009-08-24Unbreak large mem support by removing kqemuAnthony Liguori1-37/+1
2009-08-22sparc32 remove an unnecessary cpu irq setBlue Swirl1-3/+0
2009-07-27rename DEBUG_EXEC to CONFIG_DEBUG_EXECJuan Quintela1-3/+3
2009-07-27change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION}Juan Quintela1-5/+5
2009-07-16Update to a hopefully more future proof FSF addressBlue Swirl1-2/+1
2009-07-12sparc64: trap handling correctionsIgor Kovalenko1-2/+2
2009-07-09QEMU: MCE: Add MCE simulation to qemu/tcgHuang Ying1-0/+4
2009-06-22Handle init/sipi in a main cpu exec loop. (v2)Gleb Natapov1-1/+8
2009-05-26microblaze: linux-user support.Edgar E. Iglesias1-1/+67
2009-04-25Recognize V9 stores and CAS accesses as writesBlue Swirl1-0/+12
2009-04-24qemu: per-arch cpu_has_work (Marcelo Tosatti)aliguori1-0/+5
2009-04-19kqemu: merge CONFIG_KQEMU and USE_KQEMUblueswir11-3/+3
2009-04-10BSD user: add support for OpenBSD/amd64 hostblueswir11-11/+19
2009-04-10BSD user: add support for OpenBSD/i386 hostblueswir11-1/+12
2009-04-04Make i386-softmmu boot on Sparc hostblueswir11-0/+10
2009-03-16Delete some unused macros detected with -Wp,-Wunused-macros useblueswir11-1/+0
2009-03-06Fix race condition on access to env->interrupt_requestaurel321-8/+8
2009-01-15global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost)aliguori1-1/+1
2009-01-15Convert references to logfile/loglevel to use qemu_log*() macrosaliguori1-19/+14
2009-01-14Get rid of user_mode_onlyaurel321-2/+4
2009-01-14Remove all traces of __powerpc__malc1-1/+1
2009-01-04Update FSF address in GPL/LGPL boilerplateaurel321-1/+1
2008-12-20Fix remaining compiler warnings for mips targets.ths1-1/+1
2008-12-19When -icount is used and a TB is recompiled due to an IO access pbrook1-0/+1
2008-12-13target-i386: SVM: acknowledge interrupt only after it is takenaurel321-1/+1
2008-12-11target-ppc: rework exception codeaurel321-1/+1
2008-12-05Attached patch make cpu-exec.c compile on NetBSD.blueswir11-4/+19
2008-11-25Use sys-queue.h for break/watchpoint managment (Jan Kiszka)aliguori1-1/+1
2008-11-22target-ppc: convert exceptions generation to TCGaurel321-1/+1
2008-11-18Add debug exception hook (Jan Kiszka)aliguori1-0/+13
2008-11-18Introduce BP_WATCHPOINT_HIT flag (Jan Kiszka)aliguori1-0/+11
2008-11-18Refactor translation block CPU state handling (Jan Kiszka)aliguori1-61/+2
2008-11-18Convert CPU_PC_FROM_TB to static inline (Jan Kiszka)aliguori1-2/+2
2008-11-17TCG variable type checking.pbrook1-3/+3
2008-11-10KVM: simplify kvm_cpu_exec hookaliguori1-10/+2
2008-11-06Fix interrupt exclusion via SSTEP_NOIRQmalc1-2/+8
2008-11-06Remove unused reg_T2 definitionaurel321-4/+0
2008-11-05Add KVM support to QEMUaliguori1-0/+14
2008-11-04Add safety net against potential infinite loopmalc1-0/+8
2008-10-26Preliminary BSD user emulator supportblueswir11-0/+16
2008-10-07CRIS: Fix brk 8 and add S-flag emulation.edgar_igl1-1/+1
2008-09-15SH4: Privilege check for instructionsaurel321-1/+4
2008-07-17Support for address maskingblueswir11-2/+3
2008-07-08Fix r4641 (invalid token "=<" in a preprocessor expression)blueswir11-1/+1
2008-07-03Convert remaining __builtin_expect to likely/unlikely, by Jan Kiszka.ths1-3/+3