]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2364 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2362 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2361 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2360 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2359 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2358 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2357 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2356 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2354 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2353 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2351 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2350 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2349 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2348 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2345 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2343 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2342 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2341 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2339 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2337 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2336 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2335 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2334 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2333 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2331 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2330 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2329 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2327 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2325 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2324 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2322 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2321 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2320 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2319 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2318 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2317 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2315 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2314 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2311 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2310 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2309 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2308 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2307 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2306 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2304 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2303 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2302 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2301 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2300 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2299 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2298 6f19259b-4bc3-4df7-8a09-765794883524

17 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b...
jlin16 [Wed, 24 Jan 2007 09:59:00 +0000 (09:59 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2296 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2295 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2294 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2293 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2292 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2291 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2289 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2288 6f19259b-4bc3-4df7-8a09-765794883524

17 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b...
yshang1 [Tue, 23 Jan 2007 10:10:13 +0000 (10:10 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2286 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2285 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2284 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2283 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2282 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2281 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2280 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2279 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2278 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2277 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2276 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2275 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2274 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2273 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2272 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2271 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2270 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2269 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2268 6f19259b-4bc3-4df7-8a09-765794883524

17 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2267 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition...
qwang12 [Thu, 18 Jan 2007 09:15:52 +0000 (09:15 +0000)]
1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition which is not defined in Framework Boot Scirpt Specification V0.91.
2) Add MdePkg/Include/IndustryStandard/SmBus.h which hosts the standard definition defined in System Management Bus Spefication V2.0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2266 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoUpdated the copyright year.
qwang12 [Thu, 18 Jan 2007 06:48:58 +0000 (06:48 +0000)]
Updated the copyright year.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2265 6f19259b-4bc3-4df7-8a09-765794883524