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
03 Feb, 2009
9 commits
  • Partialy fix mmap at EOF for large pagesize targets in user-mode. ...
    54c5a2ae
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6510 c046a42c-6fe2-441c-8c8c-71466251a162
    edgar_igl authored
    2009-02-03 23:06:34 +0000  
    Browse Code »
  • Remove accidental addition of local patch. ...
    d6755878
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6509 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-03 22:45:00 +0000  
    Browse Dir »
  • Make mtvscr use a helper ...
    6e87b7c7
    Do this so we can set float statuses once per mtvscr, rather than once
    per Altivec instruction.
    
    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@6508 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:56:09 +0000  
    Browse Code »
  • Add calls to initialize VSCR on appropriate machines ...
    cf8358c8
    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@6507 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:59 +0000  
    Browse Code »
  • Rename spe_status to vec_status ...
    fbd265b6
    Only one of Altivec and SPE will be available on a given chip.
    
    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@6506 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:51 +0000  
    Browse File »
  • Add f field to ppc_avr_t ...
    0f6fbcbc
    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@6505 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:43 +0000  
    Browse Code »
  • SH4: Fix warning when compiling sh7750_regnames.c ...
    ea0444b5
    This patch fixes a warning when compiling sh7750_regnames.c which is
    caused by sh7750_regnames.h (which contains the prototype of regname())
    not being included.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6504 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:35 +0000  
    Browse Dir »
  • linux-user: Remove incorrect break; ...
    bedf26e6
    Reported-By: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6503 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:26 +0000  
    Browse Dir »
  • Fix compilation of PPC64 targets with DEBUG_TCGV enabled ...
    fce5ecb7
    The attached patch fixes compilation of PPC64 targets with DEBUG_TCGV
    enabled.
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6502 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-02-03 19:55:13 +0000  
    Browse Code »

02 Feb, 2009
9 commits
  • Add phenom CPU descriptor (Alexander Graf) ...
    9bdba1b6
    As part of my ongoing effort to make nested SVM useful, I started working to get
    VMware ESX run inside KVM.
    
    VMware couples itself pretty tightly to the CPUID, so it's a good idea to emulate
    a machine that officially supports SVM and should thus exploit the powers of
    nested virtualization.
    
    This patch adds a Phenom CPU identifier, that resembles a real-world phenom
    CPU as closely as possible.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6501 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 17:10:57 +0000  
    Browse Dir »
  • Implement FFXSR (Alexander Graf) ...
    eef26553
    Newer AMD CPUs have the FFXSR capability. This leaves out XMM
    register in FXSAVE/FXRESTORE when in CPL=0 and 64-bit mode.
    
    This is required for Hyper-V.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6500 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 17:10:52 +0000  
    Browse Dir »
  • Add zlib encoding support (Alexander Graf) ...
    059cef40
    This patch adds zlib encoding support for VNC. It basically runs
    the raw traffic through zlib, providing a pretty good compression
    ratio.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6499 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:54 +0000  
    Browse File »
  • Move the framebuffer update package out (Alexander Graf) ...
    d2a0102a
    Currently the send_framebuffer_update_raw and send_framebuffer_update_hextile
    respectively send a send_framebuffer_update packet themselves. We need to reuse
    send_framebuffer_update_raw for zlib encoding though, so let's move it out.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6498 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:51 +0000  
    Browse Code »
  • Move buffer functions up (Alexander Graf) ...
    89064286
    We will need to use buffer functions in code that will end up being
    below the current buffer functions. In order to not introduce any
    function stub defines, let's just move them up.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6497 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:47 +0000  
    Browse File »
  • Add some tight awareness to vnc.c (Alexander Graf) ...
    fb437313
    This patch enables the vnc server to understand fundamental tight extensions.
    It changes from a "Hextile or not" scheme when sending framebuffer updates to
    a "preferred encoding", namely the last one set.
    
    While this is not perfect, as actually a list of "preferred encodings" should
    be kept, it's good enough for now.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6496 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:43 +0000  
    Browse File »
  • Fix invalid #if in vnc.c when debugging is enabled (Alexander Graf) ...
    26f8b9cc
    While running with debugging enabled, I found an #if testing for
    an undefined value, not defined(value). This patch fixes that.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6495 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:38 +0000  
    Browse Code »
  • Use VNC protocol defines (Alexander Graf) ...
    29fa4ed9
    Now that we have nice defines for all sorts of constants, let's
    use them!
    
    This patch also takes the "feature variables", currently called has_*
    into a single feature int. This way adding new features is a lot
    easier and doesn't clutter the VncState struct.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6494 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:29 +0000  
    Browse Code »
  • Split VNC defines to vnc.h (Alexander Graf) ...
    e06679fb
    The VNC protocol contains quite some constants, some of which are
    currently hardcoded in the vnc.c code. This is not exactly pretty.
    
    Let's move all those constants out to vnc.h, so they are clearly
    separated. While at it, I also included other defines that will be
    used later in this patch series.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6493 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-02-02 15:58:25 +0000  
    Browse File »

