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
21 Aug, 2008
12 commits
  • usb: generic packet handler cleanup and documentation (Max Krasnyansky) ...
    89b9b79f
    A bit better documentation of the USB device API, namely
    return codes.
    Rewrite of usb_generic_handle_packet() to make it more
    reable and easier to follow.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5049 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-21 19:29:38 +0000  
    Browse Code »
  • husb: support for USB host device auto connect (Max Krasnyansky) ...
    4b096fc9
    QEMU can now automatically grab host USB devices that match the filter.
    For now I just extended 'host:X.Y' and 'host:VID:PID' syntax to handle
    wildcards. So for example if you do something like
       usb_add host:5.*
    QEMU will automatically grab any non-hub device with host address 5.*.
    
    Same with the 'host:PID:*', we grab any device that matches PID.
    
    Filtering itself is very generic so we can probably add more elaborate
    syntax like 'host:BUS.ADDR:VID:PID'. So that we can do 'host:5.*:6000:*'.
    
    Anyway, it's implemented using a periodic timer that scans host devices
    and grabs those that match the filter. Timer is started when the first
    filter is added.
    
    We now keep the list of all host devices that we grabbed to make sure that
    we do not grab the same device twice.
    
    btw It's currently possible to grab the same host device more than once.
    ie You can just do "usb_add host:1.1" more than once, which of course does
    not work. So this patch fixes that issue too.
    
    Along with auto disconnect patch that I send a minute ago the setup is very
    seamless now. You can just allocate some usb ports to the VMs and plug/unplug
    devices at any time.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5048 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-21 19:28:55 +0000  
    Browse Dir »
  • husb: support for USB host device auto disconnect (Max Krasnyansky) ...
    1f3870ab
    I got really annoyed by the fact that you have to manually do
    usb_del in the monitor when host device is unplugged and decided
    to fix it :)
    
    Basically we now automatically remove guest USB device
    when the actual host device is disconnected.
    
    At first I've extended set_fd_handlerX() stuff to support checking
    for exceptions on fds. But unfortunately usbfs code does not wake up
    user-space process when device is removed, which means we need a
    timer to periodically check if device is still there. So I removed
    fd exception stuff and implemented it with the timer.
    
    Signed-off-by: Max Krasnyansky <maxk@kernel.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5047 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-21 19:27:48 +0000  
    Browse Dir »
  • Fix windows build ...
    cd01b4a3
    Right now, the Windows build is broken because of NBD.  Using a mingw32 cross
    compiler is also badly broken.
    
    This patch fixes the Windows build by stubbing out NBD support until someone
    fixes it for Windows.  It also santizing the mingw32 cross compiler support
    by replacing the --enable-mingw32 option with a compiler check to determine
    if we're on windows or not.
    
    Also remove the weird SDL pseudo-detection for mingw32 using a cross compiler.
    The hardcoded sdl-config name is seemly arbitrary.  If you cross compiler SDL
    correctly and modify your PATH variable appropriately, it will Just Work when
    cross compiling.
    
    The audio driver detection is also broken for cross compiling so you have to
    specify the audio drivers explicitly for now.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5046 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-21 19:25:45 +0000  
    Browse Code »
  • Fix OSS on OpenBSD ...
    2f6a1ab0
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5045 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-21 18:00:53 +0000  
    Browse Code »
  • Fix OpenBSD linker warnings ...
    363a37d5
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5044 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-21 17:58:08 +0000  
    Browse Dir »
  • Fix wrwim masking (Luis Pureza) ...
    c93e7817
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5043 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-21 17:34:42 +0000  
    Browse Code »
  • Use initial CPU definition structure for some CPU fields instead of copying ...
    5578ceab
    them around, based on patch by Luis Pureza.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5042 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-21 17:33:42 +0000  
    Browse Code »
  • De-assert PIC IRQs properly at APIC level ...
    1a7de94a
    [ Taking latest isapc changes into account. ]
    
    Ensure that PIC-delivered IRQs are properly de-asserted in case the APIC
    is in EXTINT or FIXED mode (with level-triggering selected) on LINT0.
    Fixes EFI-BIOS boot issues.
    
    This patch also cleans up a bit the interface between PIC and APIC,
    making apic_local_deliver private again.
    
    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@5041 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-21 03:14:52 +0000  
    Browse Dir »
  • De-assert ISA PIC IRQs properly ...
    b614106a
    [ Taking latest isapc changes into account. ]
    
    In case the PIC IRQ gets de-asserted on an isapc machine, we also have
    to reset CPU_INTERRUPT_HARD. This is what older qemu (before the
    routing-through-APIC changes) used to do as well.
    
    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@5040 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-21 03:14:41 +0000  
    Browse Dir »
  • bios: update from bochs release 2.3.7 ...
    43661a95
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5039 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-21 03:14:29 +0000  
    Browse Dir »
  • Relax qemu_ld/st constraints for !SOFTMMU case ...
    70fa887c
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5038 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-21 01:14:07 +0000  
    Browse Dir »

