David Woodhouse | c0a2284 | 2013-02-08 15:52:01 +0000 | [diff] [blame] | 1 | Enabling CONFIG_CSM allows SeaBIOS to be built as a Compatibility Support |
| 2 | Module for use with the OMVF/EDK-II UEFI firmware. |
| 3 | |
| 4 | It will provide "legacy" BIOS services for booting non-EFI operating |
| 5 | systems and will also allow OVMF to display on otherwise unsupported |
| 6 | video hardware by using the traditional VGA BIOS. |
| 7 | |
| 8 | Windows 2008r2 is known to use INT 10h BIOS calls even when booted via |
| 9 | EFI, and the presence of a CSM makes this work as expected too. |
| 10 | |
| 11 | Having built SeaBIOS with CONFIG_CSM, you should be able to drop the |
Kevin O'Connor | 8744e15 | 2013-10-14 21:52:28 -0400 | [diff] [blame^] | 12 | result (out/Csm16.bin) into your OVMF build tree at |
| 13 | OvmfPkg/Csm/Csm16/Csm16.bin and then build OVMF with 'build -D |
| 14 | CSM_ENABLE'. The SeaBIOS binary will be included as a discrete file |
| 15 | within the 'Flash Volume' which is created, and there are tools which |
| 16 | will extract it and allow it to be replaced; satisfying the |
| 17 | requirements of the LGPL licence. |
David Woodhouse | c0a2284 | 2013-02-08 15:52:01 +0000 | [diff] [blame] | 18 | |
| 19 | A patch to OVMF is required, to prevent it from marking the region from |
| 20 | 0xC0000-0xFFFFF as read-only before invoking our Legacy16Boot method. See |
| 21 | http://www.sourceforge.net/mailarchive/forum.php?thread_name=50FD7290.9060003%40redhat.com&forum_name=edk2-devel |
| 22 | |