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
29 Mar, 2009
24 commits
  • Fix hxtool eating backslash sequences ...
    fb21ced7
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6945 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-29 09:06:43 +0000  
    Browse File »
  • fix format string warnings in block-qcow2.c (Christoph Hellwig) ...
    4c978075
    Recent patches added two compiler warnings about the format string
    usage in qcow_read_extensions.  One is printing a uint64_t using
    %lu which is incorrect on many platforms as it can be a unsigned
    long long, the second one is printing the result of sizeof as
    %lu, but it is a size_t so it needs to be printed using %zu.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6944 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-29 01:31:56 +0000  
    Browse Code »
  • check for bs->drv in bdrv_flush (Christoph Hellwig) ...
    081501da
    All the bdrv_ helpers should check for bs->drv being zero as that means
    there is no backend image open.  bdrv_flush fails to perform that check
    and can thus cause NULL pointer dereferences.
    
    Found using qemu-io.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6943 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-29 01:31:51 +0000  
    Browse Code »
  • remove dead code in bdrv_check_request (Christoph Hellwig) ...
    999dec57
    Remove code dealing with negative sector numbers for byte access in
    bdrv_check_request as sector numbers can't ever be negative.
    
    Previously we supported negative sector counts for byte access, but
    never sector numbers.
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6942 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-29 01:31:48 +0000  
    Browse Code »
  • target-mips: optimize write to env->hflags ...
    41db4607
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6941 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:28:29 +0000  
    Browse Dir »
  • target-mips: optimize gen_muldiv() ...
    d45f89f4
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6940 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:19:31 +0000  
    Browse Code »
  • tcg: add _tl aliases for div/divu/rem/remu ...
    ab36421e
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6939 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:19:22 +0000  
    Browse Dir »
  • target-mips: optimize gen_HILO() ...
    f129981a
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6938 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:19:12 +0000  
    Browse Code »
  • target-mips: optimize gen_trap() ...
    cdc0faa6
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6937 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:19:02 +0000  
    Browse Code »
  • target-mips: optimize gen_compute_branch() ...
    1ba74fb8
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6936 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:52 +0000  
    Browse Code »
  • target-mips: don't mix result and arguments in gen_op_* ...
    92e90443
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6935 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:43 +0000  
    Browse Code »
  • target-mips: gen_bshfl() ...
    3a55fa47
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6934 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:34 +0000  
    Browse Code »
  • target-mips: optimize gen_mul_vr54xx() ...
    f157bfe1
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6933 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:24 +0000  
    Browse Code »
  • target-mips: optimize gen_cl() ...
    20e1fb52
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6932 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:16 +0000  
    Browse Dir »
  • target-ppc: avoid nop to override next instruction ...
    af4b6c54
    While searching PC, always store the pc of a new instruction.
    Instructions that didn't generate tcg code (such as nop) prevented the
    next one to be referenced.
    
    Based on patch for target-alpha, r6930.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6931 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:18:03 +0000  
    Browse Dir »
  • target-alpha: bug fix: avoid nop to override next instruction ...
    ed1dda53
    While searching PC, always store the pc of a new instruction.
    Instructions that didn't generate tcg code (such as nop) prevented the next
    one to be referenced.
    
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6930 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 01:04:39 +0000  
    Browse Dir »
  • target-alpha: remove PALCODE_ declarations (unused). ...
    aa4b8180
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6929 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:22:12 +0000  
    Browse File »
  • target-alpha: add instruction name in comments for hw_ld opcode. ...
    b5d51029
    Make code slightly easier to read.
    Also unused hw_ld opcodes now generate an invalid opc fault.
    
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6928 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:22:01 +0000  
    Browse File »
  • Document which IPR are used by 21264 ...
    f8cc8534
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6927 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:21:43 +0000  
    Browse Dir »
  • target-alpha: tb_flush helper should flush the tb (and not the tlb). ...
    75fc9c0c
    Looks to be a typo fix.
    
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6926 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:14:16 +0000  
    Browse Dir »
  • target-alpha: fix temp free for hw_st ...
    45d46ce8
    No need to stop translation after hw_st.
    
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6925 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:14:06 +0000  
    Browse File »
  • target-alpha: fix bug: integer conditional branch offset is 21 bits wide. ...
    a1516744
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6924 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:13:56 +0000  
    Browse Code »
  • target-alpha: Fix bug: do not mask address LSBs for ldwu. ...
    577d5e7f
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6923 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:13:47 +0000  
    Browse Code »
  • target-alpha: Fix bug: palcode is at least 6 bits. ...
    e79ab941
    Signed-off-by: Tristan Gingold <gingold@adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6922 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-29 00:13:38 +0000  
    Browse Code »

