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
07 Dec, 2008
23 commits
  • slirp: fix CVE 2007-5729 ...
    e8e880a7
    The emulated network cards in QEMU allows local users to execute arbitrary
    code by writing Ethernet frames with a size larger than the slirp's default
    MTU, which triggers a heap-based buffer overflow in the slirp library.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5920 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 18:15:23 +0000  
    Browse Dir »
  • Some fixes for TCG debugging ...
    a810a2de
    This fixes a few things after Paul's improvements for TCG debugging:
    
      - change TCGv_i64 field name to something different from
        TCGv_i32
      - fix things in tcg that the above change made visible.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5919 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-07 17:16:42 +0000  
    Browse File »
  • target-ppc: disable single stepping ...
    e8fc4fa7
    ... which left was enabled by mistake.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5918 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 16:23:22 +0000  
    Browse Code »
  • PXA: Account for offset from page start in a subpage mapping. ...
    dc23e260
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5917 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 16:08:49 +0000  
    Browse Code »
  • Update .gitignore ...
    dcb8c512
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5916 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 16:04:13 +0000  
    Browse File »
  • target-ppc: Fix use of uninitialized TCG variable in tlbiva ...
    ec72e276
    Silences a warning about possible unitialized use of t0.
    
    Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5915 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 15:45:15 +0000  
    Browse Code »
  • Remove a few dyngen and dyngen related code ...
    86e840ee
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5914 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 15:21:23 +0000  
    Browse Dir »
  • ARM: fix smmul and smmla/smmls usage of registers (Mans Rullgard). ...
    955a7dd5
    This fixes the destination and accumulator registers for the smmul
    and smmla instructions.
    
    Signed-off-by: Mans Rullgard <mans@mansr.com>
    Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5913 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 14:18:02 +0000  
    Browse Dir »
  • ARM: fix usad8 and usada8 usage of registers (Mans Rullgard). ...
    ded9d295
    This fixes the destination and accumulator registers for the usad8
    and usada8 instructions.
    
    Signed-off-by: Mans Rullgard <mans@mansr.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5912 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 14:03:27 +0000  
    Browse Dir »
  • Remove gcc 3.4 check ...
    662bbadd
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5911 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:38 +0000  
    Browse File »
  • target-ppc: convert SPR accesses to TCG ...
    45d827d2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5910 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:29 +0000  
    Browse File »
  • target-ppc: remove dead code ...
    fa0d32c4
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5909 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-07 13:40:15 +0000  
    Browse Code »
  • Patch holes in ARM translation (Laurent Desnogues). ...
    4cc633c3
     - gen_set_CF_bit31:  use the right value to set carry flag
     - shifter_out_im:  remove a spurious semi-colon
     - add a break for VSHRN, VRSHRN, VQSHRN, VQRSHRN
       size 2 case
     - sbfx, ubfx are v6t2 instructions
    
    The correct cps user mode behaviour is unclear so it's left out from the
    commit until ARM decides it.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5908 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 13:32:09 +0000  
    Browse Dir »
  • ARM: cosmetics (Laurent Desnogues). ...
    aaf2d97d
      - remove macros that are not used
      - remove disass structure is_mem field which value is never used
      - correct a typo in a comment.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5907 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 13:20:16 +0000  
    Browse Dir »
  • omap1: fix uart3 init (Jean-Christophe PLAGNIOL-VILLARD). ...
    13643323
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5906 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:52:07 +0000  
    Browse Code »
  • omap1: add OSC_12M_SEL UART register support (original patch from Jean-Christophe PLAGNIOL-VILLARD) ...
    c588de3d
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5905 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:49:26 +0000  
    Browse Code »
  • pflash_cfi01: add Single Byte Program (Jean-Christophe PLAGNIOL-VILLARD). ...
    d361be25
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5904 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 12:36:28 +0000  
    Browse File »
  • SCSI: Handle inquiry commands of varying length (Justin Chevrier). ...
    57575058
    Openserver 5.0.5 sends an Inquiry command to the emulated SCSI disk
    expecting a response length of 40 bytes. Currently the response to an
    Inquiry command is hardcoded to 36 bytes. When receiving a response of
    length 36 instead of 40 Openserver panics.
    
    Modifications to original patch based on feedback from Ryan Harper and Paul
    Brook. Thanks guys.
    
    Signed-off-by: Justin Chevrier <address@hidden>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5903 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:12:54 +0000  
    Browse Code »
  • LSI53C895A: Handle empty SCRIPTS opcode (Justin Chevrier) ...
    02b373ad
    Basically after each DMA transfer the Openserver driver would issue an
    empty (0) SCRIPTS opcode. As the opcode is essentially a NOP it has no
    second DWORD and therefore the DSP should only be incremented by 4 bytes
    instead of the 8 bytes we currently do.
    
    Here's a snippet of the log:
    
    lsi_scsi: Data ready tag=0x100d9 len=16384
    ...
    lsi_scsi: SCRIPTS dsp=068c5e50 opcode 01000400 arg 07a09000
    lsi_scsi: DMA addr=0x07a09000 len=1024
    lsi_scsi: SCRIPTS dsp=068c5e58 opcode 00000000 arg 01000400
    lsi_scsi: Wrong phase got 1 expected 0
    
    Note the 2nd DWORD after the empty opcode; the next opcode in the DMA
    transfer sequence. As can be expected the address after that has the next
    DMA address to use.
    
    After the attached patch the DMA transfer is able to complete successfully:
    
    lsi_scsi: SCRIPTS dsp=068c5e50 opcode 01000400 arg 07a0d000
    lsi_scsi: DMA addr=0x07a0d000 len=1024
    lsi_scsi: SCRIPTS dsp=068c5e5c opcode 01000400 arg 07a0d400
    lsi_scsi: DMA addr=0x07a0d400 len=1024
    ...
    
    Tested againsted Openserver 5.0.5 and Debian ARM.
    
    Signed-off-by: Justin Chevrier <address@hidden>
    Acked-by: Ryan Harper <ryanh@us.ibm.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5902 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:07:51 +0000  
    Browse Code »
  • LSI53C895A: Remove current_dma_len hack ...
    c021db86
    Signed-off-by: Justin Chevrier <address@hidden>
    Acked-by: Ryan Harper <ryanh@us.ibm.com>
    Acked-by: Chris Wright <chrisw@sous-sol.org>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5901 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 03:03:21 +0000  
    Browse Dir »
  • Remove a duplicate omap_l4_attach(), add one missing elsewhere. ...
    9e7d11ff
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5900 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 01:51:28 +0000  
    Browse Code »
  • Don't wrap I2C registers addresses on PXA270. ...
    ed005253
    This way the registers will only be visible at the given offset instead of
    every 0x100 bytes.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5899 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-12-07 01:49:28 +0000  
    Browse Dir »
  • ETRAX-FS: Simplify the DMA blocks address registration and decoding. ...
    e6320485
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5898 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-12-07 00:14:21 +0000  
    Browse Dir »