01 Feb, 2009
3 commits
  • Replace noreturn with QEMU_NORETURN ...
    a5e50b26
    Thanks to Robert Riebisch for analysis [1]
    
    [1] http://marc.info/?l=qemu-devel&m=123352293319271&w=2
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6492 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-02-01 22:19:27 +0000  
    Browse File »
  • Add and use #defines for PCI device classes ...
    173a543b
    This patch adds and uses #defines for PCI device classes and subclases,
    using a new pci_config_set_class() function, similar to the recently
    added pci_config_set_vendor_id() and pci_config_set_device_id().
    
    Change since v1: fixed compilation of hw/sun4u.c
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6491 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-02-01 19:26:20 +0000  
    Browse File »
  • Update #defines for PCI vendor and device IDs from OpenBIOS and Linux ...
    4ebcf884
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6490 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-02-01 12:01:04 +0000  
    Browse Dir »

30 Jan, 2009
12 commits
  • PowerPC: IDE DB-DMA support ...
    e3007e66
    This patches allows powermac IDE interface to use DB-DMA.
    This implementation uses only synchronous I/O.
    
    Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6489 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 20:39:41 +0000  
    Browse Dir »
  • PowerPC: mac-io DB-DMA support ...
    28ce5ce6
    This patch adds powermac Descriptor-Based DMA.
    It is used by mac-io based IDE, ethernet, sounds and serial devices.
    
    Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6488 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 20:39:32 +0000  
    Browse Dir »
  • pl031: remove unused variable ...
    186a7495
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6487 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 20:15:41 +0000  
    Browse Code »
  • linux-user: fix signal.c warning ...
    dc7eea67
    This patch fixes:
    
    linux-user/signal.c:1403: warning: no previous prototype for 'do_sigreturn_v1'
    linux-user/signal.c:1473: warning: no previous prototype for 'do_sigreturn_v2'
    linux-user/signal.c:1511: warning: no previous prototype for 'do_rt_sigreturn_v1'
    linux-user/signal.c:1552: warning: no previous prototype for 'do_rt_sigreturn_v2'
    
    by making the appropriate functions static.
    
    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@6486 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 20:15:32 +0000  
    Browse Dir »
  • linux-user: identify running binary in /proc/self/exe ...
    d088d664
    Some applications like to test /proc/self/exe to find
    out who they are. Fake the result of readlink() for
    them. Use realpath() to return full path to binary
    (which the links /proc/self/exe are)
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6485 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 20:09:01 +0000  
    Browse File »
  • linux-user: Add generic env variable handling ...
    04a6dfeb
    Adds support for qemu to modify target process environment
    variables using -E and -U commandline switches. This replaces
    eventually the -drop-ld-preload flag.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6484 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:59:17 +0000  
    Browse Code »
  • target-ppc: Fix struct target_stat64 for 32-bit host ...
    e1ce5e40
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6483 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:48:32 +0000  
    Browse Dir »
  • target-sh4: Fix struct target_stat64 for 64-bit host ...
    91bd8ce9
    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@6482 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:48:24 +0000  
    Browse Dir »
  • linuw-user fix: read() and acct() on NULL arguments ...
    38d840e6
    Returning efault in these cases is not correct. Originally
    proposed by Thayne Harbaugh in 2007:
    http://www.mail-archive.com/qemu-devel@nongnu.org/msg14658.html
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6481 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:48:17 +0000  
    Browse Code »
  • linux-user: don't crash with null name ...
    a516e72d
    From Thayne Harbaugh.
    
    path() may be called with null string, don't bother trying to
    remap in that case.
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6480 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:48:07 +0000  
    Browse Code »
  • linux-user: return EINVAL on incorrect sockaddr ...
    8f7aeaf6
    From: Lauro Ramos Venancio <lauro.venancio@gmail.com>
    
    Fixes ltp test accept01
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6479 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:47:57 +0000  
    Browse File »
  • linux-user: fix accept(2) with NULL peer ...
    8fea3602
    Based on scratchbox2 patch by Mika Westerberg
    
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6478 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-01-30 19:47:47 +0000  
    Browse Code »

