Commit Graph

424 Commits

Author SHA1 Message Date
mdkinney 6c6004f491 Fix build break for missing PeCoffLib mapping
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7476 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 20:41:49 +00:00
mdkinney 2fb718b064 Update PCI Bus Driver to use the PeCoffLib instead of paring the PE/COFF image itself
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7440 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:32:40 +00:00
qhuang8 1360f68ea2 Fix a bug: fail to change Boot Order in Boot Maintenance Manager.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7433 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 11:14:23 +00:00
klu2 e01fb259f8 Add missing GUID due to last check-in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7427 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 04:47:44 +00:00
jji4 6a27a4ebd0 use the GUIDed versions of events: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7424 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 01:29:55 +00:00
klu2 8d6640c997 Cleanup meta data for GenericBdsLib library instance's INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7422 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 13:32:09 +00:00
klu2 ef8412671e Cleanup meta data for BdsDxe INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7421 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 12:57:32 +00:00
qwang12 3d7decbc4f Add in a check to make sure "BootCurrent" is created only when it match a valid "BOOT###" NV EFI variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7419 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 09:52:40 +00:00
eric_tian 6041576eb2 The caller of FindVariable() function ensure VariableName != NULL && VendorGuid != NULL. In the internal of this function, we only need to ensure that (VariableName[0] != 0 && VenderGuid != NULL) is true.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7389 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 03:13:35 +00:00
mdkinney 16f3deb0a0 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7374 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:35:27 +00:00
qhuang8 ca835f4176 Fix ICC build warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7367 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-24 06:19:47 +00:00
klu2 5c08e11737 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7354 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:24:55 +00:00
hfang 8ca67c468b Update For Review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7304 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 07:00:28 +00:00
gikidy 066ec71d89 Adjust gSimpleTextInExNotifyGuid position in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7295 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 07:35:49 +00:00
hfang 5326528b2f Fixed For Review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7253 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 07:28:52 +00:00
lgao4 72d50eec45 Move common definitions (GET_PAD_SIZE and HEADER_ALIGN macro) into MdeModulePackage Include VariableFormat.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7229 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:27:53 +00:00
hfang eeefcb9d4b Update For R9 Review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7215 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 08:48:15 +00:00
eric_tian f2fa830ef0 As variable area is not reliable in recovery path, then we should not produce ReadonlyVariable2&ReadonlyVariable ppi at the point. This way causes other Pei module wanted to access to variable will fail
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7185 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 09:53:54 +00:00
hfang 97404058f1 Fixup for review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7120 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 08:59:02 +00:00
lgao4 8191cd5efd Enhance PciCfg2 driver to handle unaligned Pci access according to PI spec.
Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status code data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7078 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 07:41:58 +00:00
qhuang8 f02bd3768c 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@7050 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:31:57 +00:00
qhuang8 e05e2b73fc Add missing DevicePathLib in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7036 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 15:54:03 +00:00
vanjeff 1833218d93 1. added functions header for MACROS in PCI22.h.
2. move IS_PCI_GFX to modules, since it not defined in PCI spec.
3. added comments for some structure in ElTorito.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6928 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 06:40:02 +00:00
mdkinney 1579391172 Remove use of UINT8_MAX. Use BIT8-1 instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6897 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:42:39 +00:00
mdkinney 2d78cc816e Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6887 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:21:15 +00:00
qhuang8 bd5315cf71 Update IoLib instance mapping so that the DSC file can support EBC build validation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6850 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 01:54:05 +00:00
xli24 a694b670e1 Add module Legacy8259Dxe to IntelFrameworkModulePkg.dsc, and make it clean for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6833 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:21:53 +00:00
lgao4 8bd22b8aaa Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6753 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:32 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
lgao4 05f89b17b8 1. Add Max Try Times check to clear Ps2Kbd status register. If exceed the max try times, the device may be error.
2. To follow PI spec, PciCfg PPI doesn't require ASSERT for the unalign PCI IO access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6659 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 05:55:40 +00:00
vanjeff 774a1c88da Removed Graphics library instance in IntelFrameworkModulePkg, since no one use it and Graphics library class will be retried later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6643 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 03:19:35 +00:00
vanjeff b31547205f 1.Removed PrintXY from Graphics Library.
2.Added PrintXY and AsciiPrintXY in Uefi Library
3.Moved PcdUgaConsumeSupport from MdeModulePkg to MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6642 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 03:08:28 +00:00
qwang12 967c09fa7c Update doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6620 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:24:16 +00:00
qwang12 fda7f64fa7 Update doxygen comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6619 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 03:23:04 +00:00
xli24 05975035a2 Update PciOptionRomSupport.c to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6607 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:27:35 +00:00
klu2 2067710de0 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6457 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:43:50 +00:00
qhuang8 52f1302e78 Update IdeBus for the EfiLibInstallAllDriverBindingg2() API change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6422 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-07 06:26:03 +00:00
qwang12 4fd730b35e Change functional static variable to Global variable. No STATIC modifier is recommended though it is defined in Base.h. It is for consistency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6316 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-31 02:07:52 +00:00
jji4 819d148893 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@6298 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:08:09 +00:00
mdkinney 8be701c3ba Update 8259 driver to use IoLib instead of the CPU I/O Protocol
Remove redundant .DXS file.  The dependency expression is in the INF file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6246 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:16:38 +00:00
mdkinney 46f8260048 Update LIBRARY_CLASS declaration in the INF file so this library is type BASE and can be linked against all module types.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6245 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:15:16 +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 601c8c20e2 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6224 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:17:04 +00:00
qwang12 1b641bb8ee Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6129 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-17 08:44:25 +00:00
klu2 575bc2b257 Remove over specify library class for IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6120 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16 02:38:49 +00:00
eric_tian a477cceff2 cleanup the improper comments for function return value in LockKeyboards()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6052 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 01:46:48 +00:00
qwang12 9556741cbf 1) Replace mBS with gBS from UefiBootServicesTablePointer Lib to avoid library instance to cache too many copies of Boot Service Pointer.
2) Check gBS before make call using it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5944 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-22 10:20:41 +00:00
qwang12 c0522bd7df CloseEvent in ReportStatusCodeLibDestruct can only be called when the library instance is not linked with a SMM driver (for example a boot dirver or EFI Runtime capable driver).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5937 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-21 08:18: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 299d51fddc remove unnecessary comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5912 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 08:00:13 +00:00
qwang12 6c8e1cee0e Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5909 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 03:01:41 +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
vanjeff 6fc2b00b1a Remove unnecessary CONST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5809 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 04:17:20 +00:00
vanjeff 01edaf2adc Remove unnecessary CONST.
.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5807 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 03:17:06 +00:00
eric_tian 9ebae8aefa Fix a issue "BlockIOProtocolTest failed on Several Platforms during EFI and UEFI SCT". EFI_BLOCK_IO_PROTOCOL.ReadBlocks may assert when Reading block without media present in the device
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5763 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 09:46:38 +00:00
lgao4 f829715058 remove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg, Nt32Pkg, OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5727 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:08:13 +00:00
qhuang8 1a8802f763 Update some module INF files in IntelFrameworkModulePkg to UEFI_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5699 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 10:00:50 +00:00
klu2 0bcecb6a27 Misuse protocol and guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5690 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 04:18:32 +00:00
eric_tian 584125bcba code review's result.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5633 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 07:20:10 +00:00
mdkinney e69a062999 Use ReadUnaligned32() instead of CopyMem()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5605 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-01 23:21:43 +00:00
vanjeff 68077ae338 add logic to check PCI device has option rom when degrading PCI resources. If one device has 64 bit memory bar and option rom bar. Its 64bit memory should be degraded to 32bit memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5550 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 02:54:38 +00:00
vanjeff c07ed17d5b Fixed one bug when building ACPI resource data for 64bit Prefetchable memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5541 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 15:11:58 +00:00
eric_tian 19efd9ec94 modify file name to uppercase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5490 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 05:02:51 +00:00
eric_tian 0d7c136e9d modify file name to uppercase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5489 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 04:58:21 +00:00
vanjeff e89cde87a5 sync filename exactly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5488 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 04:52:40 +00:00
vanjeff ada88886f1 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5484 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:56:26 +00:00
vanjeff 50d4169602 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5483 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:56:01 +00:00
vanjeff 03417d8d31 sync filename exactly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5482 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:54:54 +00:00
vanjeff e9bbddb390 update file GUID value to avoid collision with the GraphicsLib instance in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5423 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 08:16:44 +00:00
vanjeff a7f3d10548 rename to meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5404 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:29:07 +00:00
vanjeff b15f0798c7 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5403 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:26:43 +00:00
vanjeff 4e527499e3 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5402 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:25:36 +00:00
vanjeff 348e95ce0d rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5401 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:24:25 +00:00
vanjeff 7e7f8666de rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5400 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:23:03 +00:00
vanjeff b0af4b695d rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5399 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:21:34 +00:00
vanjeff 073879b38c rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5398 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:20:21 +00:00
vanjeff 10fbfd85b9 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5397 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:19:13 +00:00
vanjeff 32faa72a48 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5396 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:18:05 +00:00
vanjeff 80b5052fb9 rename to meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5395 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:15:27 +00:00
vanjeff 9d96413da1 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5394 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:13:19 +00:00
vanjeff 9a9f4df5ac Rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5393 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:11:59 +00:00
vanjeff 223b8e25b8 add DXE_DRIVER and UEFI_DRIVER into supported module type list for PciIncompatibleDeviceSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5392 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 02:58:38 +00:00
xli24 9a2d4fe9a7 Add parameter checking for PCI IO protocol according to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5359 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-21 11:16:36 +00:00
qwang12 dcd8047588 remove reference to the obsolete EFI_LIGHT_ISA_IO_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5339 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-11 05:19:11 +00:00
qhuang8 38d8677200 Remove unused library instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5322 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:58:14 +00:00
qhuang8 685aec5388 Remove unused library instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5319 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 03:59:19 +00:00
vanjeff 4ecdb8690f Give the output information in right place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5317 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-03 02:16:12 +00:00
qhuang8 8d0a8e53a0 Add #ifndef statement for header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5297 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 01:34:42 +00:00
qhuang8 ab4eb9640e Rollback the enhancement of Pcibus in r4844 for more investigation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5292 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 08:32:50 +00:00
qhuang8 6558a83700 Add doxygen style comments for section extraction module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5226 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 07:26:10 +00:00
qhuang8 2b505f5116 Remove CpuDeadLoop().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5143 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 13:00:48 +00:00
klu2 60bb2715d8 StatusCode driver is optional dependent on gEfiDataHubProtocolGuid but not always, so remove it from depex section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5140 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 09:35:38 +00:00
htao b67754b99e initialize local variable before use.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5114 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-23 06:04:24 +00:00
klu2 fdb05fa330 Fix missing include header file and fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5111 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 06:40:11 +00:00
klu2 1166d06825 Add legacy8259 module for PcAt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5090 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 04:13:47 +00:00
klu2 fcf03596d1 Add function doxygen header for VgaMiniPort module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5075 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 02:36:59 +00:00
klu2 57076f4585 Add function doxygen header for PciBus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5071 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-16 09:24:58 +00:00
klu2 a3b8e25782 Add function doxygen header for PciBus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5066 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 08:52:18 +00:00
klu2 ff1fcef842 Add function's doxygen header for Ps2Mouse module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5060 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:22:08 +00:00
klu2 bcd7041487 Coding style modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5058 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:12:57 +00:00
klu2 a73d0c743b Add some function/header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5039 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 09:23:58 +00:00
klu2 ed7752ec44 Add some function/header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5037 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 07:13:54 +00:00
lgao4 32eed1fc03 Add blank space in the file end.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5026 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 06:07:38 +00:00
qhuang8 b463f6f75f Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4978 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:08:30 +00:00
klu2 2a4b165f8a Add missing Guid declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4976 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 06:44:11 +00:00
jljusten c05d012569 IntelFrameworkModulePkg/
Library/PciIncompatibleDeviceSupportLib/IncompatiblePciDeviceList.h:
  Bus/Pci/PciBusDxe/PciHotPlugSupport.c:
  Bus/Pci/IdeBusDxe/idebus.h:
