Sign in

gwj / at91sam9263 · Commits

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • Commits 8,232
  • Compare
  • Branches 2
  • Tags 0
  • at91sam9263
09 Nov, 2008
6 commits
  • target-ppc: optimize mullw and make the code more readable ...
    1e4c090f
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5657 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 17:27:11 +0000  
    Browse Code »
  • target-ppc: indentation fixes ...
    bdc4e053
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5656 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 17:27:03 +0000  
    Browse Code »
  • Sparc32 BSD user support ...
    53939066
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5655 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-09 09:31:37 +0000  
    Browse Dir »
  • Document bluetooth support in qemu-doc. ...
    2d564691
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5654 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-09 02:24:54 +0000  
    Browse Code »
  • Add qemu_strndup: qemu_strdup with length limit. ...
    ac4b0d0c
    Also optimise qemu_strdup by using memcpy - using pstrcpy is usually 
    suboptimal.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5653 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-09 00:28:40 +0000  
    Browse File »
  • Add the -bt switch for setting up bluetooth stuff. ...
    dc72ac14
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5652 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-09 00:04:26 +0000  
    Browse Code »

08 Nov, 2008
4 commits
  • Revert r5532, r5536 and a piece of r5531. ...
    793a10a2
    The use of strncat and strndup was correct, pstrcpy and pstrdup wasn't.
    I'll try to restore building on non-gnu OSes in a later commit.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5651 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-08 23:57:26 +0000  
    Browse File »
  • Use an option rom instead of boot sector for -kernel ...
    4fc9af53
    Generate an option rom instead of using a hijacked boot sector for kernel
    booting.  This just requires adding a small option ROM header and a few more
    instructions to the boot sector to take over the int19 vector and run our
    boot code.
    
    A disk is no longer needed when using -kernel on x86.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5650 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-08 16:27:07 +0000  
    Browse File »
  • target-alpha: fix the return value of stl_c/stq_c ...
    6223246a
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5649 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-08 09:10:39 +0000  
    Browse File »
  • target-ppc: fix tcg fatal error on i386 host ...
    4870167d
    It looks like the i386 runs out of registers for allocation due
    to too many global registers allocated by the ppc target.
    
    Here is a quick and dirty fix that seems to solve the problem.
    This should be considered as temporary.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5648 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-08 08:57:45 +0000  
    Browse Code »

07 Nov, 2008
4 commits
  • Use the right format string to printf sector num with DEBUG_IDE. ...
    18c5f8ea
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5647 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-07 23:05:14 +0000  
    Browse File »
  • Fix some build issues for BSD. ...
    24646c7e
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5646 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-07 16:55:48 +0000  
    Browse Code »
  • target-alpha: fix locked loads/stores ...
    57a92c8e
    Fix reading of cpu_lock in gen_qemu_stql_c, original patch from Laurent
    Desnogues.
    
    A new flag was added to gen_store_mem to allocate local temps instead
    of temps;  this flag should be set when the tcg_gen_qemu_store callback
    uses brcond before using the temps or else liveness analysis will get
    rid of the temps.
    
    This also adds lock printing in cpu_dump_state which can help
    debug.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5645 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-07 14:00:24 +0000  
    Browse Code »
  • target-ppc: fix flags computation for tcg_gen_qemu_st ...
    e32ad5c2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5644 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-07 13:48:25 +0000  
    Browse Code »

06 Nov, 2008
6 commits
  • Fix interrupt exclusion via SSTEP_NOIRQ ...
    e1638bd8
    Commit #5620 revealed an issue of the SSTEP_NOIRQ masking that was
    applied on all interrupt sources (including internal ones) when single
    stepping through the guest. Due to that commit, we now ended up in an
    infinite loop when CPU_INTERRUPT_EXIT was pending on SSTEP resume. That
    was due to #5620 eating all TBs while CPU_INTERRUPT_EXIT is pending, but
    SSTEP_NOIRQ preventing CPU_INTERRUPT_EXIT to be processed.
    
    What SSTEP_NOIRQ should actually do is to block the delivery of all
    external, guest visible interrupts. With the fix below applied, single
    stepping now works again.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5643 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-06 18:54:46 +0000  
    Browse Code »
  • User qemu profiling ...
    6d946cda
    - Makefile.target:  re-enable profiling for user qemu.  It seems
      profiling was (accidently?) removed by commit 3937
    
    - syscall.c:
        * add an include to get _mcleanup prototype
        * add a call to _mcleanup for exit_group in a way
          similar to what is done for exit
    
    (Laurent Desnogues)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5642 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-06 16:15:18 +0000  
    Browse Dir »
  • Remove unused reg_T2 definition ...
    afec1122
    No longer used, remove it.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5641 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-06 16:15:08 +0000  
    Browse Code »
  • Make sure to resume the monitor only after flushing out outstanding ...
    825a4929
    network traffic.
    
    This was bug was reported by Chris Lalancette.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5640 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-06 15:30:22 +0000  
    Browse File »
  • Win32: Fix warnings ...
    978d5d73
    Attached patch fixes some warnings which only happen on Windows.
    
    Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5639 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-06 09:38:51 +0000  
    Browse Code »
  • target-alpha: Fix ret instruction ...
    1304ca87
    Hopefully pine doesn't corrupt this patch, I've had problems recently.
    
    For an alpha "ret" instruction, of the type
         ret $26
    
    The return was being ignored.  This is because in translate.c
    register $26 (the return address) was being over-written with the current
    PC before it could be jumped to.  Thus the ret was ignored.
    
    This patch just re-orders things so the return address is processed before
    it is over-written with the current PC.
    
    (Vince Weaver)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5638 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-06 09:16:57 +0000  
    Browse Code »

