Commit Graph

325 Commits

Author SHA1 Message Date
jljusten 1be0dda62d Fix warnings generated by gcc for ia32 builds:
'cast from pointer to integer of different size'
when casting from a pointer directly to a
64 bit number.  Added an intermediate cast to
UINTN.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 20:59:38 +00:00
qwang12 4d3840844d In this fix, WinNtSimpleFileSystemOpen only trims the leading and trailing blank space in the input FileName. The previous implementation before this fix trims all the trailing dots including the case for ".\..", which should move the directory up one level.
A new function IsFileNameValid is added to check if input FileName is valid. If the FileName meets the following scenirio, it will be considered to be invalid:
1) There is two "\" in the path. For example, ".\SomePath\\".
2) There is a least one "/" in the path. The reason is that UEFI 2.1 specifcation only mention that ".", ".." and "\" is valid path modifiers.
3) There is more than two continous dots in the path name token. For example, ".\SomePath\....\SomeName.txt".


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4973 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 12:35:56 +00:00
eric_tian b3149ea705 [Description]
The PcdEmulatorEnable should be TRUE to keep semantic affinity
[Impaction]
Change the PcdEmulatorEnable to TRUE
[Reference Info]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI. it is the requirement of PI spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4925 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 08:44:59 +00:00
klu2 6ae8142848 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4906 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:23:16 +00:00
klu2 ff33b87dd8 Correct the value of StackBase, the stack base address is not stack's top address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4794 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:37:29 +00:00
qwang12 1b5538a375 Remove EdkGenericBdsLib as it is replaced by MdeModulePkg/Include/Library/GenericBdsLib.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4792 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 13:21:24 +00:00
qhuang8 6c29550411 Add NULL parameter checking for notify function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4791 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:36:52 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
qwang12 764e3bf051 remove EdkGenericBdsLib|Nt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.inf which is removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4778 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:38:47 +00:00
lgao4 498f4b397b Update Variable FV version to PI version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4775 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:28:20 +00:00
qwang12 350c543d2a Remove the wrong changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4774 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:09:56 +00:00
qwang12 20d2ed10ac Replaced by Y:\work\MdeModulePkg\Library\GenericBdsLib\GenericBdsLib.inf which complies to UEFI HII.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4773 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:05:34 +00:00
qwang12 0a9e9295d9 Replaced by Y:\work\MdeModulePkg\Library\GenericBdsLib\GenericBdsLib.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4772 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:04:31 +00:00
qwang12 1710eeb85e Fix a bug reported by EDK940 "The main thread has not LeaveCriticalSection when be Suspended, and the child thread will try to EnterCriticalSection, there is the confliction".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4745 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 09:43:59 +00:00
qhuang8 adc863cbd4 Add checking for ChildHandle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4701 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 04:13:25 +00:00
vanjeff e90e87777c Use Mde library and definition instead of some native definitions in NetLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4695 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 01:59:02 +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
qwang12 e286bc2994 Remove the unused FDF and DSC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4669 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 06:08:39 +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
qwang12 2a5726b9bf 1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4664 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:44:43 +00:00
lgao4 00d00b6dfd Fix bug in CustomErashFlashRange function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4643 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 06:10:38 +00:00
jwang36 db9c42383f Rollback.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4607 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:18:50 +00:00
jwang36 bb447e1891 Fixed the incorrect library instance setting for "PerformanceLib" library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4606 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:09:21 +00:00
qwang12 5fd5fcd321 UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4601 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:42:45 +00:00
klu2 be0187bbba Comment out unused ECP library which no any module referenced,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4436 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 04:51:23 +00:00
jwang36 2529e5e160 Added following line under [BuildOptions] for R8 modules build
*_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4421 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-23 15:13:39 +00:00
jwang36 cd46d8f692 Added [Libraries] for R8 modules' build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4420 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-22 16:59:33 +00:00
lgao4 372787b85a Add TianoCompressed Rule for PEIM and Dxe Driver as one example.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4399 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 06:55:36 +00:00
qwang12 aaf5cf8e1d Use the correct ASSERT form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4396 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-17 03:43:24 +00:00
lgao4 95be2c94e1 Add Capsule library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4364 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 09:50:31 +00:00
lgao4 c47eca1a28 Roll back 4348 version for wrong check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4350 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:25:57 +00:00
lgao4 706e753467 Modify minor error in Nt32Pkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4349 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:18:29 +00:00
lgao4 1964846816 Add PeiPiLib for PeiMain module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4348 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:08:47 +00:00
mdkinney 4bdccd287d Update NT32 BDS to produce the MemoryTypeInformation variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4334 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 20:57:50 +00:00
mdkinney 6157b6c36a Change Sleep() time to 1ms to reduce pauses when running on single CPU system
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4329 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 02:50:59 +00:00
klu2 2b642e5aa0 Fix some bugs in DSC/INF file Nt32 platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4318 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:55:30 +00:00
qhuang8 8a7d75b062 Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +00:00
klu2 fba96322cc Remove the old definition in FlashMapHob
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4314 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 10:33:34 +00:00
qhuang8 55fd33e5b8 Remove AtapiPassThru driver in NT32 DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4313 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 10:12:39 +00:00
vanjeff 36ee91ca36 1. Add DPC protocol and DpcLib library in MdeModulePkg.
2. Add DpcDxe module and DxeDpcLib module in MdeModulePkg
3. Port network stack module to use DPC.
4. Use MIN, and MAX defined in MdePkg to replace NET_MIN and NET_MAX.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4307 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 05:42:23 +00:00
klu2 a4c9ede55f the implementation of FVB->SetAttribute() interface should check the unchanged bit in parameter at first.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4267 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-05 06:29:00 +00:00
klu2 85e43be15e The default value of SecMain should be set as INIT_CAR_VALUE = 0x5aa55aa5, then PeiMain could computer how many stack ever used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4261 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 07:10:43 +00:00
qhuang8 db168de9b0 Add Driver Diagnostic 2 Protocol support for WinNtBlockIo driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4240 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 05:28:45 +00:00
lhauch c43a6c7ee3 Added flag to permit building with VS2005. (strcpy has been depricated, so MSFT introduced a flag to turn off the warning.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4217 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 17:52:45 +00:00
klu2 8e5b17b25e Update following library class/Protocol for puting 'Framework' as prefix
FrameworkHii
FrameworkFormBrowser
FrameworkFormCallback
FrameworkIfrSupportLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4196 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:36:00 +00:00
qwang12 00b7321e63 Add a DXE apriori for Nt32 emulator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4187 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 12:02:31 +00:00
qhuang8 ad4dc92d61 Remove WinNtConsole driver since its functionality has already been covered by WinNtGop driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4181 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 02:37:42 +00:00
qhuang8 62cf113f2e Update to support EFI_SIMPLE_INPUT_EX protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4180 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 02:36:33 +00:00
vanjeff 454e9f6593 Clean UGA from Nt32Pkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4161 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 06:01:39 +00:00
lgao4 46ffb9a4ee Rename Crc32GuidedSectionExtractLib to DxeCrc32GuidedSectionExtractLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4158 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 07:54:42 +00:00