1. 14 1月, 2010 11 次提交
  2. 13 1月, 2010 18 次提交
  3. 12 1月, 2010 11 次提交
    • B
      Sparc64: enable real access to PCI configuration space · 5a5d4a76
      Blue Swirl 提交于
      Leave the bogus access method used by OpenBIOS in place for now.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5a5d4a76
    • A
      Update to SeaBIOS 0.5.1 · c3863f25
      Anthony Liguori 提交于
        5da6833 Update version to 0.5.1
        669c991 Fix sign error preventing incorrect memory over 4gig calculation.
        7e6bd3e Minor - better indent assembler in int1587.
        48cf232 Add comment explaining why mptable is in low memory.
        643062f Add int1589 support.
        085debd Set FDPT in irq table even for small drives.
        7c1b186 Reduce #ifs by weeding out some cross-chunk function definitions.
        f9b25d3 Fix vgahook sign issue; add warning to build to catch future cases.
        3862b2d vgabios: Fix compile error due to fixed prototypes.
        1ca05b0 Be sure to add "void" to all function prototypes that take no args.
        b5bb9db mptable: Reset pinmask on new bus or device.
        8918989 Detect latest FC12 gcc -combine breakage.
        c9d3c2d Minor vga binary cleanups.
        9a8609f Make MTRR region 0xc0000-0x100000 be cached.
        fdca418 Force a link error if a function is used from the wrong code chunk.
        dad41d9 Add __noreturn define for __attribute__((noreturn)).
        c003148 Implement native 32bit APM support.
        5c99b6c Commit compiled dsdt file; misc comment updates.
        29f4b91 prevent acpi from rerouting SCI interrupt
        4c94b7e enumerate all PCI buses in mptable
        871e0a0 Add support for 32bit PCI BIOS entry.
        eda2c83 Only add "addr32" to memory accesses that require them.
        52a300f Introduce MODESEGMENT define; rename VISIBLE32 to VISIBLE32FLAT.
        fe2c3ee Allocate smbios in temp space and copy into final location.
        b164d2c Clear user reserved interrupts (0x60-0x66).
        d9104ff Remove pci_bios_bigmem_addr; set pci_bios_mem_addr=0xe0000000
        14021f2 Add initial support for ATA DMA.
        8362699 Allocate mptable in temp space and copy into final location.
        979862e Also report memory over 4G during init.
        928d4df provide correct pci routing information in mptable
        afc02da Add symbolic definitions for MTRR code.
        fb214dc Fix yield() so it works from boot code.
        2ceeec9 Fix potential build failure due to text16 section being too large.
        a2195e4 Increase version in preparation for next release.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c3863f25
    • B
      ca1a8a06
    • G
      pc: add rombar to compat properties for pc-0.10 and pc-0.11 · 20a86364
      Gerd Hoffmann 提交于
      So '-M pc-0.10' and '-M pc-0.11' will use the fw_cfg rom load method
      by default.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      20a86364
    • G
      pci: allow loading roms via fw_cfg. · 88169ddf
      Gerd Hoffmann 提交于
      This patch adds a pci bus property 'rombar' which specifies whenever
      the pci rom should be loaded via pci rom bar (default) or via fw_cfg.
      The later can be used for compatibility with older qemu versions where
      no pci rom bar is present.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      88169ddf
    • G
      roms: rework rom loading via fw · 8832cb80
      Gerd Hoffmann 提交于
      This patch changes the way rom loading via fw_cfg is handled.
      Instead of having pc_init1() call a function which passed all
      roms to the firmware config we simply pass a pointer to fw_cfg
      to the rom loader.
      
      Advantage: loading roms via firmware works also for devices which
      are initialized after pc_init1(), i.e. everyting added via -device.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8832cb80
    • G
      fw_cfg: rom loader tweaks. · de9352bc
      Gerd Hoffmann 提交于
      Changes:
       - make dir argument mandatory, we allways have one anyway
         (vgaroms or genroms).
       - check for duplicates, skip loading if found.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      de9352bc
    • G
      roms: minor fixes and cleanups. · bdb5ee30
      Gerd Hoffmann 提交于
      Changes:
        - Drop extra file argument from rom_add_file().
        - Drop fw_dir check in do_info_roms, we allways have a dir name.
        - code style fixes.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bdb5ee30
    • G
      pc: add machine type for 0.12 · 2cae6f5e
      Gerd Hoffmann 提交于
      Add a new machine type for qemu 0.12.
      
      Also fixup the 0.11 machine type: msi for virtio-blk-pci was enabled
      after the 0.11 release, so turn it off in the 0.11 machine type.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      2cae6f5e
    • T
      Handle TFTP ERROR from client · bfe4e172
      Thomas Horsten 提交于
      If a PXE client only wants to find out the size of a file, it will
      open the file and then abort the transfer by sending a TFTP ERROR packet.
      
      The ERROR packet should cause qemu to terminate the session. If not,
      the sessions will soon run out and cause timeouts in the client.
      
      Also, if a TFTP session already exists with same IP/UDP port, it
      should be terminated when a new RRQ is received, instead of creating a
      duplicate (which will never be used).
      
      A patch for gPXE to send the ERROR packet is also being submitted to
      gPXE. Together they resolve slowness/hanging when booting pxegrub from
      qemu's internal TFTP server. The patch from Milan Plzik to return
      after sending OACK is also required for a complete fix.
      Signed-off-by: NThomas Horsten <thomas@horsten.com>
      Signed-off-by: NMilan Plzik <milan.plzik@gmail.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bfe4e172
    • C
      dmg: fix ->open failure · 1559ca00
      Christoph Hellwig 提交于
      Currently the dmg image format driver simply opens the images as raw
      if any kind of failure happens.  This is contrarty to the behaviour
      of all other image formats which just return an error and let the
      block core deal with it.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      1559ca00