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 Sep, 2008
4 commits
  • target-alpha: instruction decoding simplification ...
    dfaa8583
    Use a litteral value of 0 when rb31 is used. This reduces the tests
    in the instruction decoding. Also remove almost unused corner cases.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5250 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-18 10:11:26 +0000  
    Browse Dir »
  • target-alpha: convert cmp* instructions to TCG ...
    01ff9cc8
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5249 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-18 09:24:25 +0000  
    Browse Dir »
  • alpha: fix a missing literal sign issue ...
    adf3c8b6
    Reported by Tristan Gingold
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5248 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-18 09:17:13 +0000  
    Browse File »
  • target-alpha: switch a few helpers to TCG ...
    6ad02592
    Switch a few helpers to TCG and implement RC and RS instructions
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5247 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-18 00:02:17 +0000  
    Browse Dir »

17 Sep, 2008
8 commits
  • target-alpha: convert byte manipulation instructions to TCG ...
    b3249f63
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5246 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-17 22:04:52 +0000  
    Browse File »
  • alpha: convert cmov and bcond to TCG ...
    9c29504e
    Patch mostly by Tristan Gingold
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5245 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-17 22:04:44 +0000  
    Browse Dir »
  • alpha: improve testsuite ...
    a986fcc4
    misc tiny patches:
    * add a 'check' target to the Makefile
    * split code in crt.s to create the _exit syscall; also use the value of
    main() as exit status
    
    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@5244 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-17 22:04:37 +0000  
    Browse File »
  • [PATCH] alpha: fix linux syscall convention ...
    d74e3b12
    According to linux kernel sources, register a3 is set in case of failure
    (and cleared in case of success) while register v0 contains the result
    (or -errno in case of error).
    
    The convention was not followed which results in weird behaviour.
    
    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@5243 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-17 22:04:29 +0000  
    Browse Code »
  • [PATCH] usb-serial: Fix data corruption with usb serial emulation ...
    8109b9b6
    * Remove the unused send_buf variable and its constant.
    
    * Fix a math error
      The variables recv_ptr and recv_used are not large enough to hold
      the constant 384, which causes data corruption when the pointer is
      reset with: s->recv_ptr = (s->recv_ptr + len) % RECV_BUF;
    
    Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
    Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5242 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-17 22:04:21 +0000  
    Browse Code »
  • Enable ld flag --warn-common ...
    49237acd
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5241 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-09-17 19:05:19 +0000  
    Browse Code »
  • Fix warnings that would be caused by ld flag --warn-common ...
    7ee930d0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5240 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-09-17 19:04:14 +0000  
    Browse File »
  • 16550A UART: RHR irq enable bit also masks the Rx timeout irq. ...
    5628a626
    The "Rx timeout" (aka. Character Timeout Indication) has no separate mask
    bit in the IER register and according to the specs reading RHR is the only
    way to reset the irq.  However on the hardware (tested on OMAP2 UART which
    is an extended 16550A) the RHR_IT bit in IER disables the irc, too.  Linux
    bluetooth serial dongle driver for N800 depends on this behavior.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5239 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-09-17 00:21:05 +0000  
    Browse File »

16 Sep, 2008
6 commits
  • target-alpha: small optimizations ...
    1ef4ef4e
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5238 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-16 22:44:25 +0000  
    Browse File »
  • target-alpha: fix TCG register names ...
    6ba8dcd7
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5237 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-16 22:44:17 +0000  
    Browse Code »
  • target-alpha: convert some arith3 instructions to TCG ...
    30c7183b
    Replace gen_arith3 generic macro and dyngen ops by instruction specific
    optimized TCG code.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5236 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-16 22:44:10 +0000  
    Browse File »
  • target-alpha: convert arith2 instructions to TCG ...
    ae8ecd42
    Replace gen_arith2 generic macro and dyngon ops by instruction specific
    optimized TCG code.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5235 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-16 22:44:02 +0000  
    Browse File »
  • Move offsetof to osdep.h, remove local defintions. ...
    ac509d88
    With this container_of can actually be used without causing build errors.
    Reformat container_of.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5234 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-09-16 13:36:57 +0000  
    Browse File »
  • block-raw is not a protocol ...
    2acf5af0
    The protocol_name "file" was added to the block driver when async IO was
    introduced.  This can be used to select that a file is treated as a raw
    device instead of probing for the type.  However, protocols are not subject
    to path interpretation which cases qcow2 images with raw base images to not
    function is the path was specified relatively.
    
    The fix is simply to remove the protocol_name from the raw block driver.  The
    proper way to force the use of a raw block format is to use the format= option
    with -drive.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5233 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-16 13:21:58 +0000  
    Browse Code »