* Fix issues with filename inconsistency which prevents building on
  systems with case sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4948 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 22:53:54 +00:00
eric_tian 6d87c34485 [Description]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. it is the requirement of PI spec
[Impaction]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. 
[Reference Info]
it is the requirement of PI spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4926 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 08:47:30 +00:00
yshang1 e12848a3a3 [Description]:
The patch enhances the SmmRuntimeDxeReportStatusCodeLibFramework instance to reduce the library dependency, since DebugLib, UefiBootServicesTableLib and original SmmRuntimeDxeReportStatusCodeLibFramework may result in the circular dependency.

[Impaction]:
It is backward-compatible.

[Reference Info]:
N/A

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4919 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:35:46 +00:00
vanjeff 695f7e9856 add some error check and return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4912 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:49:56 +00:00
vanjeff 8541adab27 add PCD PcdUgaConsumeSupport to switch on/off EFI UGA Draw Protocol's consuming, it could save size by changing PCD's value to FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4911 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:22:06 +00:00
klu2 3dbba77042 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4908 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:28:13 +00:00
jljusten d63e4c2308 edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf:
* Match filename case for Serial.h and Serial.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4904 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 17:21:58 +00:00
jljusten 17adfa9aef Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4902 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 15:19:53 +00:00
xli24 9c294371b5 Update BaseUefiTianoCustomDecompressLib to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4901 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 08:12:02 +00:00
eric_tian de631489de [Description]
PeiGetVariable() and PeiGetNextVariableName() do not check NULL pointer access, not follow spec 
[Impaction]
modify the Variable.c file in IntelFrameworkModulePkg/Universal/VariablePei/
[Reference Info]
PeiGetVariable() and PeiGetVariableName() do not follow spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4900 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 06:47:55 +00:00
vanjeff 4beb4afe33 [Description]:
Fixed one bug in PciBus. PciBus doesn't clear the bridges bus number for all the root bridges before scanning any of them.
[Impaction]:
 Pci Bus driver.
