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
9 commits
  • 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 Code »
  • 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 File »
  • 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
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
10 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 »
  • Implement LSI53C895A quirks exposed by OpenServer (Justin Chevrier). ...
    9167a69a
    After going through the debug log and scratching my head for quite some
    time. I found the following:
    
    The problem was with this block move:
    
    lsi_scsi: SCRIPTS dsp=0fae8e50 opcode 01000028 arg 00f63c40
    lsi_scsi: DMA addr=0x00f63c40 len=36
    
    The number of bytes to be transferred (len) should be 40 which corresponds
    to the block transfer of length 0x28 (from opcode 01000028). Instead we
    have a length of 36 (0x24). The code responsible for this is (in
    'lsi_do_dma'):
    
    if (count > s->current_dma_len)
       count = s->current_dma_len;
    
    Basically we're overwriting the length 40 with the value 36 which I
    think we just left over in that variable from an earlier transfer. In my
    patch below I initialize s->current_dma_len to s->dbc before we begin
    the DMA transfer during Data In phase.
    
    The attached patch gets Openserver 5.0.5 past the hardware detection
    (and it lists the hard drive to boot, woohoo). It appears to stop a
    little while later (doesn't seem SCSI related), but it's been so long since
    I've booted Openserver I'm not sure what's supposted to happen after the HW
    detection using the boot/root disks.
    
    Props go to Craig Ringer for the initial post and the code that he posted
    some of which is in this patch.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5706 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-11-12 16:41:32 +0000  
    Browse File »
  • fix some variable initizalization issues (Stefano Stabellini) ...
    c3b972c3
    this patch fixes two variable initialization issues.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5705 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-12 15:00:36 +0000  
    Browse File »
  • target-alpha: fix termbits and target IOC macros ...
    dccfec67
    This patch fixes the two following problems for Alpha linux-user:
       - termbits.h is incorrectly using host IOC macros and structures
       - IOC bitfields sizes are incorrectly set
    
    This patch corrects the ioctl TCGETS done by isatty function call
    on Alpha (when running SPEC crafty for instance).
    
    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@5704 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-12 10:01:12 +0000  
    Browse Dir »

11 Nov, 2008
5 commits
  • Fix -linux-user build by reverting r5701 ...
    c2b48b69
    Unfortunately, -linux-user doesn't use osdep as it replaces some of those
    functions with specific ones.  The code #ifdef code in exec.c needs to
    remain in place so instead of introducing a qemu_getpagesize() let's just
    use getpagesize() in the non-Windows implementation of qemu_vmalloc.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5703 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 22:06:42 +0000  
    Browse File »
  • Allocate guest memory on host page boundaries (Hollis Blanchard) ...
    6f7af85d
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5702 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:50:17 +0000  
    Browse File »
  • Define OS-dependent qemu_getpagesize() (Hollis Blanchard) ...
    15ed71ba
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5701 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:48:59 +0000  
    Browse Code »
  • Split savevm code into savevm.c ...
    a672b469
    This is pure code motion.  The savevm code is all common code so we can build
    it once and share the object with all executables.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5700 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:33:36 +0000  
    Browse Code »
  • Move the things that aren't target specific to libqemu_common.a. ...
    559b90fb
    This will improve the build time.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5699 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-11 21:20:14 +0000  
    Browse Code »