Commit Graph

10748 Commits

Author SHA1 Message Date
klu2 5b18234d98 Add temporary fix for PeLoader
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1113 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 05:07:48 +00:00
qouyang 1dbcbb6158 Fixed EDKT145
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1112 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:44:58 +00:00
jlin16 8f55ea7396 Remove empty FfsFileNameGuid element under ModuleSaBuildOptions if user input empty string into it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1111 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:21:41 +00:00
lhauch 7cae34b00a Fixed a spelling error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1110 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:44:12 +00:00
ajfish ec412251c4 Reverted back to Old style not using the library and fixed the code to do PE32 and PE32+.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1109 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:35:16 +00:00
ajfish 236877a6a7 Added back safety check for PE/COFF image walking. I think the safety check is broken in some places (Linux) but we need to investigate more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1108 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:34:08 +00:00
lhauch 747e1504f1 Adjusted the Help Text field to be a Text Area inside of a Scroll Pane, with line wrapping and wrap on word boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1107 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 21:48:33 +00:00
lhauch f51ee52bce Fixed spelling and grammar, also fixed the size of the pop up dialog boxes and the placement of the Arch list check boxes in EventsDlg.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1106 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 19:20:43 +00:00
bbahnsen 0a75428c1b More info on compiling with Cygwin.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1105 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 18:31:53 +00:00
bbahnsen 460fa4a25b A couple of cleanups in the TianoTools build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1104 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 17:25:15 +00:00
ajfish 2ce311322c Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class.
Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated.

Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. 

Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType.

PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together.

Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage.

I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 15:23:35 +00:00
yshang1 dca84bbd41 Replace the original Fat.FFS to fix issue which causes to read some hard-disk slowly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1102 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 14:21:56 +00:00
qouyang ea62f12ac6 fixed EDKT139.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1101 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 10:18:56 +00:00
jlin16 a490bca85d fix the problem that if no data updated in wizard editors, the Save indicator will not pop-up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1100 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 09:42:04 +00:00
jwang36 6c96db7120 Added code to fail the SAVerify command when validation failed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1099 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 08:24:17 +00:00
bbahnsen 238094c40e Add tool chain tags for Unix gcc and Cygwin gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1098 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 00:31:31 +00:00
bbahnsen 6329bec103 A few notes on Linux builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1097 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 22:08:33 +00:00
bbahnsen 881c267b11 Add x64 headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1096 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 21:24:27 +00:00
bbahnsen c7c42e4001 Support building on x64 hosts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1095 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 21:08:04 +00:00
lhauch 4cb2253560 Added Copyright
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1094 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 15:27:10 +00:00
wuyizhong c1e9ba078c Remove duplicated module definition (the same module with the same arch) in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1093 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:44:31 +00:00
bxing ebca816989 Added a 64-bit version of EnablePaging64() on X64. AsmEnablePaging64() is the transition code to switch the processor from 32-bit into 64-bit long mode and thus is typically linked with 32-bit images only. However, it's desired to link the transition code into a 64-bit image in some special cases. CPU driver is a good example among those.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1092 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:30:02 +00:00
jwang36 991d660b95 Changed the way to save generated module build.xml to avoid incorrect file name generated on Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1091 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:13:58 +00:00
bxing 452e6c77be Updated function headers according to latest MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1090 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 07:37:25 +00:00
bxing ed384ef31c 1. Updated declaration of timer functions according to latest MWG.
2. Updated coding style.
3. Updated the algorithm used in delay functions to handle timer counter wrap-around.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1089 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 07:33:02 +00:00
ljin6 26015d2294 remove ifdef for debuglevel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1088 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 05:38:26 +00:00
lhauch 11f009f190 Added test to ensure that the only options that can be used are the help optiops, Rebuild and ForceRebuild. Added printout of the CLASSPATH variable. Fixed case in two comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1087 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 16:03:47 +00:00
yshang1 161c26a7aa Change license of following files from Intel Copy Right to BSD-license.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1086 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 11:53:34 +00:00
ljin6 59a6c17936 Add some comments for translator parameter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1085 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 10:37:42 +00:00
qhuang8 c4898a017e Fix a bug in UefiDevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1084 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 10:15:33 +00:00
qouyang 893cea1463 Keep the original order of MSA's "dependence library class" which will reflect to include header file in Autogen.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1083 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 09:30:22 +00:00
xgu3 5dd2d779dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1082 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-24 08:44:40 +00:00
jlin16 1be13d3fdd 1. Add scroll bars to Package Library Class Declarations editor.
2. Add GuidType UI support to protocol and ppi declarations according to latest schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1081 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:16:26 +00:00
yshang1 a8bcbf3d11 Fix bug which define different PCD with same token number in EdkModulePkg.spd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:55 +00:00
jwang36 52cbbdbc16 Fixed EDKT118
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1079 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:37 +00:00
hche10x ed1665f268 1. Wrap text by word when showing a message box
2. Add "wrn" function in Log.java to save and show warning message. Most of original err messages are replaced by warning messages.
3. Add "try-catch" for double click event in main ui.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1078 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 07:43:22 +00:00
klu2 6ab88a7c86 Fix track EDKT97: Use {0} as NULL value for VOID* type PCD but not {}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1077 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 17:26:27 +00:00
qhuang8 9a557fb6c7 Remove the instance of BaseSmbusLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1076 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 12:55:55 +00:00
qhuang8 1f33a17ff1 Adjust coding style for MemoryAllocationLib.
Add function header for an internal function of PciExpressLib
Fix a typo in one comment of UefiLib
Remove BaseSmbusLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1075 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 12:55:05 +00:00
yshang1 49cff29c80 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1073 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:38:40 +00:00
yshang1 e60884f650 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1072 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:14:12 +00:00
yshang1 3b4377493c Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1071 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:11:09 +00:00
yshang1 b0a3b7453d 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1070 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:28:21 +00:00
yshang1 9fbf943fc1 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1069 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:28:01 +00:00
yshang1 ba53dd4a1a 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1068 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:27:43 +00:00
yshang1 56836fe92b 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1067 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:25:43 +00:00
bxing 3f566587ae 1. Updated function headers in all assembly files.
2. Split x86LowLevel.c into a bunch of C files to make images linked with BaseLib smaller.
3. Fixed a few minor bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1066 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 08:47:38 +00:00
qouyang 31a9215c32 Add check when copy flashMap.h to ${ModuleOutputDir}/Debug/TianoR8FlashMap.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1065 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 08:26:32 +00:00
hche10x f9d0ab9266 1. Show source files' attributes when editing SourceFiles in msa
2. Set default value to "Module" when new a msa
3. Move OpenFile.java from identification to common

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1064 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 07:56:14 +00:00
hche10x 75dd1f9efc Update FrameworkWizard.msa to add newly added file in <SourceFiles> section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1063 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 04:00:16 +00:00