15 Sep, 2008
13 commits
  • Fix range in the hid report descriptor for USB tablet. ...
    de5c2d0a
    Should prevent the ugly wrapping due to a typo in an earlier commit.
    Fix by Gregor (gg@seh.de).
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5232 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2008-09-15 22:26:35 +0000  
    Browse File »
  • Make sure to define fd_open when not on Linux ...
    08af02e2
    My previous commit broke the build.  This was spotted by C.W. Betts.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5231 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 16:48:11 +0000  
    Browse Code »
  • WMVi extension support (Stefano Stabellini) ...
    ca4cca4d
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5230 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 16:05:16 +0000  
    Browse Code »
  • vnc dynamic resolution (Stefano Stabellini) ...
    7eac3a87
    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@5229 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 16:03:41 +0000  
    Browse Code »
  • Right now, kvm keeps the memory allocation split, so we can ...
    82b36dc3
    handle different areas in different ways. This schema works with qemu
    too, so it appears to be the common ground.
    
    This patch proposes using this common ground for everyone, by spliting
    raw qemu.
    
    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@5228 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 16:01:01 +0000  
    Browse Dir »
  • Make page_find() return 0 for too-large addresses (Eduardo Habkost) ...
    434929bf
    On some cases, such as under KVM, tb_invalidate_phys_page_range()
    may be called for large addresses, when qemu is configured to more than
    4GB of RAM.
    
    On these cases, qemu was crashing because it was using an index too
    large for l1_map[], that supports only 32-bit addresses when compiling
    without CONFIG_USER_ONLY.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5227 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 15:56:30 +0000  
    Browse Code »
  • Use common objects for qemu-img and qemu-nbd ...
    03ff3ca3
    Right now, we sprinkle #if defined(QEMU_IMG) && defined(QEMU_NBD) all over the
    code.  It's ugly and causes us to have to build multiple object files for
    linking against qemu and the tools.
    
    This patch introduces a new file, qemu-tool.c which contains enough for
    qemu-img, qemu-nbd, and QEMU to all share the same objects.
    
    This also required getting qemu-nbd to be a bit more Windows friendly.  I also
    changed the Windows block-raw to use normal IO instead of overlapping IO since
    we don't actually do AIO yet on Windows.  I changed the various #if 0's to
     #if WIN32_AIO to make it easier for someone to eventually fix AIO on Windows.
    
    After this patch, there are no longer any #ifdef's related to qemu-img and
    qemu-nbd.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5226 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-09-15 15:51:35 +0000  
    Browse Code »
  • Define a few structures instead of including a file, add "static" ...
    d9cf1578
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5225 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-09-15 14:57:11 +0000  
    Browse Code »
  • SH4: Privilege check for instructions ...
    fe25591e
    This patch adds check for all SH4 instructions which are
    executed only in privileged mode.
    
    (Shin-ichiro KAWASAKI)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5224 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-15 08:49:15 +0000  
    Browse Code »
  • qemu sh4 nptl support ...
    0b6d3ae0
    (Michael Trimarchi)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5223 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-15 07:43:43 +0000  
    Browse Dir »
  • sh4: doesn't set the cpu_model_str ...
    7478757e
    Fix setting of cpu_model_str for sh4
    
    (Michael Trimarchi)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5222 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-15 07:34:45 +0000  
    Browse Dir »
  • SH4: Serial controller improvement ...
    63242a00
    Add receive character feature to SH4 SCIF.
    SH4-SCI feature implementation work is left.
    
    (Shin-ichiro KAWASAKI)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5221 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-15 07:05:18 +0000  
    Browse Dir »
  • SH4: sleep instruction bug fix ...
    f24f381b
    fix a bug on 'sleep' instruction, which have caused halt of idle task.
    As i386 'hlt' instruction does, it should save PC before sleep.
    
    (Shin-ichiro KAWASAKI)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5220 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-15 06:42:30 +0000  
    Browse Code »

14 Sep, 2008
9 commits
  • Fix array subscript above array bounds error ...
    9f4576f0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5219 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-09-14 19:16:21 +0000  
    Browse Dir »
  • ppc: Convert op_andi to TCG ...
    0df5bdbe
    Replace op_andi_... with tcg_gen_andi_tl.
    
    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@5218 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 18:30:32 +0000  
    Browse Dir »
  • ppc: Convert ctr, lr moves to TCG ...
    cfdcd37a
    Introduce TCG variables cpu_{ctr,lr} and replace op_{load,store}_{lr,ctr}
    with tcg_gen_mov_tl.
    
    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@5217 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 18:30:23 +0000  
    Browse Dir »
  • alpha: add tests ...
    df0fc998
    This patch creates tests/alpha directory and adds an "hello world"
    program as well as two tests.
    
    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@5216 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 17:18:29 +0000  
    Browse Code »
  • MIPS: Fix tlbwi/tlbwr ...
    bbc0d79c
    In CP0 Index register, bit 31 means 'Probe Failure', while lowest bits
    contain the TLB index.
    
    In tlbwi and tlbwr instructions, this Probe Failure bit must be ignored
    when reading the TLB index.
    
    Attached patch fixes it.
    
    (Hervé Poussineau)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5215 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 17:09:56 +0000  
    Browse Code »
  • MIPS: remove empty cpu_mips_irqctrl_init() ...
    75973fa1
    cpu_mips_irqctrl_init() function in hw/mips_timer.c is empty.
    Attached patch removes it, and its callers.
    
    (Hervé Poussineau)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5214 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 16:38:57 +0000  
    Browse Code »
  • target-mips: fix warning ...
    929a62a0
    Attached patch fixes a warning in cpu_mips_find_by_name().
    'name' is a string, so it should be declared as char*, not unsigned char*.
    
    (Hervé Poussineau)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5213 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 16:28:26 +0000  
    Browse Code »
  • alpha: fix helper.h ...
    fdbbb5d9
    the content of target-alpha/helper.h is duplicated twice
    
    (Tristan Gingold)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5212 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 16:09:56 +0000  
    Browse File »
  • alpha: fix lit sign ...
    9e85e9bd
    according to the alpha arch reference, the literal field of an operate
    instruction is unsigned:
    
    If bit <12> of the instruction is 1, an 8-bit zero-extended literal
    constant is formed by bits
    <20:13> of the instruction. The l teral is interpreted as a positive
    integer bet ween 0 and 255
    and is zero-extended to 64 bits.
    
    This patch fixes the mis-interpretation of the literal field.
    
    (Tristan Gingold)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5211 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-09-14 16:09:15 +0000  
    Browse Code »