Commit Graph

2570 Commits

Author SHA1 Message Date
qhuang8 84d87a73e9 Clean up Lib MSAs for EdkModulePkg
1. Remove unnecessary library class
2. Remove unreferenced GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2390 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 01:46:10 +00:00
qhuang8 2c6fae9e7d Clean up MSA for MDE Libs:
1. Remove unreferenced Guid of gEfiStatusCodeDataTypeAssertGuid in PeiReportStatusCodeLib & DxeReportStatusCodeLib.msa
2. Remove dependency of BaseLib for SmmEntryPointerLib & PeiServicesTablePointerLibKr1
3. Add accurate arch support for SecPeiDxeTimerLibCpu & correct PcdFSBClock to "DYNAMIC"
4. Add dependency of gEfiDevicePathProtocolGuid for DevicePathLibDevicePathProtocol
5. Remove dependency of BaseLib & UefiRuntimeServicesTablePointerLib for UefiDriverEntryPointLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2389 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 12:18:12 +00:00
qhuang8 d670549c79 Remove the wrong dependency on PeimEntryPointLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2388 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:32:15 +00:00
qhuang8 0d49d8f681 1. Add two interfaces in PeCoffGetEntryPointLib.h
2. Fix the description of EfiTestChildHandle & EfiTestManagedDevice
3. Clean up BasePciLbPciCf8 & BasePciLibPciExpress to remove the dependency on DebugLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2387 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:12:05 +00:00
qhuang8 f1ad92e867 Add alias EFI_D_XXX to provide backward compatibilities.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2386 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:09:29 +00:00
qhuang8 647db8fd60 Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2385 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:07:47 +00:00
qhuang8 890adc7a25 PcdLib is only referenced by IPF arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2384 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:05:08 +00:00
qhuang8 2e5d68b74a BaseLib is only used by IA32, X64 & IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2383 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:04:24 +00:00
qhuang8 7f0bd7967e Clean up MSA files
Remove unreferenced PCDs & library instances.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2382 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:01:18 +00:00
qhuang8 fd9c891fa8 Remove the reference of UnixOemStatusHookLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2381 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 10:59:03 +00:00
qhuang8 318275b2fd Split UnixOemHookStatusCodeLib to PEI/DXE instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2380 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 10:51:57 +00:00
qhuang8 a25b26bbb7 Remove the combo library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2379 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 05:01:06 +00:00
qhuang8 7aa2023efa Split Nt32OemHookStatusCodeLib to PEI/DXE instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2378 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 05:00:26 +00:00
tgingold 48f4262a80 start timer at initialization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2377 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 02:16:12 +00:00
tgingold 8ba2f4413a use nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2376 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 02:15:19 +00:00
qwang12 6a352324b9 Update all String related functions in BaseLib for this change introduced in Mde Library Spec 0.60e:
"Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary."

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2375 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 01:47:44 +00:00
tgingold e8a5c66f4b EdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2374 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:05:13 +00:00
tgingold d5c918e7e3 newline added at end
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2373 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:02:26 +00:00
tgingold 2aeaa47ac1 Logo and EdkgenericBdsLib removed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2372 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:00:56 +00:00
tgingold e89ebd4364 updated to use new packages from EdkModule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2371 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:00:22 +00:00
tgingold df057890d0 Updated for added package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2370 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:41:26 +00:00
tgingold d3d20da145 Logo added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2369 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:41:05 +00:00
tgingold 52657feb15 EdkGenericPlatformBdsLib added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2368 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:40:29 +00:00
tgingold 8033e93148 EdkGenericBdsLib added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2367 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 23:39:38 +00:00
xli24 15f83a8852 Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 08:12:05 +00:00
tgingold 2419bd23d2 fix gcc warnings (missing braces around initializer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2365 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 07:21:12 +00:00
xli24 7b7f863bfa Fix an issue in page allocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2364 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 03:52:20 +00:00
qwang12 d958721a06 1) Added BIT0, BIT1, …, BIT63 to the Base Defines
2) Added MIN() and MAX() macros to the Base Macros
3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions
4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64().

5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64().

6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr()

7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString() 

