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
24 Nov, 2008
7 commits
  • vga optimization (Glauber Costa) ...
    2bec46dc
    Hypervisors like KVM perform badly while doing mmio on
    a loop, because it'll generate an exit on each access.
    This is the case with VGA, which results in very bad
    performance.
    
    In this patch, we map the linear frame buffer as RAM,
    make sure it has dirty region tracking enabled, and then
    just let the region to be written.
    
    Cleanups suggestions by:
      Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    
    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@5793 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-24 20:21:41 +0000  
    Browse File »
  • kvm: Introduce kvm logging interface (Glauber Costa) ...
    5832d1f2
    Introduce functions to control logging of memory regions.
    We select regions based on its start address, a
    guest_physical_addr (target_phys_addr_t, in qemu nomenclature).
    
    The main user of this interface right now is VGA optimization
    (a way of reducing the number of mmio exits).
    
    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@5792 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-24 19:36:26 +0000  
    Browse File »
  • move vga_io_address to VGA State (Glauber Costa) ...
    b4fbd879
    It'll be reused later by the vga optimization.
    
    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@5791 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-24 19:35:16 +0000  
    Browse File »
  • better type checking for vga (Glauber Costa) ...
    4efe2755
    unsigned long is too bad of a type. Use ram_addr_t instead.
    
    aligurori: fixed a compile warning in this patch
    
    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@5790 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-24 19:33:59 +0000  
    Browse File »
  • Introduce accessors for DisplayState (Stefano Stabellini) ...
    0e1f5a0c
    Introducing some accessors:
    
    ds_get_linesize
    ds_get_bits_per_pixel
    ds_get_width
    ds_get_height
    ds_get_data
    
    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@5789 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-24 19:29:13 +0000  
    Browse File »
  • target-ppc: convert trap instructions to TCG ...
    cab3bee2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5788 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-24 11:28:19 +0000  
    Browse Code »
  • target-ppc: convert altivec load/store to TCG ...
    fe1e5c53
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5787 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-24 08:47:21 +0000  
    Browse File »

23 Nov, 2008
5 commits
  • target-ppc: convert FPU load/store to TCG ...
    a0d7d5a7
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5786 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-23 16:30:50 +0000  
    Browse Dir »
  • target-ppc: fix access_type usage ...
    a7859e89
    Write env->access_type before a load/store operation instead of relying
    on the name of the dyngen operation.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5785 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-23 16:30:40 +0000  
    Browse File »
  • target-ppc: include the instruction name in load/store handlers name ...
    0c8aacd4
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5784 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-23 16:30:28 +0000  
    Browse Code »
  • target-ppc: convert SPE FP ops to TCG ...
    1c97856d
    Including a few bug fixes:
    - Don't clear high part for instruction with 32-bit destination
    - Fix efscmp* and etstcmp* return value
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5783 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-23 10:54:04 +0000  
    Browse Code »
  • Fix typo reported by Thiemo Seufer ...
    f4887919
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5782 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-23 07:27:59 +0000  
    Browse Code »

22 Nov, 2008
10 commits
  • target-ppc: remove declaration of removed function from op_helper.h ...
    293d6942
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5781 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-22 21:27:36 +0000  
    Browse Code »
  • Native BSD host USB support (Juergen Lock, Lonnie Mendez) ...
    68063649
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5780 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 21:03:55 +0000  
    Browse File »
  • Native FreeBSD parallel port (Juergen Lock) ...
    6972f935
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5779 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:49:12 +0000  
    Browse File »
  • Use MAP_ANON also for FreeBSD (Juergen Lock) ...
    5f8712aa
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5778 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:43:01 +0000  
    Browse File »
  • Fix BSD user compilation on other than OpenBSD ...
    cdba95bd
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5777 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:34:45 +0000  
    Browse Code »
  • Fix some compile and linking issues on NetBSD. ...
    8ef92a88
    - adapt configure to link against -lrt to fix aio linking errors
    - adapt configure to link against -lossaudio to fix oss linking errors
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5776 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:24:29 +0000  
    Browse Code »
  • Add native softfloat fpu functions (Christoph Egger) ...
    d07cca02
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5775 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:17:37 +0000  
    Browse Dir »
  • Use qemu_isfoobar and qemu_towombat versions, based on patch by Christoph Egger ...
    47398b9c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5774 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-11-22 20:04:24 +0000  
    Browse Code »
  • target-sh4: fix 64-bit fmov to/from memory ...
    11bb09f1
    When loading/storing a register pair, the even-numbered register
    always maps to the low 32 bits of memory independently of target
    endian configuration.
    
    Signed-off-by: Mans Rullgard <mans@mansr.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5773 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-22 10:09:27 +0000  
    Browse Dir »
  • target-ppc: convert exceptions generation to TCG ...
    64adab3f
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5772 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-22 10:09:17 +0000  
    Browse File »

