Commit Graph

90 Commits

Author SHA1 Message Date
gikidy dc9624aa55 Remove Driver Health sample driver from OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9558 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-14 01:51:42 +00:00
gikidy 432cf05bcf A sample driver produces driver health protocol. This driver use DiskIO driver as a template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9516 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:49:48 +00:00
vanjeff 6fe852082f 1. updated PCI/AGP Devices to check RemainingDevicePath in Supported() and 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
2009-09-15 07:50:48 +00:00
eric_tian 5781db0852 if module doesn't explicitly depend on specific Pci spec, it should include 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
2009-07-24 06:15:06 +00:00
jljusten b9c6eef15b Add default parameters for EfiRom for Cirrus Logic 5430.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8943 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-14 23:32:37 +00:00
jljusten 110d3a9ac5 Use PixelFormat PixelBitMask in CirrusLogic5430Dxe driver.
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
2009-07-09 00:04:41 +00:00
vanjeff 51ebae6b69 add UndiRuntimeDxe from MdeModulePkg to OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8738 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03 14:35:24 +00:00
lgao4 c453660804 Fix Build failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8712 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 01:52:32 +00:00
jljusten 85f8bc32d4 Do not update the GL-GD5446 DRAM Control register during
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
2009-06-30 15:57:33 +00:00
jljusten 8c5c1f32a5 Do not draw anything during DrawLogo.
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
2009-06-30 15:57:31 +00:00
gikidy 8469b6628e Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8214 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:37:31 +00:00
vanjeff 9f35431085 add new files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8087 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:36:35 +00:00
vanjeff 2e2938977f retire i2c library, move its implementation to CirrusLogic5430Dxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8085 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:25:39 +00:00
lgao4 0e27fefd6a Add PCI option to generate OptionRom
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8017 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 01:18:19 +00:00
xli24 dcbb35eb6c Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:58:47 +00:00
qhuang8 712ef76bdc Removed unused library instances for Option ROM package DSC files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7380 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 03:26:01 +00:00
mdkinney 9346dfb0ff Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7371 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:31:46 +00:00
qhuang8 32438080c4 Clean up to update the reference of the these macros:
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
2008-12-16 15:32:08 +00:00
jljusten fe186365de Fix build warning generated by ICC and MSVC compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 01:24:35 +00:00
jljusten d52be0e242 Use the Controller handle to open the protocol, rather than the
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
2008-11-24 00:37:12 +00:00
jljusten 6f716497de Resolve a bug where the initial ReadEdidData 'for' loop would loop
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
2008-11-24 00:30:53 +00:00
qhuang8 3501cc994c Add the dependency of DevicePathLib for the reference of DevicePathLib macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6542 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-14 01:48:58 +00:00
jji4 ba31c2e08e Patch to remove STATIC modifier. This is on longer recommended by EFI 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
2008-10-30 06:12:45 +00:00
vanjeff bc14bdb317 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 2008-10-27 01:52:32 +00:00
xli24 cc1143b81c Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6228 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:19:48 +00:00
lgao4 7338117bbf remove the unused msa/npsd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5936 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-20 06:18:16 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
qhuang8 6fc89cb1d2 Update the library instance: PeiDxeDebugLibReportStatusCode library instance should not be applied to option ROM drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5571 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-26 07:41:52 +00:00
qhuang8 995ceff679 Fix typo in GUID declarations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5570 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-26 07:38:09 +00:00
qhuang8 93da4b6bff Fix case issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5569 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-26 07:37:34 +00:00
vanjeff 0de1895fd6 remove ACPI_DISPLAY_ADR definition, since it has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5367 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 09:19:43 +00:00
klu2 4e768df674 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4909 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:35:19 +00:00
vanjeff 31f9e63117 1. add DxeI2c Library in OptionRomPkg.
2. produce EFI_EDID_DISCOVERED_PROTOCOL and EFI_EDID_ACTIVE_PROTOCOL in CirrusLogic5430 module.
3. consume EFI_OVERRIDE_PROTOCOL in CirrusLogic5430 module.
4. setup video mode according to EDID information in CirrusLogic5430 module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4479 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 06:44:03 +00:00
qhuang8 c281c698a5 Add preparation for FAR release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4413 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-21 03:27:03 +00:00
vanjeff 6a6d955c5f Fixed potential issues to release resources when error occurs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4341 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:55:36 +00:00
vanjeff 94b73c2482 Save original PCI attributes in start() function and restore it in Stop().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4324 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 06:19:16 +00:00
qhuang8 54857d5a7c Apply library to test controller handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4323 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 06:10:27 +00:00
qhuang8 87f8ccbe19 Port CirrusLogic5430 from EDK II code base.
Add GOP, Component Name 2, Efi driver supported EFI version protocol support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4322 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 03:05:33 +00:00
qhuang8 4cc9af6c58 Update AtapiPassThru driver in Option ROM package to support to produce EFI Driver supported EFI version protocol, which is required for EFI drivers that are on PCI and other plug in cards.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4320 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 07:15:08 +00:00
qhuang8 823f7d4f93 Add OptionRomPkg, it contains AtapiPassThru driver for the test purpose of Scsi Bus support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4309 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 07:05:44 +00:00