[Reference Info]:
 EDK tracker 997. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4851 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 05:58:31 +00:00
zliu3 31bbf49fa7 Enhanced the PCI Bus DXE module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4844 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 08:44:09 +00:00
vanjeff a1d887b7ab Merger tracker:Fixed a Pci bus driver logic error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4799 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 03:43:00 +00:00
qwang12 4ba972242d Remove SetupBrowser, DriverSample and HiiDatabase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4777 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:31:11 +00:00
qwang12 25724a9d37 Remove SetupBrowser, DriverSample and HiiDatabase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4776 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:30:18 +00:00
qwang12 725a03bd4a Remove DriverSample. MdeModulePkg\Universal\DriverSampleDxe is the replacement complying to UEFI HII.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4771 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:00:01 +00:00
qwang12 62e6733bc7 Remove Framework SetupBrowser. MdeModulePkg\Universal\SetupBrowserDxe is the replacement complying to HII in UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4770 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 11:57:35 +00:00
qwang12 ae55729b76 Remove Framework HiiDatabase
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4769 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 11:56:05 +00:00
qhuang8 eb9a9a5e23 Produce all the PciIo & Dpath protocol for all the pci devices under the current host bridge.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4703 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 04:17:05 +00:00
qhuang8 23f642e80a Return the error status from gBS->OpenProtocol() since there are cases when the input ControllerHandle or ChildHandle is not a valid EFI_HANDLE. We should return EFI_INVALID_PARAMETER instead of EFI_UNSUPPORTED for Driver Diagnostic (2) protocol implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4702 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 04:16:16 +00:00
yshang1 404d4e5c60 Update the library to compliant with SMMCis 0.91 and 0.9 both. 0.91 requires the InSmm() could not be invoked in runtime.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4699 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-18 07:28:27 +00:00
qhuang8 5127b4716b Fix an issue to match invalid Language codes like "enus"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4691 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 02:43:38 +00:00
jljusten 0df40b2b83 IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c:
Fixed #include



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4680 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 19:50:43 +00:00
gtian fd431a9b3f Add the check- in missed file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4674 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 19:51:45 +00:00
yshang1 f26f2a7b97 Retire the constructor to reduce the possibility of circular library dependency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4668 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 03:36:06 +00:00
yshang1 ff8ff1391d Update PeiReportStatusCodeLib instance, which will support report data prior to installed the REPORT STATUSCODE PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4665 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-03 03:53:58 +00:00
zliu3 3431f36337 Sync with the PO-2 release branch (version: EDK 4645 and R9 3897)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4647 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 09:30:11 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
qwang12 08a4be3b45 Comment out the IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf as VfrCompilor does not support the Framework VFR format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4611 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:25:16 +00:00
yshang1 b13b447355 Runtime Library should not use the gRT directly, since it may be converted to virtual address by other library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4604 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 02:09:25 +00:00
qwang12 f79314fa8f UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4598 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:37:05 +00:00
yshang1 4f51e5ce40 Add SmmRuntimeDxeReportStatusCodeLibFramework in IntelFrameworkModulePkg;
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4592 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 08:32:16 +00:00
yshang1 e5516b494a Add SmmRuntimeDxeReportStatusCodeLibFramework in IntelFrameworkModulePkg, which supports log message in SMM, DXE, DXE runtime, UEFI and UEFI APPLICATION.
In SMM, it logs message to customized OemHookStatusCodeLib.
In DXE/DXE_RUNTIME/UEFI/UEFI_APP, it logs message to ReportStatusCode() in framework runtime services table or runtime report status code protocol.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4591 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 08:25:17 +00:00
yshang1 130e25699a 1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-14 06:35:23 +00:00
yshang1 ab5f0d6d12 Change C functions, xxxSizeOfVariable(), to MACRO, which can avoid the ICC compile error "Unspecific evaluated order".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4552 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 03:16:46 +00:00
yshang1 9cad030bc1 Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10 04:26:13 +00:00
eric_tian 41e4912f29 fix DataHubGetNextRecord bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4441 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 09:31:03 +00:00
eric_tian 96d1b1722e Add the Rom Image to internal database for later PCI light enumeration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4439 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 08:49:07 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
qhuang8 1f6727d332 Update default value to adapt to most platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4361 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:14:27 +00:00
qhuang8 66afcdecd8 Update default value to adapt to most platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4356 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:30:43 +00:00
eric_tian afd0fe2230 the last check-in for Ps2MouseAbsolutePointer is not correct. do it again.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4343 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-29 06:21:28 +00:00
eric_tian ac4f8b5abe modify the corresponding file path about Ps2MouseAbsolutePointerDxe driver & rename the Ps2MouseSimulateTouchPadDxe folder to Ps2MouseAbsolutePointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4340 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:45:35 +00:00
eric_tian 52e6faea63 change "Ps2MouseSimulateTouchPad" to "Ps2MouseAbsolutePointer" for more clearing the name's meaning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4339 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:43:57 +00:00
eric_tian 0f8304cd85 use a PS/2 mouse to simulate a faked touchpad device.
verify the correction of the ABSOLUTE POINTER protocol's installation and usage

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4331 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 05:55:26 +00:00