summaryrefslogtreecommitdiffstats
path: root/OptionRomPkg
Commit message (Collapse)AuthorAgeFilesLines
* Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu2011-07-064-8/+8
| | | | | | | | | valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11984 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up invalid keywords and missing keywords in [Define] section of ↵lzeng142011-06-281-1/+2
| | | | | | | | | | INF/DEC files. Signed-off-by: lzeng14 Reviewed-by: lhauch Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11906 6f19259b-4bc3-4df7-8a09-765794883524
* update copyright line formathhtian2011-06-075-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11757 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up DEC files:mdkinney2011-05-091-8/+5
| | | | | | | | | | | | 1) Remove section header comment blocks that do not provide any information 2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead 3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions. 4) Clean up formatting of GUID structure declarations 5) Remove ".common" from section names if they are not required. 6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11632 6f19259b-4bc3-4df7-8a09-765794883524
* Add data type convert action to avoid warning.ydong102011-05-041-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11617 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run more safely.ydong102011-04-252-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11583 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg FrameBufferBltLib: Fix build warning with ICCjljusten2011-04-221-3/+2
| | | | | | | | mBltLibBytesPerPixel is UINTN, and therefore it will always be >= 0. Instead an ASSERT is used to verify that MergedMasks is non-zero. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11581 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg BltLibSample: Fix build for IPF architecturejljusten2011-04-221-3/+17
| | | | | | Use AsmReadItc for IPF and AsmReadTsc for IA32 & X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11580 6f19259b-4bc3-4df7-8a09-765794883524
* Fix an issue that upper layer driver can not use NIC card in its driver ↵tye12011-04-201-30/+22
| | | | | | binding stop(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11574 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Fix build error with BaseTools trunkjljusten2011-04-172-2/+3
| | | | | | | Fix build error with BaseTools trunk. LibraryClasses should be used instead of Libraries. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11546 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Fix Visual Studio compiler warningsjljusten2011-04-173-23/+28
| | | | | | These changes fix compiler warnings with Visual Studio 2005. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11545 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg BltLibSample: Add sample application for BltLibjljusten2011-04-123-0/+305
| | | | | | | | | This application uses BltLib to draw various items on the screen. It can be used as a test for a BltLib library implementation, and it can be used to compare the results of two BltLib implementations (such as the performance). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11523 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add GOP based BltLibjljusten2011-04-123-0/+495
| | | | | | | This BltLib provides a wrapper for calling the UEFI Graphics Output Protocol (GOP) functions for a single GOP instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11522 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add FrameBufferBltLib implementation of BltLibjljusten2011-04-123-0/+789
| | | | | | | | | | | | | | | This BltLib implementation will act on the BltLib functions by directly manipulating a memory framebuffer. Therefore, it should be usable by a Graphics Output Protocol (GOP) driver to easily implement the GOP Blt function whenever a memory framebuffer is available. It can also be used in any situation where code would prefer to not call the GOP Blt function, and would rather update the framebuffer directly. (Assuming a framebuffer is available for the graphics device.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11521 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add BltLib definitionjljusten2011-04-122-0/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | This library is intended to make it easy to perform blt operations on a GOP framebuffer without using the GOP Blt function. There can be two main forms of implementations of this library: 1) A library which interfaces directly with a framebuffer, and has no dependence on the GOP protocol. Once configured with the framebuffer parameters, it can operate directly on the framebuffer. 2) A library which interfaces with the GOP protocol. In this case this library provides a convenience layer and allows blt code to look cleaner. Potential uses for this library: * Video driver with a framebuffer will not need to implement GOP Blt function itself. Instead it can utilize an implementation of this library as described in #1 above. * OS Loader code which would like to easily use the GOP framebuffer after Exit Boot Services. This would use a library instance as described in #1 above. * Any other code which would like to call GOP blt, but simplify the code with the more convenient functions provided by this library interface. (Using a library as described in #2 above.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11520 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-101-1/+2
| | | | | | | | | | | | | 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@11372 6f19259b-4bc3-4df7-8a09-765794883524
* Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus ↵rsun32010-12-281-6/+26
| | | | | | | | | | | | | | driver/PCI host bridge drivers/LPC/VGA device drivers. 1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h. 2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol. 3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol. 4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec. 5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes. 6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases. 7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11204 6f19259b-4bc3-4df7-8a09-765794883524
* Refine some code to make code run safely.ydong102010-09-205-12/+20
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10893 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up package/platform DSC files by the following steps:lgao42010-05-211-8/+3
| | | | | | | | | 1. Remove PCDs those use the default values/types from the DEC file. 2. Remove the unused library instances. 3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10532 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2423-46/+46
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10425 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-252-4/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10080 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-235-27/+27
| | | | | | 2. Remove unnecessary .common] postfix on section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051 6f19259b-4bc3-4df7-8a09-765794883524
* Update UNDI driver to expose dynamic media detect capability.xdu22010-02-121-2/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9995 6f19259b-4bc3-4df7-8a09-765794883524
* Enable Undi driver to support multicast MAC address mapped from IPv6 addresstye2009-12-141-2/+28
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9561 6f19259b-4bc3-4df7-8a09-765794883524
* Remove Driver Health sample driver from OptionRomPkg.gikidy2009-12-148-3043/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9558 6f19259b-4bc3-4df7-8a09-765794883524
* A sample driver produces driver health protocol. This driver use DiskIO ↵gikidy2009-12-048-0/+3043
| | | | | | driver as a template. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9516 6f19259b-4bc3-4df7-8a09-765794883524
* 1. updated PCI/AGP Devices to check RemainingDevicePath in Supported() and ↵vanjeff2009-09-151-39/+77
| | | | | | | | | | | | Start() functions. The main changes are: a. Add check validation of RemainingDevicePath in Supported() b. In Star() function, if RemaingDevicePath is the End of Device Path Node, don't create child device and return EFI_SUCCESS. 2. fixed one device path issue in ScsiBus driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9264 6f19259b-4bc3-4df7-8a09-765794883524
* if module doesn't explicitly depend on specific Pci spec, it should include ↵eric_tian2009-07-243-45/+39
| | | | | | | | IndustryStandard/Pci.h rather than Pcixxx.h. Also remove those self-defined "bit(a)" macro, it had been defined as BITx in Base.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8994 6f19259b-4bc3-4df7-8a09-765794883524
* Add default parameters for EfiRom for Cirrus Logic 5430.jljusten2009-07-141-0/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8943 6f19259b-4bc3-4df7-8a09-765794883524
* Use PixelFormat PixelBitMask in CirrusLogic5430Dxe driver.jljusten2009-07-092-15/+79
| | | | | | | | | | Modify CirrusLogic5430Dxe to return mode info with PixelFormat set to PixelBitMask. This enables the Linux framebuffer code to function with the UEFI GOP framebuffer. Previously the code would return PixelBltOnly for the PixelFormat, and thus would not provide any framebuffer information. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8825 6f19259b-4bc3-4df7-8a09-765794883524
* add UndiRuntimeDxe from MdeModulePkg to OptionRomPkg.vanjeff2009-07-037-0/+7181
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8738 6f19259b-4bc3-4df7-8a09-765794883524
* Fix Build failurelgao42009-07-021-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8712 6f19259b-4bc3-4df7-8a09-765794883524
* Do not update the GL-GD5446 DRAM Control register duringjljusten2009-06-301-3/+19
| | | | | | | | InitializeGraphicsMode. The update of this register would cause the xorg-cirrus driver to mis-detect the size of video memory for the QEMU cirrus video device. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8690 6f19259b-4bc3-4df7-8a09-765794883524
* Do not draw anything during DrawLogo.jljusten2009-06-301-21/+0
| | | | | | | | Previously a series of diagonal color lines would be drawn to the screen, and then quickly replaced by the boot logo. Now the screen will remain black until the boot logo is shown. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8689 6f19259b-4bc3-4df7-8a09-765794883524
* Replace references to RFC 3066 with RFC 4646. gikidy2009-04-304-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8214 6f19259b-4bc3-4df7-8a09-765794883524
* add new files.vanjeff2009-04-152-0/+501
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8087 6f19259b-4bc3-4df7-8a09-765794883524
* retire i2c library, move its implementation to CirrusLogic5430Dxevanjeff2009-04-158-557/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8085 6f19259b-4bc3-4df7-8a09-765794883524
* Add PCI option to generate OptionRomlgao42009-04-031-0/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8017 6f19259b-4bc3-4df7-8a09-765794883524
* Add comments in DSC files to explain the function and design of components ↵xli242009-02-101-3/+16
| | | | | | section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
* Removed unused library instances for Option ROM package DSC filesqhuang82009-02-011-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7380 6f19259b-4bc3-4df7-8a09-765794883524
* Split out Synchronization Library from Base Librarymdkinney2009-01-301-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7371 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up to update the reference of the these macros:qhuang82008-12-162-2/+2
| | | | | | | | | | | | | EFI_SIGNATURE_16 -> SIGNATURE_16 EFI_SIGNATURE_32 -> SIGNATURE_32 EFI_SIGNATURE_64 -> SIGNATURE_64 EFI_FIELD_OFFSET -> OFFSET_OF EFI_MAX_BIT -> MAX_BIT EFI_MAX_ADDRESS -> MAX_ADDRESS These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7052 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build warning generated by ICC and MSVC compilers.jljusten2008-11-261-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524
* Use the Controller handle to open the protocol, rather than thejljusten2008-11-241-2/+2
| | | | | | | NULL handle which was stored in Private->Handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6689 6f19259b-4bc3-4df7-8a09-765794883524
* Resolve a bug where the initial ReadEdidData 'for' loop would loopjljusten2008-11-241-3/+6
| | | | | | | | | | | | infinitely, since the Index variable was declared as UINT8, and 'EDID_BLOCK_SIZE * 2' is 256. In the EFI_SUCCESS return path of CirrusLogic5430VideoModeSetup, check that 'EdidOverrideDataBlock' has been allocated before attempting to free this memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6688 6f19259b-4bc3-4df7-8a09-765794883524
* Add the dependency of DevicePathLib for the reference of DevicePathLib macros.qhuang82008-11-142-0/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6542 6f19259b-4bc3-4df7-8a09-765794883524
* Patch to remove STATIC modifier. This is on longer recommended by EFI ↵jji42008-10-304-25/+9
| | | | | | Framework coding style. All duplicated symbols has been renamed accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6300 6f19259b-4bc3-4df7-8a09-765794883524
* git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 ↵vanjeff2008-10-271-1/+1
| | | | 6f19259b-4bc3-4df7-8a09-765794883524
* Modify DSC file according to update of MDE library instances.xli242008-10-251-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6228 6f19259b-4bc3-4df7-8a09-765794883524
* remove the unused msa/npsd fileslgao42008-09-203-272/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5936 6f19259b-4bc3-4df7-8a09-765794883524