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
19 Nov, 2008
4 commits
  • target-ppc: convert fp ops to TCG ...
    af12906f
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5754 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-19 16:10:23 +0000  
    Browse File »
  • kvm: de-register mem region for MMIO (Glauber Costa) ...
    a3d6841f
    Besides unassigned memory, we also don't care about MMIO.
    So if we're giving an MMIO area that is already registered,
    wipe it out.
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5753 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-19 15:09:54 +0000  
    Browse File »
  • Fix media detection on emulated CDROM (Gary Grebus) ...
    d5b4eb40
    This patch tweaks the ATAPI CDROM emulation to fix an annoyance seen
    when running a variety of Linux guests: the desktop GUI shows a CDROM
    device as present, but is unable to automount the media and display its
    contents.
    
    The patch adds the PLAY_AUDIO capability bit to the data returned by
    MODE_SENSE commands.  That convinces the guest kernel to determine what
    kind of media is present.
    
    Arguably Linux could be smarter about this, but it's my guess there are
    few (if any) hardware CDROM drives that don't set the bit, and there are
    a large number of Linux distros that exhibit this problem.
    
    Signed-off-by: Gary Grebus <ggrebus@virtualiron.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5752 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-19 15:03:36 +0000  
    Browse Code »
  • Only force inlining when optimizing. ...
    3dec6ecd
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5751 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-11-19 01:31:52 +0000  
    Browse Code »

18 Nov, 2008
21 commits
  • Add 40-bit DMA support to LSI scsi emulation (Ryan Harper) ...
    b25cf589
    This patch fixes Linux machines configured with > 4G of ram and using a
    SCSI device.
    
    Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5750 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 22:00:43 +0000  
    Browse Code »
  • Fix Windows build ...
    426cd5d6
    ENOBUFS is not defined on Win32.  Use ENOMEM instead which is more portable.
    
    This was reported by Hervé Poussineau.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5749 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 21:52:54 +0000  
    Browse Code »
  • x86: Dump debug registers (Jan Kiszka) ...
    a59cb4e0
    As the debug registers are no longer dummies, let's include their
    current state into the 'info registers' output and other register dumps.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5748 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 21:09:47 +0000  
    Browse Dir »
  • x86: Debug register emulation (Jan Kiszka) ...
    01df040b
    Built on top of previously enhanced breakpoint/watchpoint support, this
    patch adds full debug register emulation for the x86 architecture.
    
    Many corner cases were considered, and the result was successfully
    tested inside a Linux guest with gdb, but I won't be surprised if one
    or two scenarios still behave differently in reality.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5747 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 21:08:15 +0000  
    Browse Code »
  • Introduce BP_CPU as a breakpoint type (Jan Kiszka) ...
    2dc9f411
    Add another breakpoint/watchpoint type to BP_GDB: BP_CPU. This type is
    intended for hardware-assisted break/watchpoint emulations like the x86
    architecture requires.
    
    To keep the highest priority for BP_GDB breakpoints, this type is
    always inserted at the head of break/watchpoint lists, thus is found
    first when looking up the origin of a debug interruption.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5746 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:56:59 +0000  
    Browse File »
  • Add debug exception hook (Jan Kiszka) ...
    dde2367e
    This patch allows to hook into the delivery of EXCP_DEBUG so that other
    use beyond guest debugging becomes possible.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5745 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:50:36 +0000  
    Browse Code »
  • Introduce BP_WATCHPOINT_HIT flag (Jan Kiszka) ...
    6e140f28
    When one watchpoint is hit, others might have triggered as well. To
    support users of the watchpoint API which need to detect such cases,
    the BP_WATCHPOINT_HIT flag is introduced and maintained.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5744 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:37:55 +0000  
    Browse File »
  • gdbstub: manage CPUs as threads (Jan Kiszka) ...
    880a7578
    This patch enhances QEMU's built-in debugger for SMP guest debugging.
    Using the thread support of the gdb remote protocol, each VCPU is mapped
    on a pseudo thread and exposed to the gdb frontend. This way you can
    easy switch the focus of gdb between the VCPUs and observe their states.
    On breakpoint hit, the focus is automatically adjusted just as for
    normal multi-threaded application under gdb control.
    
    Furthermore, the patch propagates breakpoint and watchpoint insertions
    or removals to all CPUs, not just the current one as it was the case so
    far. Without this, SMP guest debugging was practically unfeasible.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5743 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:30:24 +0000  
    Browse File »
  • Remove premature memop TB terminations (Jan Kiszka) ...
    bfa50bc2
    Now that we can properly restore the pc on watchpoint hits, there is no
    more need for prematurely terminating TBs if watchpoints are present.
    Remove all related bits.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5742 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:26:41 +0000  
    Browse Dir »
  • Restore pc on watchpoint hits (Jan Kiszka) ...
    06d55cc1
    In order to provide accurate information about the triggering
    instruction, this patch adds the required bits to restore the pc if the
    access happened inside a TB. With the BP_STOP_BEFORE_ACCESS flag, the
    watchpoint user can control if the debug trap should be issued on or
    after the accessing instruction.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5741 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:24:06 +0000  
    Browse Code »
  • Respect length of watchpoints (Jan Kiszka) ...
    b4051334
    This adds length support for watchpoints. To keep things simple, only
    aligned watchpoints are accepted.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5740 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:14:20 +0000  
    Browse Code »
  • Set mem_io_vaddr on io_read (Jan Kiszka) ...
    db8886d3
    Analogously to write accesses, we have to save the memory address also
    on read accesses in order to support read watchpoints.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5739 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:09:43 +0000  
    Browse Code »
  • Refactor and enhance break/watchpoint API (Jan Kiszka) ...
    a1d1bb31
    This patch prepares the QEMU cpu_watchpoint/breakpoint API to allow the
    succeeding enhancements this series comes with.
    
    First of all, it overcomes MAX_BREAKPOINTS/MAX_WATCHPOINTS by switching
    to dynamically allocated data structures that are kept in linked lists.
    This also allows to return a stable reference to the related objects,
    required for later introduced x86 debug register support.
    
    Breakpoints and watchpoints are stored with their full information set
    and an additional flag field that makes them easily extensible for use
    beyond pure guest debugging.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5738 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 20:07:32 +0000  
    Browse Dir »
  • gdbstub: Return appropriate watch message to gdb (Jan Kiszka) ...
    d6fc1b39
    Return the appropriate type prefix (r, a, none) when reporting
    watchpoint hits to the gdb front-end.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5737 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 19:55:44 +0000  
    Browse Code »
  • Refactor translation block CPU state handling (Jan Kiszka) ...
    6b917547
    This patch refactors the way the CPU state is handled that is associated
    with a TB. The basic motivation is to move more arch specific code out
    of generic files. Specifically the long #ifdef clutter in tb_find_fast()
    has to be overcome in order to avoid duplicating it for the gdb
    watchpoint fixes (patch "Restore pc on watchpoint hits").
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5736 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 19:46:41 +0000  
    Browse File »
  • Convert CPU_PC_FROM_TB to static inline (Jan Kiszka) ...
    622ed360
    as macros should be avoided when possible.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5735 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 19:36:03 +0000  
    Browse File »
  • Make KVM slot management more robust ...
    62d60e8c
    KVM keeps track of physical memory based on slots in the kernel.  The current
    code that translates QEMU memory mappings to slots work but is not robust
    in the fact of reregistering partial regions of memory.
    
    This patch does the right thing for reregistering partial regions of memory.  It
    also prevents QEMU from using KVM private slots.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5734 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-18 15:41:18 +0000  
    Browse File »
  • target-ppc: fix regression introduced by commit 5729 ...
    87006d13
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5733 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-18 09:32:01 +0000  
    Browse Code »
  • Preliminary AIX support ...
    b29fe3ed
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5732 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-18 01:42:22 +0000  
    Browse Dir »
  • AIX's assembler does not support local labels, use relative addressing instead ...
    14f87098
    (Laurent Vivier)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5731 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-18 01:42:17 +0000  
    Browse Code »
  • Use qemu_memalign instead of memalign in qemu_vmalloc ...
    48253bd8
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5730 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-18 01:42:15 +0000  
    Browse File »

17 Nov, 2008
1 commit
  • TCG variable type checking. ...
    a7812ae4
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5729 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2008-11-17 14:43:54 +0000  
    Browse Dir »

