• This patch increases by 50 % the size available for option roms.
    The main motivator is that some roms grew bigger than the 64k we
    currently allocate for them (Hey, it's 2009!)
    
    One example is the gpxe project, that produces some roms with 69k,
    70k, etc. The space proposed by this patch actually makes it as
    big as 84k. Probably still a fit for some time.
    
    But there is no free lunch. This space must come from somewhere,
    and we take it from vga rom space. Currently, our vga roms are
    around 35k in size. With this patch, option rom space will begin
    just after vga ends, aligned to the next 2k boundary.
    
    Technicaly, we could do the same with the uper space (the bios itself),
    but since bochs bios is already 128 k in size, I don't see an
    urgent need to do it.
    
    [ fix case for vgabioses smaller than 30k, by Carl-Daniel Hailfinger ]
    
    Signed-off-by: Glauber Costa <glommer@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6896 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Dir »


  • Refactor the monitor API and prepare it for decoupled terminals:
    term_print functions are renamed to monitor_* and all monitor services
    gain a new parameter (mon) that will once refer to the monitor instance
    the output is supposed to appear on. However, the argument remains
    unused for now. All monitor command callbacks are also extended by a mon
    parameter so that command handlers are able to pass an appropriate
    reference to monitor output services.
    
    For the case that monitor outputs so far happen without clearly
    identifiable context, the global variable cur_mon is introduced that
    shall once provide a pointer either to the current active monitor (while
    processing commands) or to the default one. On the mid or long term,
    those use case will be obsoleted so that this variable can be removed
    again.
    
    Due to the broad usage of the monitor interface, this patch mostly deals
    with converting users of the monitor API. A few of them are already
    extended to pass 'mon' from the command handler further down to internal
    functions that invoke monitor_printf.
    
    At this chance, monitor-related prototypes are moved from console.h to
    a new monitor.h. The same is done for the readline API.
    
    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@6711 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »



  • On the MIPS Magnum, the time that is held in the RTC's NVRAM should be
    relative to midnight on 1980-01-01.  This patch adds an extra parameter
    to rtc_init(), allowing different epochs to be used.  For the Magnum,
    1980 is specified, and for all other machines, 2000 is specified.
    
    I've not modified the handling of the century byte, as with an epoch of
    1980 and a year of 2009, one could argue that it should hold either
    0, 1, 19 or 20.  NT 3.50 on MIPS does not read the century byte.
    
    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@6429 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 Code »
  • r6322 introduced a warning pointed out by Jan Kiszka.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6342 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »