• It makes usb keyboard available for sh4/r2d system emulation.
    
    The changes for "hw/usb-ohci.c" are as follows.
     - 'localmem_base' is introduced as OHCIState struct member.
       SM501 has a local memory, and it is used to pass and receive data with
       OHCI driver.  OHCI driver accesses it with SH4 physical memory address,
       and SM501 accesses it with SM501 local address.  'localmem_base' holds
       where the SM501 local memory is mapped into SH4 physical address space.
     - Memory access functions modified to adjust address with 'localmem_base'.
       The functions are, ohci_read_*(), ohci_put_*(), and ohci_copy_*().
     - ohci_read_hcca() and ohci_put_hcca() are introduced for more consistent
       implementation.
    
    For other source files, it does,
     - introduces usb_ohci_init_sm501().
     - adds irq argument for SM501 initialization, to emulate USB interrupts.
    
    Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7188 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »







  • Patch 5/7
    
    This patch changes the graphical_console_init function to return an
    allocated DisplayState instead of a QEMUConsole.
    
    This patch contains just the graphical_console_init change and few other
    modifications mainly in console.c and vl.c.
    It was necessary to move the display frontends (e.g. sdl and vnc)
    initialization after machine->init in vl.c.
    
    This patch does *not* include any required changes to any device, these
    changes come with the following patches.
    
    Patch 6/7
    
    This patch changes the QEMUMachine init functions not to take a
    DisplayState as an argument because is not needed any more;
    
    In few places the graphic hardware initialization function was called
    only if DisplayState was not NULL, now they are always called.
    Apart from these cases, the rest are all mechanical substitutions.
    
    Patch 7/7
    
    This patch updates the graphic device code to use the new
    graphical_console_init function.
    
    As for the previous patch, in few places graphical_console_init was called
    only if DisplayState was not NULL, now it is always called.
    Apart from these cases, the rest are all mechanical substitutions.
    
    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@6344 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse File »







  • Use NULL to trigger unassigned memory error on 32-bit accesses instead
    of assert(0) as suggested by Blue Swirl.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5141 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse File »
  • This adds trivial support for the R2D-PLUS FPGA, mostly just for the
    versioning information that the kernel uses for IRL mappings, in addition
    to handling the heartbeat and poweroff writes.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5134 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse File »
  • Trivial patch adding CPU listing and the ability to do per-subtype
    CVR/PVR/PRR values. Presently SH7750R and SH7751R definitions are
    provided, as these are the ones in present use in-tree.
    
    The CVR value for SH7751R is intentionally restricted so the kernel
    boots, though this will want to be switched to the proper CVR value
    once system emulation has sufficiently stabilized.
    
    This also makes it trivial to abstract subtype specific registers like
    MMU_PTEA and to set up feature bits in line with the kernel probing for
    things like conditionalizing FPU/DSP context.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5133 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »