aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-13Update version to 0.6.1rel-0.6.1Kevin O'Connor1-1/+1
2010-09-02Support Samsung SE-S084 USB DVD drive (and probably many others)Kevin O'Connor2-3/+7
A full implementation of ATAPI USB support would need to translate / filter certain package types or some devices might not work. No previously working devices break with the patch, so it is fine to commit. Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
2010-09-02pciinit: remove unused variable, old_addr, in pci_set_io_region_addr().Isaku Yamahata1-3/+1
old_addr is initialized, but not used. remove the useless variable. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-08-28Minor - indentation change to jpeg.c.Kevin O'Connor1-8/+8
2010-08-28Enhance tools/readserial.py to support reading from a pipe.Kevin O'Connor1-12/+31
Add option parsing support to tool. Enable option (-f) to read from a pipe - which is useful when redirecting qemu's debugging log to a pipe with: -chardev pipe,id=seabios,path=seabioslog -device isa-debugcon,iobase=0x402,chardev=seabios
2010-08-28Make tools/transdump.py more resilient to unknown input.Kevin O'Connor1-2/+2
2010-08-25Update qemu_cfg_read to use "rep insb".Kevin O'Connor1-2/+1
Use rep insb instead of manual loop - the host may be able to optimize the rep insb instruction.
2010-08-25Only show bootsplash during boot menu.Kevin O'Connor5-38/+27
When the bootsplash picture is shown, it's not possible to see text. So, only display the picture while prompting the user for the boot menu.
2010-08-24add write support to virtio-blkGleb Natapov1-6/+9
Windows XP does write to sector 0 during installation and prints mysterious error if write fails. Interestingly if write drops data, but returns OK to Windows installer installation proceed without complains and completes successfully. Signed-off-by: Gleb Natapov <gleb@redhat.com>
2010-08-24Don't try to talk to APIC on 486Lubomir Rintel1-1/+1
It only has one cpuid level, therefore it can't report whether it has an APIC. It probably hasn't; assume that. Without this, SeaBIOS would get stuck on qemu -M isapc. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2010-08-03Add ACPI SSDT/DSDT support for CPU hotplug.Kevin O'Connor4-376/+586
Move the SSDT defined processors from _PR to _SB namespace. Extend the dynamically generated SSDT to include per cpu hotplug methods. These methods just call methods defined in the DSDT. Also dynamically generate a NTFY method and a CPON array of the online/available CPUs. Add file src/ssdt-proc.dsl with directions for generating the per-cpu processor object AML code. Extend the DSDT to include methods for handling cpu hotplug notifications and methods for handling cpu status requests originating from the SSDT methods.
2010-08-03Add additional debug status messages to bootsplash code.Kevin O'Connor1-0/+7
2010-07-30Allow qemu to use bootsplash code via fwcfg interface.Kevin O'Connor1-12/+13
All the bootsplash code to pull the jpeg file from either cbfs (on coreboot) or fwcfg (on qemu).
2010-07-30Add tools/trandump.py tool for converting hexdump() output.Kevin O'Connor1-0/+50
Add tool for converting the output from hexdump() back into its original binary form. This can be useful for use with tools such as hexdump and objdump.
2010-07-30Default bootsplash on (for coreboot users).Kevin O'Connor2-2/+2
2010-07-30Autodetect video mode based on bootsplash jpeg dimensions.Kevin O'Connor2-47/+69
Replace video mode settings in config.h with a system to auto-detect a video mode for the given bootsplash.jpg file.
2010-07-30Rename "decdata" to "jpeg" in bootsplash - to be consistent with jpeg.c.Kevin O'Connor1-10/+10
Also rename "jpeg" to "filedata" to avoid a conflict.
2010-07-30Breakup jpeg_decode into parsing and displaying phases.Kevin O'Connor3-34/+42
Split the screen display code out of the jpeg parsing code. Allow ability for caller to obtain jpeg dimensions.
2010-07-30Avoid using BSS variables in jpeg.c.Kevin O'Connor3-163/+158
Using BSS increases the rom size (and reduce space for option roms). So, move BSS variables in the jpeg.c code to malloc'd memory. Also, move struct and error declarations from jpeg.h to jpeg.c.
2010-07-28Add FUNC16() helper macro for converting a 16bit func to a segoff_s.Kevin O'Connor8-48/+34
2010-07-27Handle unaligned sizes in iomemcpy().Kevin O'Connor2-7/+9
This fixes a bug causing truncation of uncompressed files in cbfs_copyfile().
2010-07-27Cleanup bootsplash vesa signature detection.Kevin O'Connor1-5/+6
2010-07-26Be sure to disable bootsplash on all BIOS boot cases.Kevin O'Connor4-9/+19
Disable the bootsplash on cbfs payload exec, and if something hooks int19. Also, be sure to only disable the bootsplash (revert to text mode) once.
2010-07-26Add call16_int10 helper to bootsplash.c.Kevin O'Connor1-16/+16
2010-07-26Don't do "double buffering" in bootsplash code.Kevin O'Connor1-40/+9
Not all vgabios support off screen framebuffers. Instead, decompress the picture into ram, and then copy it into the framebuffer. This ensures a fast display time without requiring any special vga support.
2010-07-26Check that malloc succeeds in bootsplash code.Kevin O'Connor1-45/+36
Perform all the memory allocations up front and verify that all of them succeed.
2010-07-26Bootsplash fixes and cleanups.Kevin O'Connor2-26/+23
VESA structs must be in first 1Meg - so use malloc_tmplow(). Use 'struct segoff_s' for segment/offset pairs in vesa structs. Don't call start/finish_preempt() around jpeg_decode() - the preempt only works when calling functions in 16bit mode. Some indentation and debug output enhancements.
2010-07-26Minor - clarify bit logic in mptable.c.Kevin O'Connor1-2/+2
2010-07-26Fix integer truncating bug in calc_future_timer().Kevin O'Connor1-2/+2
Be sure to promote to u64 before multiplication.
2010-07-26seabios: pciinit: fix 64bit bar initilization.Isaku Yamahata1-6/+2
When 64bit bar allocation failed, leave it untouched as 32bit bar case. There is no point to set higher bit to all 1, it is just leftover from debug code. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-25Minor - introduce GDT_GRANLIMIT macro.Kevin O'Connor2-9/+13
Add macro to improve readability of GDT limit definitions.
2010-07-25Avoid code addresses >64K in big real mode.Kevin O'Connor2-3/+3
Kvm has some limitations with code addresses in big real mode, so avoid doing that.
2010-07-24seabios: smm: move out piix4 specific smram logic to dev-i440fx.cIsaku Yamahata4-33/+62
move out piix4 specific smram logic to dev-i440fx.c. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: shadow: make device finding more generic.Isaku Yamahata4-41/+81
pam register offset is north bridge specific. So determine the offset based on found north bridge. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: acpi: clean up of finding pm device.Isaku Yamahata1-2/+8
Make it table driven to other chip set. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: acpi: split out piix4 pm logic.Isaku Yamahata3-4/+26
split out piix4 pm logic. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: acpi: move acpi definitions to acpi.h from acpi.cIsaku Yamahata2-73/+76
Move ACPI_TABLE_HEADER_DEF and struct fadt_descriptor_rev1 from acpi.h to acpi.c for later use. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: acpi: move out endian conversion helper function.Isaku Yamahata2-10/+10
move out cpu_to_le{32, 16} from acpi.c to util.h. Those will be used by other files later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-24seabios: pci: introduce helper function to find device from table and ↵Isaku Yamahata2-0/+13
initialize it. introduce helper function to find device from table and initialize it. pci_find_init_device(). This will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-10smbios: Allow all fields to be set via qemu_cfg_smbios_load_field()Alex Williamson1-81/+141
The protocol we use between qemu and seabios already allows any field to be specified (via smbios_add_field() in qemu). This patch makes seabios look for qemu specified values for nearly every field we set in the types 0,1,3,4,16,17,32 smbios tables. No change in current default values for any fields. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2010-07-10seabios: pciinit: use pci device initializer helper function.Kevin O'Connor5-89/+144
This patch makes use of pci device initialization helper function to convert if/switch clause to table driven. So this makes it easier to add q35 initialization code. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-10seabios: pci: introduce helper function to initialize a given device.Isaku Yamahata2-0/+54
introduce helper function to initialize a given device, This will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-08virtio: Clear interrupt status register in virtio-blkStefan Hajnoczi2-0/+10
The VRING_AVAIL_F_NO_INTERRUPT flag is a hint that interrupts should be suppressed. It does not guarantee that interrupts will not be raised. Therefore, make sure to clear the interrupt after each virtio-blk read. This avoids a stuck interrupt interfering with the OS loaded later in the boot process. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2010-07-04seabios: pciinit: initialize pci bridge filtering registers.Isaku Yamahata1-3/+103
initialize pci bridge filtering registers. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: pci bridge bus initialization.Isaku Yamahata1-0/+70
pci bridge bus initialization. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: make bar offset calculation pci bridge aware.Isaku Yamahata1-1/+5
This patch makes pci bar offset calculation pci bridge aware. The offset of pci bridge rom is different from normal device. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: factor out bar offset calculation.Isaku Yamahata1-10/+10
This patch factors out bar offset calculation. Later the calculation logic will be enhanced. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: make pci bar assigner preferchable memory aware.Isaku Yamahata2-7/+59
Make pci bar assigner preferchable memory aware. This is needed for PCI bridge support because memory space and prefetchable memory space is filtered independently based on memory base/limit and prefetchable memory base/limit of pci bridge. On bus 0, such a distinction isn't necessary so keep existing behavior by checking bus=0. With this patch, pci mem assignment area has been decreased. To make seabios behave as before for compatible reason, define CONFIG_OLD_PCIMEM_ASSIGNMENT. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: make pci memory space assignment 64bit aware.Isaku Yamahata1-2/+17
make pci memory space assignment 64bit aware. If 64bit memory space is found while assigning pci memory space, clear higher bit and skip to next bar. This patch is preparation for q35 chipset initialization which has 64bit bar. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2010-07-04seabios: pciinit: factor out pci bar region allocation logic.Isaku Yamahata1-37/+47
factor out pci bar region allocation logic. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>