06 Dec, 2008
8 commits
  • ETRAX-FS: No need to decode the address anymore. ...
    0db74b07
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5897 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2008-12-06 23:19:03 +0000  
    Browse Code »
  • target-ppc: remove dead code ...
    8983da70
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5896 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 22:01:01 +0000  
    Browse Code »
  • target-ppc: convert SLB/TLB instructions to TCG ...
    74d37793
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5895 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 21:46:17 +0000  
    Browse Code »
  • The configure test for struct iovec #includes <sys/uio.h> but qemu-common.h did not. ...
    331dadde
    This fixes compilation of hw/virtio.h on Mac OS X.
    
    Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5894 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-06 19:44:56 +0000  
    Browse Code »
  • target-ppc: convert dcr load/store to TCG ...
    06dca6a7
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5893 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 16:37:18 +0000  
    Browse Dir »
  • target-ppc: convert msr load/store to TCG ...
    6527f6ea
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5892 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 13:03:35 +0000  
    Browse Dir »
  • target-ppc: convert POWER bridge instructions to TCG ...
    22e0e173
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5891 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 12:19:14 +0000  
    Browse Code »
  • Revert "hw/apic.c: use fls() from host-utils" ...
    3b63c04e
    This reverts commit 5876.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5890 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-06 10:46:35 +0000  
    Browse Code »

05 Dec, 2008
9 commits
  • Make struct iovec universally available ...
    bf9298b9
    Vectored IO APIs will require some sort of vector argument.  It makes sense to
    use struct iovec and just define it globally for Windows.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5889 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-12-05 20:05:26 +0000  
    Browse Code »
  • Attached patch contains warning fixes. ...
    a38131b6
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5888 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:56:40 +0000  
    Browse Code »
  • Attached patch make cpu-exec.c compile on NetBSD. ...
    b3efe5c8
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5887 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:55:45 +0000  
    Browse Code »
  • Attached patch makes NetBSD use the native bswap functions ...
    1360677c
    which compile.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5886 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:54:09 +0000  
    Browse Code »
  • sys-queue.h defines _SYS_QUEUE_H_ which is also defined by ...
    3990d09a
    the <sys/queue.h> system header. <sys/disk.h> uses SLIST_ENTRY
    on NetBSD, which doesn't exist in sys-queue.h. Therefore,
    include <sys/queue.h> before including sys-queue.h.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5885 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-12-05 17:53:21 +0000  
    Browse Code »
  • Fix PPC PREP platform, broken by commit 5849 ...
    4dd8c138
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5884 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 16:05:41 +0000  
    Browse Code »
  • hw/ppc4xx_pci.c: kill two warnings ...
    3476f891
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5883 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 16:05:32 +0000  
    Browse Code »
  • target-ppc: convert POWER shift instructions to TCG ...
    7487953d
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5882 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 07:21:44 +0000  
    Browse Code »
  • target-ppc: add functions to load/store SPR ...
    54cdcae6
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5881 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-12-05 07:21:31 +0000  
    Browse Code »