people/mcb30/edk2.git
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

13 years agoWhen GenFvMap tool doesn't open one module map file, it will skip this module.
lgao4 [Fri, 26 Jan 2007 05:56:49 +0000 (05:56 +0000)]
When GenFvMap tool doesn't open one module map file, it will skip this module.

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

13 years ago1. Add "Splash Screen" back
hche10x [Fri, 26 Jan 2007 05:56:09 +0000 (05:56 +0000)]
1. Add "Splash Screen" back

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

13 years ago1. Add NULL QH to set as QH header;
qhuang8 [Fri, 26 Jan 2007 04:08:57 +0000 (04:08 +0000)]
1. Add NULL QH to set as QH header;
2. Do ping for high speed OUT pipe;
3. Bug fix for QTD size detection;
4. Bug fix for short package detection;
5. Bug fix get next QTD in ExcutionTransfer;
6. BOT module modify to follow spec;
7. Massstorage error hanling enhancement

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

13 years agoAdded -e and -emacs to support no leading task name in each line of log on screen
jwang36 [Fri, 26 Jan 2007 03:29:23 +0000 (03:29 +0000)]
Added -e and -emacs to support no leading task name in each line of log on screen

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

13 years agoremoved SupModuleList firstly
vanjeff [Fri, 26 Jan 2007 02:44:59 +0000 (02:44 +0000)]
removed SupModuleList firstly

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

13 years agoRemove private data structure in PEI core entry point.
xli24 [Fri, 26 Jan 2007 01:49:18 +0000 (01:49 +0000)]
Remove private data structure in PEI core entry point.

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

13 years agoAdded comment about using -emacs to turn off adding [cc] characters in error messages
lhauch [Thu, 25 Jan 2007 18:33:21 +0000 (18:33 +0000)]
Added comment about using -emacs to turn off adding [cc] characters in error messages

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

13 years agoRemove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to...
qwang12 [Thu, 25 Jan 2007 10:25:16 +0000 (10:25 +0000)]
Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package.

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

13 years agoRemove some unused internal functions.
xli24 [Thu, 25 Jan 2007 07:30:10 +0000 (07:30 +0000)]
Remove some unused internal functions.

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

13 years agoALWAYS_COSUMED changed to ALWAYS_PRODUCED
qwang12 [Thu, 25 Jan 2007 07:21:34 +0000 (07:21 +0000)]
ALWAYS_COSUMED changed to ALWAYS_PRODUCED

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

13 years agoPartially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
xli24 [Thu, 25 Jan 2007 06:15:58 +0000 (06:15 +0000)]
Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.

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

13 years agoMake MDE package pass intel IPF compiler with /W4 /WX switched on.
xli24 [Thu, 25 Jan 2007 06:05:36 +0000 (06:05 +0000)]
Make MDE package pass intel IPF compiler with /W4 /WX switched on.

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

13 years agoEnhanced the <Build_Library> macro to check OBJECTS property in case it's empty
jwang36 [Thu, 25 Jan 2007 06:05:31 +0000 (06:05 +0000)]
Enhanced the <Build_Library> macro to check OBJECTS property in case it's empty

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

13 years ago- Merged the local copy of XmlRoutines.py in buildgen into upper directory's XmlRouti...
jwang36 [Thu, 25 Jan 2007 05:03:12 +0000 (05:03 +0000)]
- Merged the local copy of XmlRoutines.py in buildgen into upper directory's XmlRoutines.py
- Removed the local copy of XmlRoutines.py in buildgen/AntTasks.pyc
- Used the XmlNode to replace XmlElement in SurfaceAreaElement.py

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

13 years agoChange parameter id in UserExtension element from Integer to String according to...
jlin16 [Thu, 25 Jan 2007 03:23:39 +0000 (03:23 +0000)]
Change parameter id in UserExtension element from Integer to String according to EDKT510 schema change.

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

13 years agoNt32TimerLib doesn't support IPF, X64 and EBC, I remove them from this module arch...
lgao4 [Thu, 25 Jan 2007 02:59:51 +0000 (02:59 +0000)]
Nt32TimerLib doesn't support IPF, X64 and EBC, I remove them from this module arch list.

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

13 years agoBaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs for this...
lgao4 [Thu, 25 Jan 2007 02:45:41 +0000 (02:45 +0000)]
BaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs for this module.

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

13 years agoFixed the Indentifier type issue.
jwang36 [Thu, 25 Jan 2007 01:38:32 +0000 (01:38 +0000)]
Fixed the Indentifier type issue.

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

13 years ago- Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
jwang36 [Thu, 25 Jan 2007 01:25:02 +0000 (01:25 +0000)]
- Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR}

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

13 years agoAdding a couple of features for far processing, including detecting duplicate files.
bbahnsen [Thu, 25 Jan 2007 01:18:46 +0000 (01:18 +0000)]
Adding a couple of features for far processing, including detecting duplicate files.

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