8) Added EfiGetCurrentTpl() UEFI Library.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 02:53:23 +00:00
tgingold 2f714ebf9a fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2362 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:26 +00:00
tgingold 84e73ac219 fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2361 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:03 +00:00
tgingold 0b293ccb7e fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2360 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:36:05 +00:00
jwang36 7407b98bbe Removed the extra source file from preprocessor's command line options for building vfr files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2359 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-09 02:49:55 +00:00
jchen20 420c3edfc6 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2358 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:52 +00:00
jchen20 78bd039b86 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2357 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:18 +00:00
jwang36 9821fa9a8f Changed the way of handling not supported ARCH for a module. It should not break the build. Instead, it just give a warning message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2356 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 07:12:59 +00:00
jwang36 de093b3c14 (Fixed EDKT523) Added more check on "archString" to see if it's empty or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 05:34:51 +00:00
vanjeff ff242d4066 updated the comment according to latest version of MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2354 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-06 07:36:38 +00:00
jwang36 73f7b9c29c Add genDigest() method to class FfsProcess to generate MD5 digest value for the FFS layout. This is intended to solve re-generation issue of FFS when its layout has been changed but no related section files have been changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2353 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 06:25:58 +00:00
qhuang8 c77f986979 1.Drop the support of UEFI_APPLICATION for UefiDriverLib
2.Change the module type of BaseUefiDecompressLib to BASE
3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib
4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION
5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe
6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 05:54:16 +00:00
jwang36 2f96bdd1b9 Output more descriptive information when there's no TARGET, TARGET_ARCH, etc defined in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2351 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 02:02:15 +00:00
jlin16 e64872fa8b 1. Refresh applicable library instances after one illegal library instance is removed.
2.Remove library instances that is only consumed by one library instance when deleting this library instance from a module in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2350 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 10:11:03 +00:00
vanjeff 8d92e94ff5 changed timer lib reference from BaseTimerLibLocalApic to BaseTimerLibNullTemplate in DxeStatusCode module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2349 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 07:02:44 +00:00
vanjeff 421954efcc 1. removed some null directories BaseTimerLibLocalApic and Nt32TimerLibNull
2. removed UnixTimerLibNull timer instance

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2348 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 06:34:30 +00:00
vanjeff 4faa50287e 1. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.
2. added BaseTimerlibNullTemplate in MdePkg and SecPeiDxeTimerLibCpu in MdePkg. 
3. modified the related spd and fpd files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 05:36:42 +00:00
xli24 3401c092e4 Make EDK Module Package pass Intel IPF compiler with /Ox switch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 02:50:13 +00:00
klu2 db6efc11d3 EFI_CONSOLE_CONTROL_PROTOCOL provide the SetMode interface to switch mode between EfiConsoleControlScreenText and EfiConsoleControlScreenGraphics. And implementation of this interface is in EdkModlePkg\Universal\Console\ConSplitter\Dxe\ConSplitterGraphices.c ConSpliterConsoleControlSetMode().
In this function, it is better to judge current mode with wanted mode at first, if current mode is equal to wanted mode, then return and do nothing. Why need add judging:
	1) Missing judge will lead an issue that screen splash when pressing key in front page. It is caused by ui.c will switch to textmode when first in, but current mode has been in text mode.
	2) If switching to text mode, there are many works want to be done such as EnableCursor, ClearScreen. If original has been in text mode, judging will improve the performance of UI.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2345 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 08:42:59 +00:00
lgao4 ca43e86ee7 Add PeiCore function declaration in PeiMain.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 03:56:34 +00:00
klu2 9cb053eff7 There is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib.c. Originally, if a driver did not produce a <SetVirtualAddressMapCallBack>'s function, EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE notify event will not be created in RuntimeDriverLibConstruct(), This is a bug, because at least, mRT pointer need to be converted for runtime service.
This bug will lead runtime interface GetMonoCount() failure because EdkModulePkg\Universal\MonotonicCounter\RuntimeDxe driver does not produce any <SetVirtualAddressMapCallBack>'s function.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2343 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 03:05:49 +00:00
jlin16 fd0f684ffa Optimize library instance selection algorithm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2342 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 11:43:58 +00:00
hche10x 9e011eacdb 1. Fix EDKT508: FW should't build Log.log file in current directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2341 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 08:20:54 +00:00