28 Mar, 2009
16 commits
  • build system: silence gdbstub-xml.c generation ...
    1aef4c57
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6921 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:46:00 +0000  
    Browse File »
  • tcg/README: fix description of bswap32_i32/i64 ...
    604457d7
    Thanks to Stuart Brady for the notice.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6920 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:27:30 +0000  
    Browse Code »
  • target-sh4: r2d --append option support ...
    f3e3aa8c
    Remove qemu_ram_alloc(SDRAM_BASE) and related changes.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6919 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:18:47 +0000  
    Browse Code »
  • hw/eeprom93xx.c: support 93xx EEPROMs with more than 255 words ...
    7ab2589c
    In the head of eeprom93xx.c we promise to support chips with 256 words,
    but store the size in an unsigned byte. This patch replaces this with an
    16 bit variable and changes the load/store code accordingly (introducing a
    new version).
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6918 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:14:52 +0000  
    Browse Code »
  • hw/eeprom93xx.c: substitute structure dump with discrete dump in eeprom_save/load ...
    d4ae799c
    The EEPROM 93xx device used to dump a C structure to the migration stream.
    This structure includes mixed 8 and 16bit variables and is thus subject to
    compiler dependent padding. Replace this with discrete dumps of each member
    (and add a padding byte to ensure compatibility, a version update is
    included in the following patch).
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6917 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:14:41 +0000  
    Browse Code »
  • target-sh4: r2d --append option support ...
    e8afa065
    Add linux kernel command line ("--append" option) support.
    Fix kernel loading address to appropriate position when --append used.
    Using --kernel but --append case is left untouched for backward compatibility.
    
    This also change the host<->SH address mapping for r2d to
     host addr == phys_ram_base + SH addr.
    
    Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6916 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 23:14:32 +0000  
    Browse File »
  • target-mips: fix FPU in 64-bit mode ...
    f364515c
    TCG does not allow the same memory location to be aliased in two
    different global registers, fpu_fpr32 and fpu_fpr64.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6915 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 22:22:50 +0000  
    Browse Dir »
  • target-mips: implement FPU Flush-To-Zero mode ...
    41e0c701
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6914 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-28 22:22:40 +0000  
    Browse Code »
  • gdbstub: Allow re-instantiation (Jan Kiszka) ...
    36556b20
    [ Note: depends on char closing fixes ]
    
    Properly clean up the gdbstub when the user tries to re-open it
    (possibly under a different address). Moreover, allow to shut it down
    from the monitor via 'gdbserver none'.
    
    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@6913 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 18:05:53 +0000  
    Browse File »
  • char: Fix closing of various char devices (Jan Kiszka) ...
    819f56b7
    This patch fixes several issues around closing char devices. Affected
    were pty (timer was left behind, even running), udp (no close handling
    at all) and tcp (missing async IO handler cleanup). The bugs either
    caused segfaults or stalled the qemu process. So far, hot-unplugging USB
    serial adapters suffered from this.
    
    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@6911 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:58:14 +0000  
    Browse Code »
  • qemu-img: adding a "-F base_fmt" option to "qemu-img create -b" (Uri Lublin) ...
    9230eaf6
    If the user specifies the backing file format,
    then when opening the backing file, there is no need
    to probe the (backing file) image to figure out its format.
    
    This follows my previous patches implementing bdrv_create2
    which keeps (for qcow2 only) the backing file format
    as a qcow2-extension
    
    Suggested by Daniel P. Berrange.
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6910 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:55:19 +0000  
    Browse Code »
  • block-qcow2: keep backing file format in a qcow2 extension (Uri Lublin) ...
    f965509c
    Use a qcow2 extension to keep the backing file format.
    
    By keeping the backing file format, we can:
    1. Provide a way to know the backing file format without probing
       it (setting the format at creation time).
    2. Enable using qcow2 format over host block devices.
       (only if the user specifically asks for it, by providing the format
       at creation time).
    
    Also fixes a security flaw found by Daniel P. Berrange on [1]
    which summarizes: "Autoprobing: just say no."
    
    [1] http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01083.html
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6909 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:55:14 +0000  
    Browse Code »
  • block: support known backing format for image create and open (Uri Lublin) ...
    5eb45639
    Added a backing_format field to BlockDriverState.
    Added bdrv_create2 and drv->bdrv_create2 to create an image with
    a known backing file format.
    Upon bdrv_open2 if backing format is known use it, instead of
    probing the (backing) image.
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6908 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:55:10 +0000  
    Browse Code »
  • Introducing qcow2 extensions (Uri Lublin) ...
    9b80ddf3
    Qcow2 extensions are build of magic (id) len (in bytes) and data.
    They reside right after the qcow2 header.
    If a backing filename exists it follows the qcow2 extension (if exist)
    
    Qcow2 extensions are read upon image open.
    Qcow2 extensions are identified by their magic.
    Unknown qcow2 extensions (unknown magic) are skipped.
    A Special magic of 0 means end-of-qcow2-extensions.
    
    In this patchset, to be used to keep backing file format.
    
    Based on a work done by Shahar Frank <sfrank@redhat.com>.
    
    Signed-off-by: Uri Lublin <uril@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6907 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:55:06 +0000  
    Browse Code »
  • kvm: Drop kvm_patch_opcode_byte (Jan Kiszka) ...
    64bf3f4e
    As cpu_memory_rw_debug is now capable of modifying ROM, we can drop our
    own patch function.
    
    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@6906 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:51:40 +0000  
    Browse Dir »
  • ROM write access for debugging (Jan Kiszka) ...
    5e2972fd
    Enhance cpu_memory_rw_debug so that it can write even to ROM regions.
    This allows to modify ROM via gdb (I see no point in denying this to the
    user), and it will enable us to drop kvm_patch_opcode_byte().
    
    Credits go to Avi for suggesting this.
    
    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@6905 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-28 17:51:36 +0000  
    Browse File »