20 Aug, 2008
7 commits
  • Kludge to support linux-user on a PPC64 ...
    a6cc84f4
    Some headers (e.g. signal.h) include asm/elf.h and the chaos of macro
    redefinitions ensues, this kludge avoids it.
    
    Alternative way to fight that would be to change all ELF_XXX and some
    other definitions to QEMU_ELF_XXX or something to that effect.
    
    This patch concludes the quest for enabling linux-user on PPC64,
    however, since qemu_mallocz uses mmap and, at least on this system,
    mmap tends to return values that do not fit into 32bit, emulation for
    32bit targets does not work without some hacks wich are to disgusting
    to commit (and as `man mmap' tells us MAP_32BIT is only implemented on
    X86_64)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5037 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:28 +0000  
    Browse Dir »
  • Fix tswap size ...
    d538e8f5
    p in this case is uint32_t *
    
    e1/e2 are unsigned ints initialized from arithmetics performed on
    unsigned longs
    
    The mistake was, probably, never noticed due to the absence of any
    big endian linux-user host. The types e1/e2 and p begs the quesiton
    why this function takes longs at all.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5036 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:26 +0000  
    Browse File »
  • Correct version of Heikki Lindholms ppc64.ld script ...
    dc28c732
    Was butchered by c&p
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5035 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:24 +0000  
    Browse Code »
  • Relax qemu_ld/st constraints for !SOFTMMU case ...
    735ee40d
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5034 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:22 +0000  
    Browse Code »
  • Avoid clobbering input/aliased registers in !SOFTMMU+64bit+bswap case ...
    109719ec
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5033 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:19 +0000  
    Browse Dir »
  • Clear the upper 32 bits of addr_reg in TARGET_LONG_BITS == 32 case ...
    0b7c1d89
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5032 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:17 +0000  
    Browse Dir »
  • Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning ...
    a2a546b3
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5031 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2008-08-20 22:39:14 +0000  
    Browse Dir »

19 Aug, 2008
5 commits
  • Silence vmport unless DEBUG is enabled. ...
    61ada15d
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5030 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-19 19:13:06 +0000  
    Browse Code »
  • Remove unnecessary #includes from block-nbd.c ...
    c4cd07ef
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5029 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-19 19:10:38 +0000  
    Browse Dir »
  • Revert r4979 since it breaks the monitor ...
    83ab7950
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5028 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-19 14:44:22 +0000  
    Browse Code »
  • ACPI suspend type field is 3 bits long ...
    f99ed40a
    According to ACPI spec table 4-13 suspend type field should be 3 bits
    long.
    
    (Gleb Natapov)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5027 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-19 13:14:17 +0000  
    Browse Code »
  • i386: fix isapc machine ...
    d5529471
    - cirrus vga: enable graphic console
    - pc: don't use apic for interrupts on ISA machine
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5026 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-19 12:55:20 +0000  
    Browse File »

18 Aug, 2008
3 commits
  • i386: Catch all non-present ptes in cpu_get_phys_page_debug (Jan Kiszka) ...
    ca1c9e15
    It helps debugging guests when yet unmapped pages are correctly reported
    as, well, unmapped.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5025 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-18 18:00:31 +0000  
    Browse Code »
  • APIC: Do not start zero-period timers (Jan Kiszka) ...
    681f8c29
    The APIC timer must not start when the initial count is (still) zero.
    
    This caused occasional stalls when booting secondary CPUs of Linux SMP
    guests.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5024 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-18 14:19:42 +0000  
    Browse Code »
  • Report unmapped addresses in memory_dump (Jan Kiszka) ...
    c8f79b67
    Instead of dumping incorrect (ie. previously read) data, report the
    invalid virtual address to the user.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5023 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-18 14:00:20 +0000  
    Browse Code »

17 Aug, 2008
8 commits
  • Fix some warnings that would be generated by gcc -Wmissing-prototypes ...
    8fcd3692
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 20:26:25 +0000  
    Browse Code »
  • Fix warnings that would be generated by gcc -Wstrict-prototypes ...
    a5f1b965
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5021 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 20:21:51 +0000  
    Browse Code »
  • Fix 64 bit constant generation ...
    6f41b777
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5020 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 20:14:16 +0000  
    Browse Code »
  • Fix 32 bit address overflow ...
    90cbed46
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5019 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 16:13:02 +0000  
    Browse Dir »
  • Restore AREG0 after calls ...
    bffe1431
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5018 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 14:34:27 +0000  
    Browse Dir »
  • Correct 32bit carry flag for add instruction (Igor Kovalenko) ...
    2ae72bce
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5017 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-17 08:33:47 +0000  
    Browse Code »
  • Fix g364fb video emulation ...
    221bb2d5
    (Hervé Poussineau)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5016 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-17 01:44:53 +0000  
    Browse Code »
  • VMDK: Remove debug message ...
    e64995db
    (Hervé Poussineau)
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5015 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-17 01:44:40 +0000  
    Browse Code »

16 Aug, 2008
1 commit
  • Sparc code generator update (fix qemu_ld & qemu_st) ...
    56fc64df
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5014 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-16 19:54:01 +0000  
    Browse Dir »

15 Aug, 2008
4 commits
  • Use C99 initializers ...
    a245f2e7
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5013 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2008-08-15 21:30:28 +0000  
    Browse Dir »
  • Preliminary OpenBSD host support (based on OpenBSD patches by Todd T. Fries) ...
    128ab2ff
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5012 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-15 18:33:42 +0000  
    Browse Code »
  • Cancel IDE outstanding IO on device reset (Gleb Natapov) ...
    72c7b06c
    Cancel AIO in IDE layer on device rest in order to be in deterministic state
    during next boot.
    
    Signed-off-by: Gleb Natapov <gleb@qumranet.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5011 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2008-08-15 18:21:58 +0000  
    Browse Code »
  • Use AIO only if host supports it (based on OpenBSD patches by Todd T. Fries) ...
    414f0dab
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5010 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2008-08-15 18:20:52 +0000  
    Browse File »