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
18 Nov, 2008
17 commits
  • 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 Dir »
  • 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 File »
  • 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
7 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 »
  • copyright & license for qemu_sockets.c (Gerd Hoffman) ...
    305b0eb2
    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@5714 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-13 16:19:54 +0000  
    Browse Code »

12 Nov, 2008
7 commits
  • Fix brown-paper-bag bugs from live-migration patch (Charles Duffy) ...
    8ad9fa5d
    In TCP migration, prevent an endless loop trying to retrieve error status. In
    exec migration, set the close pointer in the FdMigrationState structure.
    
    Color me embarrassed.
    
    Signed-off-by: Charles Duffy <charles_duffy@messageone.com> 
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5713 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-12 22:29:11 +0000  
    Browse Code »
  • Rename hz to hertz to keep AIX happy ...
    c310de86
    The issue was first noticed/addressed by Laurent Vivier in his QEMU on
    AIX patches.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5712 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:27 +0000  
    Browse Dir »
  • Rename misnamed BACK_CHAIN_OFFSET to LR_OFFSET ...
    2946898b
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5711 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:24 +0000  
    Browse File »
  • Avoid compiler warning ...
    8421d9e5
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5710 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-11-12 20:36:21 +0000  
    Browse Dir »
  • Don't use "hz" in identifiers to make AIX happy. ...
    b0f74c87
    malc found AIX headers leak "hz" and so it can't be used there.  Change
    the occurences in hw/.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5709 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 17:36:08 +0000  
    Browse Code »
  • Include <strings.h> for ffs(). ...
    c8906845
    ffs() is in <strings.h> although bsd compatible systems have it in
    <string.h> already.  ffs() is used in omap1.c, omap2.c, omap_i2c.c,
    bt-sdp.c.  These uses can be replaced with clz32() but ffs is more
    available.  Problem was spotted by malc.
    
    Make host-utils.h formatting more consistent.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5708 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 17:18:41 +0000  
    Browse Code »
  • r5531 made x509 certs not loadable (original patch from Henrik Holst). ...
    be351261
    The patch in r5531 which replaced a bunch of strncpy with pstrcpy causes
    the x509 credentials from the -vnc parameter to be one character shorter
    than entered meaning that there is currently no way to enter x509
    certificates...
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5707 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 16:50:36 +0000  
    Browse Code »