Commit Graph

224 Commits

Author SHA1 Message Date
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