05 Nov, 2008
13 commits
  • Fix windows build after init_host_timer changes. ...
    f49e58dc
    host_alarm_timer fires in a separate thread.  The windows build current
    uses SetEvent() and WaitEvent() to then notify the main thread.  This is
    functionally equivalent to what we're doing in Unix with pipe().  So let's
    just #ifdef the pipe() code on Windows since it doesn't build there anyway.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5637 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 21:22:34 +0000  
    Browse Code »
  • Run timers from host alarm timer callback ...
    5bec1d1d
    This further cleans up the main loop getting it a lot closer to what a main
    loop should be.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5636 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 21:04:35 +0000  
    Browse Code »
  • Use qemu_set_fd_handler2() to determine when alarm timer fires. ...
    6abfbd79
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5635 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 20:49:37 +0000  
    Browse Code »
  • Improve error reporting in init_timer_alarm ...
    7183b4b4
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5634 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 20:40:18 +0000  
    Browse Code »
  • Fix alarm_timer race with select - v3 (Jan Kiszka) ...
    c96f1a48
    Changing the default IO timeout to 5 s (#5578) made a race visible
    between the alarm_timer and select() in main_loop_wait(): If the timer
    fired before select was able to block, the full select() timeout could
    have been applied instead of returning immediately. Since #5578, this
    causes heavy problems to the Musicpal board emulation with stalls up to
    5 s, but also with some older Linux guest kernels.
    
    The following patch introduces a pipe that is written to by
    host_alarm_handler and select()'ed in main_loop_wait(). This avoids
    prevents that select() blocks though a timer has fired and waits for
    processing.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5633 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 20:29:45 +0000  
    Browse Code »
  • SM501 emulation for R2D-SH4 ...
    ffd39257
    This patch adds minimum emulation of SM501 multifunction device,
    whose main feature is 2D graphics.  It is one of the peripheral
    of R2D, the SH4 evaluation board.  We can see TUX printed on the
    QEMU console.
    
    Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5632 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-05 20:24:35 +0000  
    Browse Code »
  • Allow KVM to be used on either 32-bit or 64-bit x86 ...
    5985ecee
    Inspired by a patch from Glauber Costa.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5631 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 19:59:25 +0000  
    Browse Code »
  • Use qemu_ram_alloc ...
    5c6602c5
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5630 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-05 19:25:39 +0000  
    Browse Dir »
  • Add missing files to KVM commit. ...
    05330448
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5629 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 16:29:27 +0000  
    Browse Dir »
  • Add --kerneldir configure argument ...
    eac30262
    This allows a user to override the default search path and also makes cross
    compilation work a bit nicer wrt KVM detection.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5628 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 16:28:56 +0000  
    Browse File »
  • Add KVM support to QEMU ...
    7ba1e619
    This patch adds very basic KVM support.  KVM is a kernel module for Linux that
    allows userspace programs to make use of hardware virtualization support.  It
    current supports x86 hardware virtualization using Intel VT-x or AMD-V.  It
    also supports IA64 VT-i, PPC 440, and S390.
    
    This patch only implements the bare minimum support to get a guest booting.  It
    has very little impact the rest of QEMU and attempts to integrate nicely with
    the rest of QEMU.
    
    Even though this implementation is basic, it is significantly faster than TCG.
    Booting and shutting down a Linux guest:
    
    w/TCG:  1:32.36 elapsed  84% CPU
    
    w/KVM:  0:31.14 elapsed  59% CPU
    
    Right now, KVM is disabled by default and must be explicitly enabled with
     -enable-kvm.  We can enable it by default later when we have had better
    testing.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5627 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 16:04:33 +0000  
    Browse Code »
  • Split CPUID from op_helper ...
    6fd805e1
    KVM needs to call CPUID from outside of the TCG code.  This patch
    splits out the CPUID logic into a separate helper that both the op
    helper and KVM can call.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5626 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 15:34:06 +0000  
    Browse Dir »
  • Add additional CPU flag definitions ...
    0650f1ab
    Some x86 CPU definitions that KVM needs
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5625 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-05 15:28:47 +0000  
    Browse Code »

04 Nov, 2008
7 commits
  • ETRAX-FS: Make etraxfs_dmac_run local. ...
    2c99f725
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5624 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-04 20:29:29 +0000  
    Browse File »
  • Set default audio timer period to a sane value (otherwise qemu becomes unusable … ...
    d64394f7
    …if -icount N is specified)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5623 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-04 19:15:37 +0000  
    Browse Dir »
  • target-mips: use the new rotr/rotri instructions ...
    e00fcff7
    Acked-by: Thiemo Seufer <ths@networkno.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5622 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-04 19:13:47 +0000  
    Browse Dir »
  • ETRAX-FS: Fix DMA warnings. ...
    ea0f49a7
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5621 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-04 19:02:00 +0000  
    Browse Code »
  • Add safety net against potential infinite loop ...
    55e8b85e
    cpu_interrupt might be called while translating the TB, but before it
    is linked into a potentially infinite loop and becomes env->current_tb.
    
    Currently this can (and does) cause huge problems only when using
    dyntick clock, with other (periodic) clocks host_alarm_handler will
    eventually be executed resulting in a call to cpu_interrupt which will
    reset the recursion of running TB and the damage is "only" latency.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5620 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-04 14:18:13 +0000  
    Browse Code »
  • Mention output overlaps. ...
    0c5f3c8d
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5619 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-11-04 13:17:17 +0000  
    Browse Dir »
  • Fix ARM default NaN. ...
    9027db89
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5618 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-11-04 12:33:21 +0000  
    Browse Dir »