13 years agoAdded optional whitespace characters in before and/or after the content within <eleme...
lhauch [Thu, 25 Jan 2007 01:03:02 +0000 (01:03 +0000)]
Added optional whitespace characters in before and/or after the content within <element> tags
Added Alignment optional attribute to the <Section> tag
Changed the UserExtension Identifier from int to string

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

13 years agoFix up file paths.
bbahnsen [Wed, 24 Jan 2007 21:33:51 +0000 (21:33 +0000)]
Fix up file paths.

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

13 years agoFix up file names.
bbahnsen [Wed, 24 Jan 2007 21:29:30 +0000 (21:29 +0000)]
Fix up file names.

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

13 years agoFix capitalization issues.
bbahnsen [Wed, 24 Jan 2007 21:24:30 +0000 (21:24 +0000)]
Fix capitalization issues.

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

13 years agoAdding several dependency checks for far installation. Redoing the XML output.
bbahnsen [Wed, 24 Jan 2007 18:14:09 +0000 (18:14 +0000)]
Adding several dependency checks for far installation. Redoing the XML output.

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

13 years agoAdded DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in EdkModulePkg...
jwang36 [Wed, 24 Jan 2007 14:40:22 +0000 (14:40 +0000)]
Added DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in EdkModulePkg needs this library otherwise it will break the build

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

13 years agogit-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2297 de2fecce-e211-0410-80a6...
jlin16 [Wed, 24 Jan 2007 09:59:00 +0000 (09:59 +0000)]
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2297 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoFixed EDKT487. Added a <import> task to import UserExtension.xml if it exists for...
jwang36 [Wed, 24 Jan 2007 09:46:23 +0000 (09:46 +0000)]
Fixed EDKT487. Added a <import> task to import UserExtension.xml if it exists for users to incorporate their own tasks or macro in the build process.

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

13 years ago- Fixed EDKT513 by adding existing section files into the dependency check of genffsf...
jwang36 [Wed, 24 Jan 2007 09:05:56 +0000 (09:05 +0000)]
- Fixed EDKT513 by adding existing section files into the dependency check of genffsfile tool;
- Fixed EDKT514 by removing the generation and build of AutoGen.c for library

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

13 years ago1. Finish Enhancement EDKT345: Support deleting multiple rows together when remove...
hche10x [Wed, 24 Jan 2007 08:20:08 +0000 (08:20 +0000)]
1. Finish Enhancement EDKT345: Support deleting multiple rows together when remove source files in MSA

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

13 years agoadd <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer...
vanjeff [Wed, 24 Jan 2007 08:04:04 +0000 (08:04 +0000)]
add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support DXE_SMM_DRIVER drivers, DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER drivers

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

13 years agoModify error message contents when an improper library instance was selected for...
jlin16 [Wed, 24 Jan 2007 07:51:16 +0000 (07:51 +0000)]
Modify error message contents when an improper library instance was selected for a module.

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

13 years agoChanged the way of determining how to call customized build file. Now we check if...
jwang36 [Wed, 24 Jan 2007 06:37:21 +0000 (06:37 +0000)]
Changed the way of determining how to call customized build file. Now we check if there's XXX_build.xml existing in the source file list to determine the customized build other than the USER_DEFINED module type.

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

13 years agoRemoved the BASE type as any type in the check of SupModuleList in getLibraryClasses()
jwang36 [Wed, 24 Jan 2007 05:00:21 +0000 (05:00 +0000)]
Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()

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

13 years agoChanging XmlAppendChildElement to return the new XML node on success.
bbahnsen [Tue, 23 Jan 2007 21:36:21 +0000 (21:36 +0000)]
Changing XmlAppendChildElement to return the new XML node on success.

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

13 years agoFixed bug in partition driver:
yshang1 [Tue, 23 Jan 2007 10:28:32 +0000 (10:28 +0000)]
Fixed bug in partition driver:
When Block I/O detects the media changed, block driver will reinstall block I/O protocol. If it happened during start() of partition driver, the reinstall protocol would results in the reentrant of the start(). In the patch, we check status of child detection to see whether need clean up the opened block I/O protocol in Start().

Besides, some checking of return status added in usbbus driver to improve robusticiy of the driver.

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

13 years agogit-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2287 de2fecce-e211-0410-80a6...
yshang1 [Tue, 23 Jan 2007 10:10:13 +0000 (10:10 +0000)]
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2287 de2fecce-e211-0410-80a6-f3fac2684e05

13 years agoModify support module type filter for library instance selection.
jlin16 [Tue, 23 Jan 2007 10:00:41 +0000 (10:00 +0000)]
Modify support module type filter for library instance selection.

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

13 years agoFixed the fake circular denpendency of library instance.
jwang36 [Tue, 23 Jan 2007 09:48:03 +0000 (09:48 +0000)]
Fixed the fake circular denpendency of library instance.

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

