people/mcb30/edk2.git
13 years agoFix the issue of Linux cannot boot and reset on IPF.
xli24 [Wed, 7 Mar 2007 09:34:54 +0000 (09:34 +0000)]
Fix the issue of Linux cannot boot and reset on IPF.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2423 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoUpdate binary shell application with UEFI version and release version. These binary...
lgao4 [Wed, 7 Mar 2007 07:44:23 +0000 (07:44 +0000)]
Update binary shell application with UEFI version and release version. These binary shell applications are from R8 INTEG_20070306 tip.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2422 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoDo not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the curren...
klu2 [Tue, 6 Mar 2007 05:27:05 +0000 (05:27 +0000)]
Do not use return value of REPORT_STATUS_CODE_WITH_DEVICE_PATH to override the current function's return status.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2421 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFixed EDKT527 by adding a check on the file size in case of zero byte of byte
jwang36 [Tue, 6 Mar 2007 03:28:01 +0000 (03:28 +0000)]
Fixed EDKT527 by adding a check on the file size in case of zero byte of byte

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2420 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Change the protocol usage type in UefiDriverModelLib
qhuang8 [Mon, 5 Mar 2007 07:28:22 +0000 (07:28 +0000)]
1. Change the protocol usage type in UefiDriverModelLib
2. Remove a redundant Guid entry in spd

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2419 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAssign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.
klu2 [Mon, 5 Mar 2007 06:42:29 +0000 (06:42 +0000)]
Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2418 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoCorrect APPLICATION_EFI ffs key file type from EFI_FV_FILETYPE_DRIVER to EFI_FV_FILET...
lgao4 [Mon, 5 Mar 2007 06:25:35 +0000 (06:25 +0000)]
Correct APPLICATION_EFI ffs key file type from EFI_FV_FILETYPE_DRIVER to EFI_FV_FILETYPE_APPLICATION, and remove depex section from application ffs layout.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2417 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemoved EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD...
vanjeff [Mon, 5 Mar 2007 03:41:22 +0000 (03:41 +0000)]
Removed EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD PcdComponentNameDisable has been introduced.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2416 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRollback wrong commit in r2414
klu2 [Mon, 5 Mar 2007 02:08:42 +0000 (02:08 +0000)]
Rollback wrong commit in r2414

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2415 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix case-sensitive build issue for filename in Linux
klu2 [Mon, 5 Mar 2007 02:05:22 +0000 (02:05 +0000)]
Fix case-sensitive build issue for filename in Linux

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2414 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd blank line at end of file to pass GCC build.
klu2 [Mon, 5 Mar 2007 01:50:40 +0000 (01:50 +0000)]
Add blank line at end of file to pass GCC build.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2413 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoIn IdeBus driver block I/O read/write interface, it will always try to use UDMA mode...
klu2 [Fri, 2 Mar 2007 08:21:43 +0000 (08:21 +0000)]
In IdeBus driver block I/O read/write interface, it will always try to use UDMA mode first, if fails, then try to use PIO mode.
This may cause side effects if disk does not support UDMA mode and also let bad performance.
The modification is to record supported mode and only try supported mode when do disk read/write.
Also this patch combines the code for read/readex/write/writex to reduce code size.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2412 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1.replace macros EFI32 with MDE_CPU_IA32
vanjeff [Fri, 2 Mar 2007 05:38:05 +0000 (05:38 +0000)]
1.replace macros EFI32 with MDE_CPU_IA32
2.replace macros EFIX64 with MDE_CPU_X64
3.replace macros EFI64 with MDE_CPU_IPF

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2411 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Fix an issue about the calculation of GlyphBufferSize
qhuang8 [Wed, 28 Feb 2007 07:41:28 +0000 (07:41 +0000)]
1. Fix an issue about the calculation of GlyphBufferSize
2. Fix a bug in handling the overlapped case by reverse-copying the destine region & source region
3. Fix an issue that the leading spaces could not be displayed in highlight mode

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2410 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd range checking of partition for MBR.
xli24 [Wed, 28 Feb 2007 06:22:43 +0000 (06:22 +0000)]
Add range checking of partition for MBR.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2409 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler...
qwang12 [Wed, 28 Feb 2007 03:48:13 +0000 (03:48 +0000)]
1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler does not recongnize the pragma.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2408 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoThe token for PERF_END macro is CHAR8 but not CHAR16
klu2 [Wed, 28 Feb 2007 03:24:10 +0000 (03:24 +0000)]
The token for PERF_END macro is CHAR8 but not CHAR16

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2407 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the unused library instance EdkNullCustomizedDecompressLib.
lgao4 [Tue, 27 Feb 2007 09:25:30 +0000 (09:25 +0000)]
Remove the unused library instance EdkNullCustomizedDecompressLib.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2406 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the unused library instance EdkNullCustomizedDecompressLib.
lgao4 [Tue, 27 Feb 2007 09:25:08 +0000 (09:25 +0000)]
Remove the unused library instance EdkNullCustomizedDecompressLib.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2405 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoclean up MSA file and sync FPD file
vanjeff [Tue, 27 Feb 2007 06:39:39 +0000 (06:39 +0000)]
clean up MSA file and sync FPD file

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2404 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoclean up MSA/SPD files.
vanjeff [Tue, 27 Feb 2007 06:25:05 +0000 (06:25 +0000)]
clean up MSA/SPD files.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2403 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
qwang12 [Tue, 27 Feb 2007 03:30:12 +0000 (03:30 +0000)]
1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
2) remove a dangling pragma in E100b.c

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2402 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoClean up MSA file of the checked in modules which include:
qwang12 [Mon, 26 Feb 2007 07:00:31 +0000 (07:00 +0000)]
Clean up MSA file of the checked in modules which include:
1) remove unused library class
2) remove unreferenced GUIDs

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2401 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.
klu2 [Mon, 26 Feb 2007 03:19:32 +0000 (03:19 +0000)]
Add PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2400 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd the definition of IsaIoProtocol.
qhuang8 [Sun, 25 Feb 2007 09:44:14 +0000 (09:44 +0000)]
Add the definition of IsaIoProtocol.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2399 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoclean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.
vanjeff [Thu, 15 Feb 2007 08:14:57 +0000 (08:14 +0000)]
clean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2398 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the unreferenced local variable.
qwang12 [Thu, 15 Feb 2007 03:32:38 +0000 (03:32 +0000)]
Remove the unreferenced local variable.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2397 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoEnable the building option "/Os" for IPF tip Intel Compiler building.
zliu3 [Wed, 14 Feb 2007 14:13:10 +0000 (14:13 +0000)]
Enable the building option "/Os" for IPF tip Intel Compiler building.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2396 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMake DxeIpl loop find the required section type in peiprocessfile functions.
lgao4 [Wed, 14 Feb 2007 08:30:53 +0000 (08:30 +0000)]
Make DxeIpl loop find the required section type in peiprocessfile functions.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2395 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd /W4 /WX for ICC tool chain of IPF in tools_def.template.
xli24 [Wed, 14 Feb 2007 07:22:02 +0000 (07:22 +0000)]
Add /W4 /WX for ICC tool chain of IPF in tools_def.template.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2394 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoTemporarily disable /WX for HelloWorld module, for there is a bug in tool, which...
xli24 [Wed, 14 Feb 2007 07:19:58 +0000 (07:19 +0000)]
Temporarily disable /WX for HelloWorld module, for there is a bug in tool, which causes inconsistency between UefiApplicationLib and AutoGen.c leading to warning of ICC compiler.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2393 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdded Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
qwang12 [Wed, 14 Feb 2007 06:35:30 +0000 (06:35 +0000)]
Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2392 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoadd check for empty value of definitions.
jlin16 [Wed, 14 Feb 2007 03:08:45 +0000 (03:08 +0000)]
add check for empty value of definitions.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2391 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoClean up Lib MSAs for EdkModulePkg
qhuang8 [Wed, 14 Feb 2007 01:46:10 +0000 (01:46 +0000)]
Clean up Lib MSAs for EdkModulePkg
1. Remove unnecessary library class
2. Remove unreferenced GUID

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2390 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoClean up MSA for MDE Libs:
qhuang8 [Tue, 13 Feb 2007 12:18:12 +0000 (12:18 +0000)]
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.tianocore.org/svn/edk2/trunk@2389 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the wrong dependency on PeimEntryPointLib
qhuang8 [Tue, 13 Feb 2007 11:32:15 +0000 (11:32 +0000)]
Remove the wrong dependency on PeimEntryPointLib

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2388 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Add two interfaces in PeCoffGetEntryPointLib.h
qhuang8 [Tue, 13 Feb 2007 11:12:05 +0000 (11:12 +0000)]
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.tianocore.org/svn/edk2/trunk@2387 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd alias EFI_D_XXX to provide backward compatibilities.
qhuang8 [Tue, 13 Feb 2007 11:09:29 +0000 (11:09 +0000)]
Add alias EFI_D_XXX to provide backward compatibilities.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2386 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoDrop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.
qhuang8 [Tue, 13 Feb 2007 11:07:47 +0000 (11:07 +0000)]
Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2385 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoPcdLib is only referenced by IPF arch.
qhuang8 [Tue, 13 Feb 2007 11:05:08 +0000 (11:05 +0000)]
PcdLib is only referenced by IPF arch.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2384 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoBaseLib is only used by IA32, X64 & IPF
qhuang8 [Tue, 13 Feb 2007 11:04:24 +0000 (11:04 +0000)]
BaseLib is only used by IA32, X64 & IPF

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2383 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoClean up MSA files
qhuang8 [Tue, 13 Feb 2007 11:01:18 +0000 (11:01 +0000)]
Clean up MSA files
Remove unreferenced PCDs & library instances.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2382 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the reference of UnixOemStatusHookLib
qhuang8 [Tue, 13 Feb 2007 10:59:03 +0000 (10:59 +0000)]
Remove the reference of UnixOemStatusHookLib

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2381 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoSplit UnixOemHookStatusCodeLib to PEI/DXE instances
qhuang8 [Tue, 13 Feb 2007 10:51:57 +0000 (10:51 +0000)]
Split UnixOemHookStatusCodeLib to PEI/DXE instances

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2380 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove the combo library
qhuang8 [Tue, 13 Feb 2007 05:01:06 +0000 (05:01 +0000)]
Remove the combo library

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2379 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoSplit Nt32OemHookStatusCodeLib to PEI/DXE instances
qhuang8 [Tue, 13 Feb 2007 05:00:26 +0000 (05:00 +0000)]
Split Nt32OemHookStatusCodeLib to PEI/DXE instances

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2378 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agostart timer at initialization
tgingold [Tue, 13 Feb 2007 02:16:12 +0000 (02:16 +0000)]
start timer at initialization

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2377 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agouse nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep
tgingold [Tue, 13 Feb 2007 02:15:19 +0000 (02:15 +0000)]
use nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2376 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoUpdate all String related functions in BaseLib for this change introduced in Mde...
qwang12 [Tue, 13 Feb 2007 01:47:44 +0000 (01:47 +0000)]
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.tianocore.org/svn/edk2/trunk@2375 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoEdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib
tgingold [Tue, 13 Feb 2007 00:05:13 +0000 (00:05 +0000)]
EdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2374 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agonewline added at end
tgingold [Tue, 13 Feb 2007 00:02:26 +0000 (00:02 +0000)]
newline added at end

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2373 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoLogo and EdkgenericBdsLib removed
tgingold [Tue, 13 Feb 2007 00:00:56 +0000 (00:00 +0000)]
Logo and EdkgenericBdsLib removed

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2372 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoupdated to use new packages from EdkModule
tgingold [Tue, 13 Feb 2007 00:00:22 +0000 (00:00 +0000)]
updated to use new packages from EdkModule

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2371 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoUpdated for added package
tgingold [Mon, 12 Feb 2007 23:41:26 +0000 (23:41 +0000)]
Updated for added package

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2370 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoLogo added
tgingold [Mon, 12 Feb 2007 23:41:05 +0000 (23:41 +0000)]
Logo added

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2369 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoEdkGenericPlatformBdsLib added
tgingold [Mon, 12 Feb 2007 23:40:29 +0000 (23:40 +0000)]
EdkGenericPlatformBdsLib added

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2368 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoEdkGenericBdsLib added
tgingold [Mon, 12 Feb 2007 23:39:38 +0000 (23:39 +0000)]
EdkGenericBdsLib added

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2367 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoUpdate MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some...
xli24 [Mon, 12 Feb 2007 08:12:05 +0000 (08:12 +0000)]
Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2366 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agofix gcc warnings (missing braces around initializer)
tgingold [Mon, 12 Feb 2007 07:21:12 +0000 (07:21 +0000)]
fix gcc warnings (missing braces around initializer)

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2365 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix an issue in page allocation.
xli24 [Mon, 12 Feb 2007 03:52:20 +0000 (03:52 +0000)]
Fix an issue in page allocation.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2364 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1) Added BIT0, BIT1, …, BIT63 to the Base Defines
qwang12 [Mon, 12 Feb 2007 02:53:23 +0000 (02:53 +0000)]
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.tianocore.org/svn/edk2/trunk@2363 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agofix a typo in a comment
tgingold [Sun, 11 Feb 2007 06:37:26 +0000 (06:37 +0000)]
fix a typo in a comment

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2362 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agofix a typo in a comment
tgingold [Sun, 11 Feb 2007 06:37:03 +0000 (06:37 +0000)]
fix a typo in a comment

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2361 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agofix a typo in a comment
tgingold [Sun, 11 Feb 2007 06:36:05 +0000 (06:36 +0000)]
fix a typo in a comment

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2360 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemoved the extra source file from preprocessor's command line options for building...
jwang36 [Fri, 9 Feb 2007 02:49:55 +0000 (02:49 +0000)]
Removed the extra source file from preprocessor's command line options for building vfr files

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2359 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix the runtime memory map change issue
jchen20 [Thu, 8 Feb 2007 05:47:52 +0000 (05:47 +0000)]
Fix the runtime memory map change issue

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2358 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix the runtime memory map change issue
jchen20 [Thu, 8 Feb 2007 05:47:18 +0000 (05:47 +0000)]
Fix the runtime memory map change issue

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2357 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoChanged the way of handling not supported ARCH for a module. It should not break...
jwang36 [Wed, 7 Feb 2007 07:12:59 +0000 (07:12 +0000)]
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.tianocore.org/svn/edk2/trunk@2356 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago(Fixed EDKT523) Added more check on "archString" to see if it's empty or not.
jwang36 [Wed, 7 Feb 2007 05:34:51 +0000 (05:34 +0000)]
(Fixed EDKT523) Added more check on "archString" to see if it's empty or not.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2355 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoupdated the comment according to latest version of MWG.
vanjeff [Tue, 6 Feb 2007 07:36:38 +0000 (07:36 +0000)]
updated the comment according to latest version of MWG.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2354 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd genDigest() method to class FfsProcess to generate MD5 digest value for the FFS...
jwang36 [Mon, 5 Feb 2007 06:25:58 +0000 (06:25 +0000)]
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.tianocore.org/svn/edk2/trunk@2353 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1.Drop the support of UEFI_APPLICATION for UefiDriverLib
qhuang8 [Mon, 5 Feb 2007 05:54:16 +0000 (05:54 +0000)]
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.tianocore.org/svn/edk2/trunk@2352 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoOutput more descriptive information when there's no TARGET, TARGET_ARCH, etc defined...
jwang36 [Mon, 5 Feb 2007 02:02:15 +0000 (02:02 +0000)]
Output more descriptive information when there's no TARGET, TARGET_ARCH, etc defined in target.txt

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2351 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Refresh applicable library instances after one illegal library instance is removed.
jlin16 [Fri, 2 Feb 2007 10:11:03 +0000 (10:11 +0000)]
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.tianocore.org/svn/edk2/trunk@2350 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agochanged timer lib reference from BaseTimerLibLocalApic to BaseTimerLibNullTemplate...
vanjeff [Fri, 2 Feb 2007 07:02:44 +0000 (07:02 +0000)]
changed timer lib reference from BaseTimerLibLocalApic to BaseTimerLibNullTemplate in DxeStatusCode module

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2349 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. removed some null directories BaseTimerLibLocalApic and Nt32TimerLibNull
vanjeff [Fri, 2 Feb 2007 06:34:30 +0000 (06:34 +0000)]
1. removed some null directories BaseTimerLibLocalApic and Nt32TimerLibNull
2. removed UnixTimerLibNull timer instance

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2348 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.
vanjeff [Fri, 2 Feb 2007 05:36:42 +0000 (05:36 +0000)]
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.tianocore.org/svn/edk2/trunk@2347 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMake EDK Module Package pass Intel IPF compiler with /Ox switch.
xli24 [Fri, 2 Feb 2007 02:50:13 +0000 (02:50 +0000)]
Make EDK Module Package pass Intel IPF compiler with /Ox switch.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2346 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago EFI_CONSOLE_CONTROL_PROTOCOL provide the SetMode interface to switch mode between...
klu2 [Thu, 1 Feb 2007 08:42:59 +0000 (08:42 +0000)]
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.tianocore.org/svn/edk2/trunk@2345 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd PeiCore function declaration in PeiMain.h file.
lgao4 [Thu, 1 Feb 2007 03:56:34 +0000 (03:56 +0000)]
Add PeiCore function declaration in PeiMain.h file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2344 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoThere is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib...
klu2 [Thu, 1 Feb 2007 03:05:49 +0000 (03:05 +0000)]
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.tianocore.org/svn/edk2/trunk@2343 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoOptimize library instance selection algorithm.
jlin16 [Wed, 31 Jan 2007 11:43:58 +0000 (11:43 +0000)]
Optimize library instance selection algorithm.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2342 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Fix EDKT508: FW should't build Log.log file in current directory
hche10x [Wed, 31 Jan 2007 08:20:54 +0000 (08:20 +0000)]
1. Fix EDKT508: FW should't build Log.log file in current directory

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2341 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. PEI core needs to check image machine type
xgu3 [Wed, 31 Jan 2007 07:18:41 +0000 (07:18 +0000)]
1. PEI core needs to check image machine type
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2340 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Remove the dead code of DxeSalVirtualNotifyEvent() in DxeSalLib so that the depend...
qhuang8 [Wed, 31 Jan 2007 06:54:47 +0000 (06:54 +0000)]
1. Remove the dead code of DxeSalVirtualNotifyEvent() in DxeSalLib so that the dependency of UefiRuntimeLib can be removed.
2. Remove the support of DXE_DRIVER in EdkUefiRuntimeLib

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2339 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMake EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning...
xli24 [Wed, 31 Jan 2007 04:57:46 +0000 (04:57 +0000)]
Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2338 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoremove unused PCD
klu2 [Wed, 31 Jan 2007 04:07:33 +0000 (04:07 +0000)]
remove unused PCD

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2337 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix a typo in last check in.
qhuang8 [Tue, 30 Jan 2007 09:30:33 +0000 (09:30 +0000)]
Fix a typo in last check in.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2336 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd supported module type & arch filter for all libraries in MdePkg to filter out...
qhuang8 [Tue, 30 Jan 2007 09:11:43 +0000 (09:11 +0000)]
Add supported module type & arch filter for all libraries in MdePkg to filter out illegal library instances.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2335 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoAdd supported module type filter for most libraries in EdkModulePkg to filter out...
qhuang8 [Tue, 30 Jan 2007 09:10:28 +0000 (09:10 +0000)]
Add supported module type filter for most libraries in EdkModulePkg to filter out illegal library instances.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2334 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago1. Fix EDKT215: [Wizard] "Previous" button is not supported in step 4 of Create FAR
hche10x [Tue, 30 Jan 2007 01:31:32 +0000 (01:31 +0000)]
1. Fix EDKT215: [Wizard] "Previous" button is not supported in step 4 of Create FAR

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2333 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFurther check-in to smooth Intel IPF compiler building.
xli24 [Mon, 29 Jan 2007 06:09:43 +0000 (06:09 +0000)]
Further check-in to smooth Intel IPF compiler building.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2332 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago- Move global declarations from AutoGen.c to AutoGen.h
jwang36 [Mon, 29 Jan 2007 04:41:58 +0000 (04:41 +0000)]
- Move global declarations from AutoGen.c to AutoGen.h
- Stop building AutoGen.c for binary module

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2331 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix the build break by removing an unreferenced static function.
qhuang8 [Mon, 29 Jan 2007 02:15:56 +0000 (02:15 +0000)]
Fix the build break by removing an unreferenced static function.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2330 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFix EDKT174, auto-select library instance if only one candidate available for a libra...
jlin16 [Fri, 26 Jan 2007 16:40:37 +0000 (16:40 +0000)]
Fix EDKT174, auto-select library instance if only one candidate available for a library class. Note that if you remove one single instance, it will NOT be auto-selected back at once.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2329 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoTo fix,
xgu3 [Fri, 26 Jan 2007 08:35:57 +0000 (08:35 +0000)]
To fix,
cd ...... works unnormally in shell
USB CBI1 driver has no component name protocol

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2328 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoRemove a temporary test line of code
jwang36 [Fri, 26 Jan 2007 07:09:53 +0000 (07:09 +0000)]
Remove a temporary test line of code

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2327 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMake MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning...
xli24 [Fri, 26 Jan 2007 06:54:08 +0000 (06:54 +0000)]
Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning 1419.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2326 de2fecce-e211-0410-80a6-f3fac2684e05

13 years ago- Remove the TOOL without NAME defined and its definition in ARCH_build.opt
jwang36 [Fri, 26 Jan 2007 06:28:27 +0000 (06:28 +0000)]
- Remove the TOOL without NAME defined and its definition in ARCH_build.opt
- Prefix the tool path to its name in ARCH_build.opt
- Support the same library class in different package

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2325 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoMove the entrypoint function declarations to AutoGen.h for sake of Intel compiler
jwang36 [Fri, 26 Jan 2007 06:04:40 +0000 (06:04 +0000)]
Move the entrypoint function declarations to AutoGen.h for sake of Intel compiler

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2324 de2fecce-e211-0410-80a6-f3fac2684e05