21 Nov, 2008
6 commits
  • target-alpha: use CPU_Float/CPU_Double instead of ugly casts ...
    e2eb2798
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5771 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-21 23:49:40 +0000  
    Browse Code »
  • target-sh4: fix TLB/MMU emulation ...
    cf7055bd
    Based on a patch from Vladimir Prus and comments from Shin-ichiro KAWASAKI.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5770 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-21 22:33:15 +0000  
    Browse Dir »
  • SH4: Switch serial emulation to qemu_irq ...
    4e7ed2d1
    This patches makes SH serial emulation use qemu_irq in its interface.
    
            * hw/sh.h (sh_serial_init): Take qemu_irq, not intc_source.
            * hw/sh7750.c (sh7750_init): Adjust.
            * hw/sh_intc.c (sh_intc_set_irq): Don't assert or deassert
            irq more than once.
            * hw/sh_serial.c (sh_serial_state): Use qemu_irq, not intc_source.
            (sh_serial_clear_fifo, sh_serial_ioport_write)
            (sh_serial_receive_byte): Adjust.
            (sh_serial_init): Take qemu_irq, not intc_source.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5769 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-21 21:06:51 +0000  
    Browse Code »
  • SH4: Use qemu_irq in timer emulation. ...
    96e2fc41
            * hw/sh.h (tmu012_init): Accept qemu_irq, not intc_source.
            * hw/sh7750.c (sh7750_init): Pass qemu_irq to tmu012_init.
            * hw/sh_intc.c (sh_intc_set_irq): New.
            (sh_intc_init): Allocate irqs.
            * hw/sh_intc.h (struct intc_desc): New field irqs.
            * hw/sh_timer.c (sh_timer_state): Use qemu_irq, not intc_source.
            (sh_timer_update): Use qemu_set_irq, not sh_intc_toggle_source.
            (sh_timer_init, tmu012_init): Adjust.
    
    (Vladimir Prus)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5768 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-11-21 21:06:42 +0000  
    Browse File »
  • CRIS: remove unused op_template.h. ...
    380ce5ba
    Remove unused file, reported by Laurent Desnogues.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5767 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-11-21 17:26:23 +0000  
    Browse Dir »
  • e1000 VLAN offload emulation (Alex Williamson) ...
    8f2e8d1f
    We're currently ignoring the e1000 VLAN tagging, stripping and filtering
    features in the e1000 emulation.  This patch adds backing for the
    relevant registers and provides a software implementation of the
    acceleration, such that a guest can make use of VLANs.
    
    This is mostly (only?) useful for a guest on a bridge (not user mode
    networking).  The only caveat beyond that is that you need to make sure
    the host NIC isn't doing it's own tagging, stripping, or filtering.
    This generally means the host NIC on the bridge should not be part of a
    VLAN.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5766 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-21 16:25:17 +0000  
    Browse Dir »

20 Nov, 2008
7 commits
  • uImage: only try to load 'kernel' images (Hollis Blanchard) ...
    7e5f90fa
    Loading other image types (e.g. IH_TYPE_MULTI, IH_TYPE_FLATDT) is not
    implemented.
    
    IH_TYPE_STANDALONE images could be loaded, but would unexpectedly fail if they
    tried to use any uboot services.
    
    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@5765 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-11-20 22:15:46 +0000  
    Browse Code »
  • 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
5 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 »