aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update version to 0.6.1.1.rel-0.6.1.1Kevin O'Connor2010-10-311-1/+1
|
* mark irq9 active high in DSDTKevin O'Connor2010-10-312-980/+1040
| | | | | | | | In PIIX4 SCI (irq9) is active high. Seabios marks it so in interrupt override table, but some OSes (FreeBSD) require the same information to be present in DSDT too. Make it so. Signed-off-by: Gleb Natapov <gleb@redhat.com>
* Update version to 0.6.1rel-0.6.1Kevin O'Connor2010-09-131-1/+1
|
* Support Samsung SE-S084 USB DVD drive (and probably many others)Kevin O'Connor2010-09-022-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>
* pciinit: remove unused variable, old_addr, in pci_set_io_region_addr().Isaku Yamahata2010-09-021-3/+1
| | | | | | | old_addr is initialized, but not used. remove the useless variable. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Minor - indentation change to jpeg.c.Kevin O'Connor2010-08-281-8/+8
|
* Enhance tools/readserial.py to support reading from a pipe.Kevin O'Connor2010-08-281-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
* Make tools/transdump.py more resilient to unknown input.Kevin O'Connor2010-08-281-2/+2
|
* Update qemu_cfg_read to use "rep insb".Kevin O'Connor2010-08-251-2/+1
| | | | | Use rep insb instead of manual loop - the host may be able to optimize the rep insb instruction.
* Only show bootsplash during boot menu.Kevin O'Connor2010-08-255-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.
* add write support to virtio-blkGleb Natapov2010-08-241-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>
* Don't try to talk to APIC on 486Lubomir Rintel2010-08-241-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>
* Add ACPI SSDT/DSDT support for CPU hotplug.Kevin O'Connor2010-08-034-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.
* Add additional debug status messages to bootsplash code.Kevin O'Connor2010-08-031-0/+7
|
* Allow qemu to use bootsplash code via fwcfg interface.Kevin O'Connor2010-07-301-12/+13
| | | | | All the bootsplash code to pull the jpeg file from either cbfs (on coreboot) or fwcfg (on qemu).
* Add tools/trandump.py tool for converting hexdump() output.Kevin O'Connor2010-07-301-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.
* Default bootsplash on (for coreboot users).Kevin O'Connor2010-07-302-2/+2
|
* Autodetect video mode based on bootsplash jpeg dimensions.Kevin O'Connor2010-07-302-47/+69
| | | | | Replace video mode settings in config.h with a system to auto-detect a video mode for the given bootsplash.jpg file.
* Rename "decdata" to "jpeg" in bootsplash - to be consistent with jpeg.c.Kevin O'Connor2010-07-301-10/+10
| | | | Also rename "jpeg" to "filedata" to avoid a conflict.
* Breakup jpeg_decode into parsing and displaying phases.Kevin O'Connor2010-07-303-34/+42
| | | | | | Split the screen display code out of the jpeg parsing code. Allow ability for caller to obtain jpeg dimensions.
* Avoid using BSS variables in jpeg.c.Kevin O'Connor2010-07-303-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.
* Add FUNC16() helper macro for converting a 16bit func to a segoff_s.Kevin O'Connor2010-07-288-48/+34
|
* Handle unaligned sizes in iomemcpy().Kevin O'Connor2010-07-272-7/+9
| | | | | This fixes a bug causing truncation of uncompressed files in cbfs_copyfile().
* Cleanup bootsplash vesa signature detection.Kevin O'Connor2010-07-271-5/+6
|
* Be sure to disable bootsplash on all BIOS boot cases.Kevin O'Connor2010-07-264-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.
* Add call16_int10 helper to bootsplash.c.Kevin O'Connor2010-07-261-16/+16
|
* Don't do "double buffering" in bootsplash code.Kevin O'Connor2010-07-261-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.
* Check that malloc succeeds in bootsplash code.Kevin O'Connor2010-07-261-45/+36
| | | | | Perform all the memory allocations up front and verify that all of them succeed.
* Bootsplash fixes and cleanups.Kevin O'Connor2010-07-262-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.
* Minor - clarify bit logic in mptable.c.Kevin O'Connor2010-07-261-2/+2
|
* Fix integer truncating bug in calc_future_timer().Kevin O'Connor2010-07-261-2/+2
| | | | Be sure to promote to u64 before multiplication.
* seabios: pciinit: fix 64bit bar initilization.Isaku Yamahata2010-07-261-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>
* Minor - introduce GDT_GRANLIMIT macro.Kevin O'Connor2010-07-252-9/+13
| | | | Add macro to improve readability of GDT limit definitions.
* Avoid code addresses >64K in big real mode.Kevin O'Connor2010-07-252-3/+3
| | | | | Kvm has some limitations with code addresses in big real mode, so avoid doing that.
* seabios: smm: move out piix4 specific smram logic to dev-i440fx.cIsaku Yamahata2010-07-244-33/+62
| | | | | | move out piix4 specific smram logic to dev-i440fx.c. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* seabios: shadow: make device finding more generic.Isaku Yamahata2010-07-244-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>
* seabios: acpi: clean up of finding pm device.Isaku Yamahata2010-07-241-2/+8
| | | | | | Make it table driven to other chip set. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* seabios: acpi: split out piix4 pm logic.Isaku Yamahata2010-07-243-4/+26
| | | | | | split out piix4 pm logic. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* seabios: acpi: move acpi definitions to acpi.h from acpi.cIsaku Yamahata2010-07-242-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>
* seabios: acpi: move out endian conversion helper function.Isaku Yamahata2010-07-242-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>
* seabios: pci: introduce helper function to find device from table and ↵Isaku Yamahata2010-07-242-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>
* smbios: Allow all fields to be set via qemu_cfg_smbios_load_field()Alex Williamson2010-07-101-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>
* seabios: pciinit: use pci device initializer helper function.Kevin O'Connor2010-07-105-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>
* seabios: pci: introduce helper function to initialize a given device.Isaku Yamahata2010-07-102-0/+54
| | | | | | | introduce helper function to initialize a given device, This will be used later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* virtio: Clear interrupt status register in virtio-blkStefan Hajnoczi2010-07-082-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>
* seabios: pciinit: initialize pci bridge filtering registers.Isaku Yamahata2010-07-041-3/+103
| | | | | | initialize pci bridge filtering registers. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* seabios: pciinit: pci bridge bus initialization.Isaku Yamahata2010-07-041-0/+70
| | | | | | pci bridge bus initialization. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* seabios: pciinit: make bar offset calculation pci bridge aware.Isaku Yamahata2010-07-041-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>
* seabios: pciinit: factor out bar offset calculation.Isaku Yamahata2010-07-041-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>
* seabios: pciinit: make pci bar assigner preferchable memory aware.Isaku Yamahata2010-07-042-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>