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
14 Jan, 2009
15 commits
  • target-mips: optimize some gpr accesses ...
    e9203484
    Optimize gpr accesses when it is known at translation time that gpr != 0.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6307 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 19:40:46 +0000  
    Browse Dir »
  • target-mips: fix indentation ...
    6958549d
    Remove all tabs from target-mips/*
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6306 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 19:40:36 +0000  
    Browse Code »
  • Get rid of user_mode_only ...
    72d239ed
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6305 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 19:40:27 +0000  
    Browse Dir »
  • Suppress i386 warnings ...
    1c918eba
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6304 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 19:27:02 +0000  
    Browse Code »
  • Add noreturn function attribute ...
    7d99a001
    Introduce noreturn attribute and attach it to cpu_loop_exit as well as
    interrupt/exception helpers for i386. This avoids a bunch of gcc4
    warnings.
    
    [ Note that this patch comes with a workaround to include qemu-common.h
    even in cases where is currently causes conflicts with dyngen-exec.h.
    I've been told that these conflicts will get resolved in the future
    (/me will try to have a look as well - as time permits). ]
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6303 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 19:00:36 +0000  
    Browse Dir »
  • Migrate to check_define ...
    fdf7ed96
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6302 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-14 18:39:52 +0000  
    Browse File »
  • Remove all traces of __powerpc__ ...
    e58ffeb3
    According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the
    ubiquitous define which should be used to test whether gcc targets
    PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6301 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-14 18:39:49 +0000  
    Browse Code »
  • Fix some more warnings ...
    bc575e95
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6300 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 18:34:22 +0000  
    Browse Code »
  • Make OpenBSD sparc-softmmu compile warning free ...
    00766a4e
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6299 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 18:08:08 +0000  
    Browse Code »
  • Fix _P use on OpenBSD ...
    61dca5aa
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6298 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 18:04:52 +0000  
    Browse File »
  • Fix iovec probe on OpenBSD ...
    db34f0b3
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6297 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-14 18:03:53 +0000  
    Browse File »
  • PPC OldWorld: use a more realistic timer frequency ...
    b0fb43d8
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6296 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 14:48:04 +0000  
    Browse Code »
  • escc: allow one IRQ per serial channel ...
    aeeb69c7
    The Z85C30 on the PowerMAC machines have one interrupt per serial
    channel, while the Sparc machines have only one for both. Allow the
    emulated device to use one IRQ per channel.
    
    Patch by Laurent Vivier.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6295 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 14:47:56 +0000  
    Browse Code »
  • Update OpenBIOS PowerPC image to revision 406 ...
    13d7ec0f
    - Support kernel arguments through -append
    - Quik support
    - PowerMac serial ports supports
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6294 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-14 14:47:46 +0000  
    Browse Code »
  • Fix building on PPC64 ...
    395f153d
    HOST_PPC alone can't be a substitute for __powerpc__ which is defined
    for both 32 and 64bit PPCs, so go with HOST_PPC || HOST_PPC64 instead.
    
    Reported by C. W. Betts
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6293 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-14 10:14:31 +0000  
    Browse Code »

13 Jan, 2009
15 commits
  • Do not rely on __powerpc__ being defined as a feature test macro ...
    1eff7fbf
    __powerpc__ is not defined on AIX and Darwin, Makefile.target adds
    it to CPPFLAGS for target specific code which cache-utils are not.
    
    Since there's not common definition which can safely be used on all
    platforms use HOST_PPC provided by config-host.h
    
    The problem was originally reported by C. W. Betts
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6292 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-01-13 23:12:34 +0000  
    Browse Code »
  • Make virtio_net_init() return void (Mark McLoughlin) ...
    291c6ff9
    All PCI NIC init functions return void and nothing uses the
    return value from virtio_net_init().
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6291 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 21:09:18 +0000  
    Browse Code »
  • sun4c/sun4d: also swap the CharDriverState of escc_init() ...
    5a16dc63
    Forgotten in r6284
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6290 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-13 20:08:43 +0000  
    Browse Code »
  • Update bochs bios ...
    71ac3b08
    They have applied all of our patches and they have an additional HPET fix.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6289 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 20:06:26 +0000  
    Browse Dir »
  • Fix 64 bit issue in slirp ...
    429d0a3d
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6288 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-13 19:48:42 +0000  
    Browse Dir »
  • Make pci_nic_init() use qemu_setup_nic_model() (Mark McLoughlin) ...
    cb457d76
    Add a table of PCI NIC models to pass to qemu_setup_nic_model().
    
    While we're at it, also add a corresponding table of NIC init
    functions.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6287 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 19:47:10 +0000  
    Browse Code »
  • Check NIC model in some NIC init functions (Mark McLoughlin) ...
    0ae18cee
    Some NIC init functions are only called when that model is
    the only valid model. In that case, it makes sense to use
    qemu_check_nic_model() from the NIC init function itself.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6286 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 19:39:36 +0000  
    Browse File »
  • Fix tap downscript argument (Mark McLoughlin) ...
    973cbd37
    Kill off the hack that parses info_str for the tap interface
    name to pass as the argument to the downscript and, instead,
    just explicitly keep a copy of the string for later.
    
    As reported by John Wong, this commit:
    
      Add qemu_format_nic_info_str()
    
    changed the invocation of downscript from e.g.
    
      /path/kvm-ifdown "tap0"
    
    to:
    
      /path/kvm-ifdown "tap0,script=/path/kvm-ifup,downscript=/path/kvm-ifdown"
    
    This fix restores the original behavior.
    
    Reported-by: John Wong <johnw@wonghome.net>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6285 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 19:15:55 +0000  
    Browse Code »
  • ESCC: swap the two CharDriverState arguments ...
    f5cbc474
    Swap the two CharDriverState arguments so that the first argument
    corresponds to the channel A and the second argument to the channel B.
    
    Modify hw/sun4m.c accordingly.
    
    This fixes the order of the serial ports on the PPC machines.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6284 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-13 19:08:18 +0000  
    Browse File »
  • target-ppc: define max amount of memory for G3 beige ...
    6b4079f8
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6283 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-13 19:08:10 +0000  
    Browse Code »
  • target-ppc: fix comment about boot device in ppc_oldworld.c ...
    8a901def
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6282 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-13 19:07:59 +0000  
    Browse Code »
  • Add qemu_check_nic_model() and qemu_check_nic_model_list() (Mark McLoughlin) ...
    d07f22c5
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6281 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 19:03:57 +0000  
    Browse File »
  • Fix gdbserver number of registers (Tristan Gingold) ...
    5a377912
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6280 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-13 16:28:01 +0000  
    Browse Code »
  • RTL8139: Latch C+ mode state instead of inferring it from C+ Command register (Avi Kivity) ...
    2c3891ab
    It was observed that Windows 2003 x64 hangs when shutting down if an
    RTL8139 NIC and a USB device tablet are both present.  What seems to be
    happening is:
    
    - the guest shuts down the transmitter and receiver
    - time passes
    - the guest requests a tally counter dump
    
    As it happens, the tally counter command register overlaps the transmit
    status register in C mode.  Qemu determines whether the chip is in C or C+
    mode by looking at the C+ transmit enable bit; as this is now unset, the
    dump tally counter command is interpreted as a C mode transmit command.  The
    guest doesn't think so, however, and continues to poll for completion of the
    tally counter dump command.  This never occurs, so the guest hangs.
    
    Fix by redefining C+ mode as "a write to the C+ command register has occurred
    since the last reset".  The data sheet is silent on the matter.
    
    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6279 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 15:20:14 +0000  
    Browse Code »
  • Fix race in POSIX AIO emulation (Jan Kiszka) ...
    f094a782
    When we cancel an AIO request that is already being processed by
    aio_thread, qemu_paio_cancel should return QEMU_PAIO_NOTCANCELED as long
    as aio_thread isn't done with this request. But as the latter currently
    updates aiocb->ret after every block of the request, we may report
    QEMU_PAIO_ALLDONE too early.
    
    Futhermore, in case some zero-length request should have been queued,
    aiocb->ret is never set to != -EINPROGRESS and callers like
    raw_aio_cancel could get stuck in an endless loop.
    
    Fix those issues by updating aiocb->ret _after_ the request has been
    fully processed. This also simplifies the locking.
    
    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@6278 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-13 15:13:53 +0000  
    Browse Code »

12 Jan, 2009
10 commits
  • target-alpha: get rid of tests on env->user_mode_only ...
    f48c144e
    Replace runtime checks on env->user_mode_only by compile time
    checks on CONFIG_USER_ONLY.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6277 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-12 21:33:22 +0000  
    Browse Code »
  • target-mips: get rid of tests on env->user_mode_only ...
    932e71cd
    Replace runtime checks on env->user_mode_only by compile time
    checks on CONFIG_USER_ONLY.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6276 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-12 21:33:13 +0000  
    Browse Code »
  • target-ppc: add altivec cache instructions ...
    ae1c1a3d
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6275 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-12 21:33:02 +0000  
    Browse Code »
  • Fix TLB access (Jakub Jermar) ...
    afdf8109
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6274 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 21:12:22 +0000  
    Browse File »
  • Update Sparc32 and Sparc64 images ...
    164ef2e0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6273 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 20:00:29 +0000  
    Browse File »
  • Fix some SLIRP warnings ...
    0580ac91
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6272 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 17:51:06 +0000  
    Browse Dir »
  • Use ESCC for PowerMac serial ...
    7fa9ae1a
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6271 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 17:40:23 +0000  
    Browse Code »
  • Rename slavio_serial functions to escc, add clock rate and it_shift parameters ...
    b4ed08e0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6270 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 17:38:28 +0000  
    Browse File »
  • Rename slavio_serial to escc ...
    2aa2ab3a
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6269 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 17:33:30 +0000  
    Browse Dir »
  • Fix typo ...
    8f180a43
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6268 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-01-12 17:31:29 +0000  
    Browse Dir »