16 Nov, 2008
5 commits
  • target-i386: fix helper_pmovmskb_mmx helper ...
    30913bae
    (malc)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5728 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-16 19:15:15 +0000  
    Browse Dir »
  • Attached patch fixes a series of this warning ...
    cd390083
    when compiling on NetBSD:
    
    warning: array subscript has type 'char'
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5727 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-16 13:53:32 +0000  
    Browse Dir »
  • Use correct trap for syscalls on Sparc32 ...
    77b9435f
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5726 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-16 11:38:43 +0000  
    Browse Dir »
  • Fix warnings caused by timer_t, it is 32 bits on Sparc64 ...
    0399bfe0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5725 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-16 11:37:18 +0000  
    Browse Code »
  • Fix no_frame unused warning when SDL is disabled ...
    634a21f6
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5724 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-16 11:34:07 +0000  
    Browse Code »

15 Nov, 2008
1 commit
  • target-mips: avoid tcg internal error in mfc0/dmfc0 ...
    da80682b
    Set t0 to 0 for unimplemented mfc0/dmfc0 instructions. This fixes a tcg
    internal error while booting mips linux.
    
    Noticed by Julia Longtin.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5723 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-15 12:12:08 +0000  
    Browse Code »

14 Nov, 2008
2 commits
  • target-alpha: implement getxuid and getxgid syscalls ...
    64b4d28c
    This patch implemented the setxuid and setxgid syscalls for Alpha.
    These syscalls return two values, both uid/euid and gid/egid.
    In addition to returning the first value in $v0, the additional
    value is returned in the $a4 register.
    
    The syscalls are used instead of the separate syscalls for those values
    used on other architectures (this is probably because Alpha Linux started
    out syscall compatible with DEC/OSF/Tru64).
    
    With this patch, the perlbmk benchmarks from Spec2000 run properly.
    
    (Vince Weaver)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5722 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-14 17:20:15 +0000  
    Browse File »
  • ppc-linux-user: handle EXCP_DEBUG ...
    71f75756
    Replace POWERPC_EXCP_DEBUG by EXCP_DEBUG as the former can not happen in
    user mode emulation, while the later can happen and should be handled.
    
    Noticed by Andrew Stubbs.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5721 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-14 17:05:54 +0000  
    Browse Code »

13 Nov, 2008
6 commits
  • ETRAX-FS: Don't schedule DMA processing without active channels. ...
    1ab5f75c
    Avoid scheduling DMA processing when all channels are stopped or at
    end-of-list.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5720 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-13 21:33:08 +0000  
    Browse Dir »
  • ETRAX-FS: Fix a segfault if pflash drive not found. ...
    9eee9a5d
    drive_get_index() returns -1 if a drive isn't found; don't
    use -1 to index drives_table.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5719 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-13 21:10:25 +0000  
    Browse Dir »
  • x86: fix warning without CONFIG_KVM (Mark McLoughlin) ...
    10781c09
    Warning is:
    
     target-i386/helper.c: In function `cpu_x86_cpuid':
     target-i386/helper.c:1373: warning: implicit declaration of function `host_cpuid'
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5718 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:37:46 +0000  
    Browse Dir »
  • Fix CPUID ext2 features masking (Avi Kivity) ...
    57003085
    Typo. Exposes rdtscp which kills some guests.
    
    Signed-off-by: Avi Kivity <avi@redhat.com> 
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5717 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:28:04 +0000  
    Browse Dir »
  • block: make raw aio signaling non-blocking (Gerd Hoffman) ...
    e20e830b
    This patch switches the read handle of the signaling pipe into
    non-blocking mode.  This avoids unwanted blocking reads and also
    allows to read all bytes out of the signaling pipe in case we got
    signaled more that once before the handler ran.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5716 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:23:17 +0000  
    Browse File »
  • Define kvm_ioctl in the same way as ioctl ...
    984b5181
    The third argument to ioctl is a ... which allows any value to be passed.  In
    practice, glibc always treats the argument as a void *.
    
    Do the same thing for the kvm ioctls to keep things consistent with a
    traditional ioctl.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5715 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 19:21:00 +0000  
    Browse Code »