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
20 Nov, 2008
6 commits
  • uImage: rename load_uboot() to load_uimage() (Hollis Blanchard) ...
    5a9154e0
    u-boot is a firmware. uImage is an executable file format.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5764 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 22:14:40 +0000  
    Browse Code »
  • uImage: return base load address (Hollis Blanchard) ...
    21cafd08
    Return the base address at which the image was loaded so that callers may keep
    track of currently occupied guest memory.
    
    This will be required by the PPC 440 embedded code to avoid hard coding a
    device model/initrd location.  Other users of this function could make use of
    this parameter to avoid hard coding these locations in the future too.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5763 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 22:11:52 +0000  
    Browse Dir »
  • uImage: implement gzip support (Hollis Blanchard) ...
    5a123577
    Based on gzip uImage loading code from u-boot.
    
    Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5762 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 22:04:01 +0000  
    Browse Code »
  • uImage: don't leak file data or file descriptor (Hollis Blanchard) ...
    265ca29a
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5761 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 22:02:56 +0000  
    Browse Code »
  • Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper) ...
    3adae656
    TARGET_FMT_plx includes a % for you.  This fixes the following warning when
    compiling with LSI_DEBUG enabled.
    
    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@5760 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 16:46:21 +0000  
    Browse Code »
  • target-sh4: fix fldi0/fldi1 ...
    12d96138
    fldi0/fldi1 should be executed as a nop if FPSCR.FR is set instead of
    generating an exception. Reported by Laurent Desnogues.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5759 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-20 06:41:29 +0000  
    Browse Dir »

19 Nov, 2008
8 commits
  • target-sh4: map FP registers as TCG variables ...
    66ba317c
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5758 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-19 18:00:47 +0000  
    Browse Dir »
  • target-sh4: use CPU_Float/CPU_Double instead of ugly casts ...
    9850d1e8
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5757 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-19 18:00:39 +0000  
    Browse Dir »
  • target-ppc: fix TCG type errors introduced in r5754 ...
    0f2f39c2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5756 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-19 17:54:49 +0000  
    Browse Code »
  • Make KVMSlot a real structure ...
    34fc643f
    struct kvm_userspace_memory_region does not use QEMU friendly types to 
    define memory slots.  This results in lots of ugly casting with warnings 
    on 32-bit platforms.
    
    This patch introduces a proper KVMSlot structure that uses QEMU types to
    describe memory slots.  This eliminates many of the casts and isolates 
    the type conversions to one spot.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5755 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-19 17:41:58 +0000  
    Browse File »
  • 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 File »
  • 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 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
4 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 »