summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
Commit message (Collapse)AuthorAgeFilesLines
* OvmfPkg/*.fdf: Adjust FV/FD sizes for UNIXGCC DEBUG buildsjljusten2011-04-173-15/+15
| | | | | | | | | | | In some configurations the UNIXGCC build will run out of space when a DEBUG build is enabled. This change adjusts the flash configuration a bit to allow the build succeed on UNIXGCC. The final flash image still remains 1MB in size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11547 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add QemuVideoDxe driverjljusten2011-04-1214-20/+2054
| | | | | | | | This driver provides a UEFI Graphics Output Protocol (GOP) driver for the QEMU Cirrus VGA hardware. It enables 24-bit color, and uses the standard 32-bit GOP pixel format whenever possible. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11524 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/*.dsc: Change FileHandleLib instance pathjljusten2011-03-313-3/+3
| | | | | | | This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11492 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/PlatformPei: Fix issue with 'RELEASE' tag buildjljusten2011-03-221-2/+7
| | | | | | | | When building in release mode on OVMF, the ASSERT_EFI_ERROR macro is empty. So, to set the BootMode, in a release build, it must be outside of ASSERT_EFI_ERROR. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11413 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/PlatformPei: Set BootMode, install MasterBootMode PPIjljusten2011-03-222-0/+26
| | | | | | | MdeModulePkg/Core/DxeIplPeim is now dependent on gEfiPeiMasterBootModePpiGuid in order to run. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11412 6f19259b-4bc3-4df7-8a09-765794883524
* Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.vanjeff2011-03-141-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-103-0/+3
| | | | | | | | | | | | | adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11373 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add create-release.py scriptjljusten2011-02-231-0/+240
| | | | | | | This script builds OVMF IA32 and X64, and packages both versions for release. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11337 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg NvVarsFileLib: Leverage SerializeVariablesLibjljusten2011-01-304-536/+94
| | | | | | | Utilize SerializeVariablesLib to simplify this library's implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11286 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add SerializeVariablesLib library instancejljusten2011-01-306-0/+941
| | | | | | | This library implements the library class interface defined at: OvmfPkg/Include/Library/SerializeVariablesLib.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11285 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add SerializeVariablesLib library classjljusten2011-01-302-1/+234
| | | | | | | | This library provides an interface for converting the system variables into a binary and also restoring the system variables from that binary. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11284 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg ResetSystemLib: Fix build issue with VS2005jljusten2011-01-271-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11276 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add support for memory above 4GBjljusten2011-01-213-7/+81
| | | | | | | | When QEMU has more than 3.5GB of RAM, it will map the additional memory above 4GB. This change will make that RAM accessible to OVMF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11266 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add NullMemoryTestDxe driverjljusten2011-01-216-1/+6
| | | | | | | This driver will find untested memory in the system, and make it available to the system. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11265 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add DEBUG messages to dump the contents of CMOSjljusten2011-01-211-0/+24
| | | | | | | | The contents of CMOS on boot can describe some aspects of the system configuration. For example, the size of memory available to qemu/kvm. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11264 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg EmuVariableFvb: Use 64-bit NV storage PCDjljusten2011-01-165-5/+5
| | | | | | | | | | Change from using PcdFlashNvStorageVariableBase to PcdFlashNvStorageVariableBase64. This will make sure the EMU Variable FVB will function in systems with more than 4GB of memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11252 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg ResetSystemLib: Add shutdown support for OVMFjljusten2011-01-135-6/+145
| | | | | | | This library will allow the UEFI RuntimeServices ResetSystem call to function with OVMF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11251 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/PlatformPei: Set PM base address OVMFjljusten2011-01-132-0/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11250 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/build.sh: Recognize '-p' switchjljusten2011-01-131-3/+11
| | | | | | This allows the .dsc file to be specified for the build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11249 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLibjljusten2011-01-094-4/+145
| | | | | | Add PlatformFvbDataRead and PlatformFvbBlocksErased functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11241 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg EMU FVB: Convert to FVB2 protocoljljusten2011-01-095-24/+24
| | | | | | | Convert from using EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL to EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11240 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg PlatformFvbLib: Change PlatformFvbDataWrittenjljusten2011-01-094-8/+26
| | | | | | | | The new parameters closely match the EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL Write function parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11239 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg/build.sh: Add features and replace build32/64.shjljusten2011-01-093-158/+116
| | | | | | | | | | | | | | | Add a single build.sh to replace build32.sh & build64.sh. The script watches for various parameters: -a: allows selecting IA32 or X64 (default) -b: allows selecting RELEASE or DEBUG (default) -t: allows selecting the toolchain When running qemu, the script doesn't always add -hda now. If the user provides a disk parameter (for example, -fda, -hda or -cdrom), then -hda will not be added to the qemu command line. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11238 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Work around issue seen with kvm + grub2 (efi)jljusten2010-12-313-24/+6
| | | | | | | | | | | | | | | | | When OVMF is run with kvm and grub2 (efi), an exception occurs when mmx/sse registers are accessed. As a work around, this change eliminates firmware usage of these register types. First, only the BaseMemoryLib implementation MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf is used. Second, the GCC compiler is passes the additional '-mno-mmx -mno-sse' parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11218 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add USB supportjljusten2010-12-316-2/+59
| | | | | | Add USB drivers to OVMF build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11217 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg README: Group network information togetherjljusten2010-12-311-20/+30
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11216 6f19259b-4bc3-4df7-8a09-765794883524
* OvmfPkg: Add build32.sh and build64.sh scriptsjljusten2010-12-313-0/+251
| | | | | | | | | These scripts are similar to those found under DuetPkg & UnixPkg. The scripts simplify building and running OVMF under systems that have the bash shell available. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11215 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during bootjljusten2010-12-063-0/+3
| | | | | | | | | PcdResetOnMemoryTypeInformationChange is required to be set to TRUE for ACPI S4 support. These platforms do not support ACPI S4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11120 6f19259b-4bc3-4df7-8a09-765794883524
* Fix PCD token value conflict issue.gikidy2010-11-021-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10996 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF: Only enable MDEPKG_NDEBUG for RELEASE buildsjljusten2010-10-133-19/+19
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10929 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF: Support greater than 2GB of memoryjljusten2010-10-133-12/+19
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10928 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF BDS: Don't call BdsLibSaveMemoryTypeInformationjljusten2010-10-131-2/+1
| | | | | | | | | | | | | | | | This call can cause a reset, and is most critical for ACPI S3/S4 resume situations. OVMF does not support S3/S4. OVMF does not have true non-volatile variable support, so this call could cause a continuous reset situation in certain scenarios. (The BdsLibSaveMemoryTypeInformation may set an non-volatile variable, and then reset with the assumption that the variable will still exist during the next boot.) Additionally, some version of QEMU appear to hang when the port 64 reset is initiated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10927 6f19259b-4bc3-4df7-8a09-765794883524
* Update Ovmf DSC/FDF files to support source debugging feature that will be ↵vanjeff2010-09-126-9/+81
| | | | | | switched on by "-D SOURCE_DEBUG_ENABLE". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10868 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up SEC implementation for Ovmf.mdkinney2010-08-0314-938/+701
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10770 6f19259b-4bc3-4df7-8a09-765794883524
* Add support for e1000 NICs to OVMFmdkinney2010-07-267-16/+498
| | | | | | | | | | 1) Update README describing the QEMU version required for e1000, where to download the UEFI drivers for e1000, and how to enable network drivers in the platform firmware 2) Update DSC/FDF files NETWORK_ENABLE switch to enable e1000 and network driver support git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10697 6f19259b-4bc3-4df7-8a09-765794883524
* Update OVMF Platform PEI to declare IO and MMIO resources.mdkinney2010-07-161-23/+28
| | | | | | | Update default memory type information to reduce EFI Memory Map fragmentation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10657 6f19259b-4bc3-4df7-8a09-765794883524
* Update OVMF BDS Library to call GenericBdsLib function to save ↵mdkinney2010-07-041-0/+1
| | | | | | gEfiMemoryTypeInformation git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10627 6f19259b-4bc3-4df7-8a09-765794883524
* Fix FFS file type for binary modules of type UEFI_DRIVERmdkinney2010-06-292-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10614 6f19259b-4bc3-4df7-8a09-765794883524
* Remove extra references to binary INFs from DSC filemdkinney2010-06-295-24/+34
| | | | | | | Add build rules for BINARY INFs to the FDF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10610 6f19259b-4bc3-4df7-8a09-765794883524
* Simplify DSC/FDF files for OVMF mdkinney2010-06-255-154/+74
| | | | | | | | Remove duplicate FFS file GUID that would cause incremental builds to fail. Final output file is OVMF.FD and that is what should be used as bios.bin when running QEMU. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10605 6f19259b-4bc3-4df7-8a09-765794883524
* Move SecExtractGuidedSectionLib instance from OvmfPkg to MdePkglgao42010-05-055-471/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10458 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2857-114/+114
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10439 6f19259b-4bc3-4df7-8a09-765794883524
* Remove Framework DataHubDxe and DataHubStdErrDxe drivers from EDKII native ↵lgao42010-04-225-7/+0
| | | | | | PI/UEFI OVMF platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10394 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-063-3/+3
| | | | | | modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10344 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF BlockMmioToBlockIoDxe: Fix build error for VS2005jljusten2010-03-231-4/+4
| | | | | | | The previous code would generate compiler intrinsic function calls. Patch provided by Scott Wang. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10305 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF: Add BlockMmioToBlockIoDxe driverjljusten2010-03-219-2/+1094
| | | | | | | This driver will wrapper BlockMmio protocol instances to produce the standard UEFI BlockIo protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10296 6f19259b-4bc3-4df7-8a09-765794883524
* OVMF: Add Block MMIO protocol definitionjljusten2010-03-212-0/+53
| | | | | | | | | | | | This protocol is similar to the standard UEFI BlockIo protocol, except it has no function calls and simply defines a base address in memory where reads & writes for the block device should occur. One planned usage is to fill a memory region with a small disk image, and allow it to be used as a normal disk by the standard drivers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10295 6f19259b-4bc3-4df7-8a09-765794883524
* Merge the same type PCD section.lgao42010-03-153-30/+23
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10243 6f19259b-4bc3-4df7-8a09-765794883524
* Still use |.efi Rule for INF file with binary EFI image, because the binary ↵lgao42010-03-021-2/+17
| | | | | | EFI image specified INF file is not in output directory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10150 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing OUTPUT directory for the EFI and depex file in Rule section.lgao42010-03-012-32/+32
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10135 6f19259b-4bc3-4df7-8a09-765794883524