Commit Graph

2143 Commits

Author SHA1 Message Date
klu2 2008636e60 Add blank line at end of file to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2413 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 01:50:40 +00:00
klu2 bc4e770c78 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2412 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 08:21:43 +00:00
vanjeff 59e9a3659f 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2411 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 05:38:05 +00:00
qhuang8 fad1794ce8 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2410 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 07:41:28 +00:00
xli24 2c33bcb4f2 Add range checking of partition for MBR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2409 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 06:22:43 +00:00
qwang12 5d09d1b775 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2408 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 03:48:13 +00:00
klu2 c3ebca2cf3 The token for PERF_END macro is CHAR8 but not CHAR16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2407 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 03:24:10 +00:00
lgao4 9c3894aec7 Remove the unused library instance EdkNullCustomizedDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2406 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 09:25:30 +00:00
lgao4 a138bf5b73 Remove the unused library instance EdkNullCustomizedDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2405 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 09:25:08 +00:00
vanjeff 4dcf1febf9 clean up MSA file and sync FPD file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2404 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 06:39:39 +00:00
vanjeff 7f0ceb225d clean up MSA/SPD files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2403 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 06:25:05 +00:00
qwang12 3bd0d8f8a9 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2402 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 03:30:12 +00:00
qwang12 bc2693a840 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2401 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 07:00:31 +00:00
klu2 3111542d67 Add PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2400 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 03:19:32 +00:00
qhuang8 7985fd70a5 Add the definition of IsaIoProtocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2399 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-25 09:44:14 +00:00
vanjeff a298afce8a clean up msa files in EdkModulePkg, removed unnecessary library definitions and PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2398 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15 08:14:57 +00:00
qwang12 4f5ad8eac3 Remove the unreferenced local variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2397 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-15 03:32:38 +00:00
zliu3 78702d79b1 Enable the building option "/Os" for IPF tip Intel Compiler building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2396 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 14:13:10 +00:00
lgao4 d6992908a6 Make DxeIpl loop find the required section type in peiprocessfile functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2395 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 08:30:53 +00:00
xli24 2afce6dff7 Add /W4 /WX for ICC tool chain of IPF in tools_def.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2394 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 07:22:02 +00:00
xli24 97297c21fa 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2393 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 07:19:58 +00:00
qwang12 22d9199fe5 Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 06:35:30 +00:00
jlin16 c0db4cdc64 add check for empty value of definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2391 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 03:08:45 +00:00
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