13 years agoUpdated the function comments in UefiDriverEntryLib to fix EDKT502.
yshang1 [Tue, 23 Jan 2007 09:36:01 +0000 (09:36 +0000)]
Updated the function comments in UefiDriverEntryLib to fix EDKT502.

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

13 years agoModify the EFI_USB_DATA_DIRECTION according to UEFI specification 2.1 page 708.
klu2 [Tue, 23 Jan 2007 09:15:17 +0000 (09:15 +0000)]
Modify the EFI_USB_DATA_DIRECTION according to UEFI specification 2.1 page 708.

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

13 years agoFixed EDKT493. Added support to "SupModuleList" for checking if a library instance...
jwang36 [Tue, 23 Jan 2007 08:51:06 +0000 (08:51 +0000)]
Fixed EDKT493. Added support to "SupModuleList" for checking if a library instance is supporting current module.

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

13 years agoCorrected a small bugs:
qwang12 [Tue, 23 Jan 2007 08:28:43 +0000 (08:28 +0000)]
Corrected a small bugs:

The macro name generated in autogen should match that in the Service.h.

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

13 years agoMoved the function prototype of SetVirtualAddress and ExitBootService to AutoGen...
jwang36 [Tue, 23 Jan 2007 05:14:48 +0000 (05:14 +0000)]
Moved the function prototype of SetVirtualAddress and ExitBootService to AutoGen.h for the sake of Intel Compiler.

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

13 years agoAdd dependency checking to the Far install.
bbahnsen [Mon, 22 Jan 2007 19:41:08 +0000 (19:41 +0000)]
Add dependency checking to the Far install.

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

13 years agoPython script for generating build files for platform and modules, which uses the...
jwang36 [Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)]
Python script for generating build files for platform and modules, which uses the enhanced XmlRoutines.py written by Bruce.

The functionalities include:
- parse all packages(.spd) and modules(.msa)
- parse active platform(.fpd). You must set active platform in target.txt otherwise nothing will be parsed.
- parse tools_def.txt and target.txt
- generate Ant build files for active platform and its modules. The generated build file is re-designed and can be called separately once generated.
- multi-thread build

The functionalities which haven't been implemented include:
- AutoGen. No AutoGen.h and AutoGen.c will be generated. If you want run the build file, you have to run the "build" command in advance to generate the AutoGen.h/.c files and remove the any other intermediate files.
- generate FFS and FV files. Only compiling will be done by the generated build file.

Usage:
- type "python ${WORKSPACE}/Tools/Python/buildgen/BuildFile.py" in shell to generate build file
- goto "${WORKSPACE}/Build/${platform}/${target}_${toolchaintag}/", type "ant" to run the build file

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

13 years agoAdded tasks to create DEBUG and OUTPUT directory in case they haven't been created
jwang36 [Mon, 22 Jan 2007 09:18:15 +0000 (09:18 +0000)]
Added tasks to create DEBUG and OUTPUT directory in case they haven't been created

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

13 years agoAdd a program to install fars.
bbahnsen [Sat, 20 Jan 2007 00:41:32 +0000 (00:41 +0000)]
Add a program to install fars.

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

13 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 09:46:44 +0000 (09:46 +0000)]
Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers

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

13 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 08:06:15 +0000 (08:06 +0000)]
Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers

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

13 years agoFix component name bugs when input Controller Name is invalid
qhuang8 [Fri, 19 Jan 2007 08:04:03 +0000 (08:04 +0000)]
Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers

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

13 years agoFixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is...
jwang36 [Fri, 19 Jan 2007 07:41:47 +0000 (07:41 +0000)]
Fixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is not defined.

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

13 years ago1) Added prototype of constructor and destructor in the library's AutoGen.h. This...
jwang36 [Fri, 19 Jan 2007 06:25:21 +0000 (06:25 +0000)]
1) Added prototype of constructor and destructor in the library's AutoGen.h. This is necessary for Intel Compiler.
2) Corrected the prototype destructor of EdkUefiRuntimeLib.

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

13 years agoCorrected the regular expression because it will skip many includes.
jwang36 [Fri, 19 Jan 2007 03:43:03 +0000 (03:43 +0000)]
Corrected the regular expression because it will skip many includes.

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

13 years agoMinor word change.
ywang [Thu, 18 Jan 2007 22:07:47 +0000 (22:07 +0000)]
Minor word change.

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

13 years agoMinor word change in utility display.
ywang [Thu, 18 Jan 2007 21:42:42 +0000 (21:42 +0000)]
Minor word change in utility display.

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

13 years agoAdd two useful functions in UefiLib for the implementation of Component Name, Driver...
qhuang8 [Thu, 18 Jan 2007 11:15:26 +0000 (11:15 +0000)]
Add two useful functions in UefiLib for the implementation of Component Name, Driver Config, and Driver Diag protocols.

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