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 Mar, 2009
37 commits
  • Fix off-by-one errors for Altivec and SPE registers ...
    70976a79
    Altivec and SPE both have 34 registers in their register sets, not 35
    with a missing register 32.
    
    GDB would ask for register 32 of the Altivec (resp. SPE) registers and
    the code would claim it had zero width.  The QEMU GDB stub code would
    then return an E14 to GDB, which would complain about not being sure
    whether p packets were supported or not.
    
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6769 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 22:00:49 +0000  
    Browse Code »
  • Use C99 initializers for BlockDriver methods ...
    e60f469c
    Consistently use the C99 named initializer format for the BlockDriver
    methods to make the method table more readable and more easily
    extensible.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6768 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 22:00:29 +0000  
    Browse Code »
  • clean build: Fix remaining m68k warnings ...
    aaedd1f9
    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@6767 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:48:08 +0000  
    Browse Code »
  • clean build: Fix arm build warnings ...
    2b3ea315
    Fix remaining arm warnings - except for the mess in the NetWinder FP
    emulator.
    
    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@6766 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:48:00 +0000  
    Browse Code »
  • arm: Fix gic_irq_state.level bitfield type ...
    a45db6c6
    Found while cleaning up compiler warnings: GIC_*_LEVEL macros strongly
    suggest that gic_irq_state.level is intended to be per-CPU and not just
    a single, global bit. I'm unable to test the effect, but it seems to be
    the most reasonable fix for the apparent brokenness.
    
    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@6765 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:47:53 +0000  
    Browse Code »
  • target-ppc: move the CD-ROM drive to the second IDE ...
    2701dfd2
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6764 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:35:27 +0000  
    Browse Code »
  • ppc_oldworld: swap the MACIO and CMD646 IDE controllers ...
    bd4524ed
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6763 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:35:21 +0000  
    Browse Dir »
  • Use a dedicated function to request exit from execution loop ...
    3098dba0
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6762 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:28:24 +0000  
    Browse File »
  • Fix texinfo syntax errors. ...
    9e995645
    Signed-off-by: Stefan Weil <weil@mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6761 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 21:28:14 +0000  
    Browse Code »
  • Disable BAT for 970 ...
    94855937
    The 970 doesn't know BAT, so let's not search BATs there.
    This was only in as a hack for OpenHackWare so it would
    work on PPC64.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6759 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:58:30 +0000  
    Browse Dir »
  • Fix mfcr on ppc64-softmmu ...
    0497d2f4
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6758 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 20:57:47 +0000  
    Browse File »
  • Keep SLB in-CPU ...
    8eee0af9
    Real 970 CPUs have the SLB not memory backed, but inside the CPU.
    This breaks bridge mode for 970 for now, but at least keeps us from
    overwriting physical addresses 0x0 - 0x300, rendering our interrupt
    handlers useless.
    
    I put in a stub for bridge mode operation that could be enabled
    easily, but for now it's safer to leave that off I guess (970fx doesn't
    have bridge mode AFAIK).
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6757 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:57:42 +0000  
    Browse File »
  • Clear CPU_INTERRUPT_EXIT on VM load ...
    e47ce3f2
    CPU_INTERRUPT_EXIT is not set anymore in env->interrupt_request since
    revision 6728. Make sure the bit is cleared on VM load.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6756 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 20:57:31 +0000  
    Browse Code »
  • Fix NX bit ...
    29c8ca6f
    ctx->nx only got ORed, but never reset. So when one page in the
    lifetime of the VM was ever NX, all later pages were too.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6755 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:57:01 +0000  
    Browse File »
  • Fix RFI(d) ...
    2ada0ed7
    The current implementation masks some MSR bits from SRR1 as it is
    given on rfi(d). This looks pretty wrong and breaks Altivec.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6754 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:56:21 +0000  
    Browse Code »
  • Implement mtfsf.L encoding ...
    4911012d
    Mtfsf can have the L bit set, so all the register contents get stored
    in FPSCR. Linux uses it, so let's implement it.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6753 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:55:31 +0000  
    Browse File »
  • Enable 64bit mode on interrupts ...
    6ce0ca12
    Real 970s enable MSR_SF on all interrupts. The current code didn't do
    this until now, so let's activate it!
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6752 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:54:59 +0000  
    Browse Code »
  • Nop some SPRs on 970fx ...
    4e98d8cf
    Linux tries to access some SPRs on PPC64 boot. Let's just ignore those
    for the 970fx for now to make it happy.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6751 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:54:03 +0000  
    Browse Code »
  • Activate uninorth AGP bridge ...
    783a20dc
    Linux tries to poke the AGP bridge port and is pretty sad when it can't,
    so let's activate the old code again and throw out the bit modifications,
    as we don't really do anything with the values anyways.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6750 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:53:18 +0000  
    Browse Code »
  • Implment tlbiel ...
    bf14b1ce
    Linux uses tlbiel to flush TLB entries in PPC64 mode. This special TLB
    flush opcode only flushes an entry for the CPU it runs on, not across
    all CPUs in the system.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6749 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:52:22 +0000  
    Browse File »
  • Implement large pages ...
    5b5aba4f
    The current SLB/PTE code does not support large pages, which are
    required by Linux, as it boots up with the kernel regions up as large.
    
    This patch implements large page support, so we can run Linux.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6748 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:51:18 +0000  
    Browse Code »
  • Implement slbmte ...
    f6b868fc
    In order to modify SLB entries on recent PPC64 machines, the slbmte
    instruction is used.
    
    This patch implements the slbmte instruction and makes the "bridge"
    mode code use the slb set functions, so we can move the SLB into
    the CPU struct later.
    
    This is required for Linux to run on PPC64.
    
    Signed-off-by: Alexander Graf <alex@csgraf.de>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6747 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:50:01 +0000  
    Browse File »
  • Support for DragonFly BSD (Hasso Tepper) ...
    c5e97233
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6746 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 20:06:23 +0000  
    Browse Dir »
  • Fix BSD user: there is no NPTL ...
    9399f095
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6745 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 18:59:05 +0000  
    Browse Dir »
  • Update i386-dis.c from commits before GPLv3 switch ...
    88103cfe
    Update i386-dis.c again using binutils files from CVS:
    include/opcode/i386.h r1.78 and opcodes/i386-dis.c r1.126.
    
    These are the last versions using GPL v2+.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6744 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 16:57:53 +0000  
    Browse Code »
  • Update i386-dis.c from binutils 2.17 ...
    c2c73b42
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6743 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 16:53:57 +0000  
    Browse Code »
  • Fix BSD breakage from r6736 ...
    d40cdb10
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 16:52:02 +0000  
    Browse File »
  • Sparse fixes: dubious mixing of bitwise and logical operations ...
    70c14705
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6741 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 16:03:05 +0000  
    Browse Dir »
  • Sparse fixes: add extern to ELF opcode tables to avoid warnings ...
    50773fd2
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6740 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 15:59:09 +0000  
    Browse Dir »
  • Sparse fixes: remove duplicate entry ...
    e6f2870e
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6739 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 15:53:15 +0000  
    Browse Code »
  • Sparse fixes: move ACPI table definitions to pc.h ...
    80deece2
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6738 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 15:50:18 +0000  
    Browse Code »
  • Sparse fixes: truncation by cast ...
    9e622b15
    Fix Sparse warnings about constant truncation caused by cast
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6737 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 15:46:23 +0000  
    Browse Code »
  • Sparse fixes: NULL use, header order, ANSI prototypes, static ...
    511d2b14
    Fix Sparse warnings:
     * use NULL instead of plain 0
     * rearrange header include order to avoid redefining types accidentally
     * ANSIfy SLIRP
     * avoid "restrict" keyword
     * add static
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6736 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 15:32:56 +0000  
    Browse Code »
  • The _exit syscall is used for both thread termination in NPTL applications, ...
    c2764719
    and process termination in legacy applications.  Try to guess which we want
    based on the presence of multiple threads.
    
    Also implement locking when modifying the CPU list.
    
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6735 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-03-07 15:24:59 +0000  
    Browse Dir »
  • Fix BSD user ...
    0b8a988c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6734 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 10:51:36 +0000  
    Browse File »
  • Fix sparc64-softmmu breakage from r6711 ...
    b4950060
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6733 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-03-07 10:50:46 +0000  
    Browse Code »
  • pc-bios/Makefile: add a rule to produce dtb files ...
    10aa630a
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6732 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-07 04:56:06 +0000  
    Browse Code »

06 Mar, 2009
3 commits
  • Add more missing files ...
    274b6fcc
    Major FAIL with my checkin scripts.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6731 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-06 23:44:29 +0000  
    Browse Code »
  • Add missing file from previous commit ...
    5f5aed22
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6730 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-03-06 22:47:54 +0000  
    Browse Code »
  • Fix race condition on access to env->interrupt_request ...
    be214e6c
    env->interrupt_request is accessed as the bit level from both main code
    and signal handler, making a race condition possible even on CISC CPU.
    This causes freeze of QEMU under high load when running the dyntick
    clock.
    
    The patch below move the bit corresponding to CPU_INTERRUPT_EXIT in a
    separate variable, declared as volatile sig_atomic_t, so it should be
    work even on RISC CPU.
    
    We may want to move the cpu_interrupt(env, CPU_INTERRUPT_EXIT) case in
    its own function and get rid of CPU_INTERRUPT_EXIT. That can be done
    later, I wanted to keep the patch short for easier review.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6728 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-03-06 21:48:00 +0000  
    Browse File »