29 Jan, 2009
7 commits
  • Allow usb tablet to be used with vmware-vga hwcursor. ...
    08a2d4c4
    Assume that in absolute mode the guest cursor always follows host cursor
    and there's no need to move host cursor.  This avoids a strange feedback
    loop.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6477 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2009-01-29 23:29:52 +0000  
    Browse Code »
  • Fix absolute mode mice. ...
    8bf66d40
    width and height were never set which means that host coordinates were 
    divided by -1 instead of (width - 1) / 0x7fff.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6476 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2009-01-29 23:19:20 +0000  
    Browse Code »
  • check SCSI read/write requests against max LBA (Rik van Riel) ...
    274fb0e1
    The bdrv layer uses a signed offset. Furthermore, block-raw-posix
    only seeks when that offset is positive. Passing a negative offset
    to block-raw-posix can result in data being written at the current
    seek cursor's position.
    
    It may be possible to exploit this to seek to the end of the disk
    and extend the virtual disk by writing data to a negative sector
    offset.  After a reboot, this could lead to the guest having a
    larger disk than it had before.
    
    Close the hole by sanity checking the lba against the size of the
    disk.
    
    Signed-off-by: Rik van Riel <riel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6475 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-29 19:59:04 +0000  
    Browse Code »
  • Fix a typo in ext2_feature_name (Carl-Daniel Hailfinger) ...
    33049de7
    Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6474 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-29 19:45:28 +0000  
    Browse Dir »
  • Use new logging API in reset handling (Jan Kiszka) ...
    6e48a40d
    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@6473 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-29 17:02:21 +0000  
    Browse Dir »
  • MTRR support on x86, part 2 (Carl-Daniel Hailfinger) ...
    dd5e3b17
    Load and save MTRR state together with machine state.
    
    Add support for the MTRRcap MSR which is used by the latest Bochs BIOS
    and some operating systems.
    
    Fix a typo in ext2_feature_name.
    
    With this patch, MTRR emulation should be good enough to not trigger any
    sanity checks in well behaved BIOS/kernel code.
    Some corner cases for BIOS/firmware usage remain to be implemented, but
    that can be deferred to another patch.
    Also, MTRR accesses on hardware not supporting MTRRs should cause #GP.
    That can be enforced by another patch as well.
    
    Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6472 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-29 17:02:17 +0000  
    Browse File »
  • Don't notify virtio devices before S_DRIVER_OK (Mark McLoughlin) ...
    7625162c
    Current Linux guests oops if the host notifies of a
    config change before a driver has been bound to the
    device.
    
    It's pretty pointless for us to do notify of config
    changes before status is S_DRIVER_OK anyway, so let's
    just not do it.
    
    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@6471 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-01-29 17:02:13 +0000  
    Browse Code »