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
10 Nov, 2008
5 commits
  • target-ppc: convert most SPE integer instructions to TCG ...
    57951c27
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5668 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-10 11:10:23 +0000  
    Browse File »
  • target-alpha: fix cmpbge instruction ...
    970d622e
    The cmpbge instruction should compare all 8 bytes of one 64-bit value with
    another.  However, we were looping with a < 7 condition which was skipping
    the top byte.  So if we were doing a compare where the top byte was
    important, we could get the wrong result (this notably breaks the strlen()
    function with certain sized strings).
    
    (Vince Weaver)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5667 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-10 11:10:14 +0000  
    Browse Dir »
  • use target_mmap() to allocate idt, gdt and ldt (Kirill A. Shutemov). ...
    e441570f
    env->*dt.base should fit target address space, so we should use
    target_mmap to allocate them.
    
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5666 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-10 02:55:33 +0000  
    Browse Code »
  • Currently trying to turn an oversized directory into a VVFAT image will ...
    8ce0f869
    result in a cryptic error (and an abort):
      qemu: block-vvfat.c:97: array_get: Assertion `index < array->next' failed.
      Aborted
    
    Turn this into an actually useful error message:
      Directory does not fit in FAT16 (capacity 504MB)
      qemu: could not open disk image fat:$DIR/
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5665 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-10 01:34:27 +0000  
    Browse Code »
  • x86 CPUID extended family/model (Andre Przywara). ...
    59795a1f
    x86 CPUs feature extended family/model bits in CPUID leaf
    0000_0001|EAX. Refer to page 10 in:
    http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25481.pdf
    
    Those bits are necessary to model newer AMD CPUs:
    -cpu qemu64,family=15,model=65,stepping=3 or
    -cpu qemu64,family=16,model=4,stepping=2
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5664 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-10 01:05:01 +0000  
    Browse Code »

09 Nov, 2008
12 commits
  • Use TCG not op ...
    2576d836
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5663 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-09 19:52:36 +0000  
    Browse File »
  • Use andc, orc, nor and nand ...
    81b5b816
    Also fix which argument gets negated in fandnot[12] and fornot[12]
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5662 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-09 19:50:37 +0000  
    Browse File »
  • target-ppc: fix TCG argument ...
    741a7444
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5661 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 18:27:28 +0000  
    Browse Code »
  • target-ppc: Remove a few TCG temp variable leaks ...
    a9730017
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5660 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 17:27:36 +0000  
    Browse Code »
  • target-ppc: fixes for gen_op_neg() ...
    ec6469a3
    - Rename to gen_op_arith_neg for consistency with other functions.
    - Correctly free TCG temp variable.
    - Fix the return value in 64-bit mode in case of overflow.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5659 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 17:27:27 +0000  
    Browse Code »
  • target-ppc: gen_op_arith_divw() & gen_op_arith_divd fixes ...
    2ef1b120
    gen_op_arith_divw():
    - "deoptimize" gen_op_arith_divw to make it more readable.
    - Correctly free TCG temp variable
    
    gen_op_arith_divd():
    - Call the right function.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5658 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-09 17:27:19 +0000  
    Browse Code »
  • 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
9 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 »