mirror_edk2.git
14 years agoUpdate APP flag for VS2003, VS2005PRO and WINDDK toolchain.
lgao4 [Tue, 19 Dec 2006 06:32:14 +0000 (06:32 +0000)]
Update APP flag for VS2003, VS2005PRO and WINDDK toolchain.

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

14 years agoAdd GLOBAL_FUNCTION macro for Itanium
mdkinney [Tue, 19 Dec 2006 04:01:41 +0000 (04:01 +0000)]
Add GLOBAL_FUNCTION macro for Itanium

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

14 years agoAdd more check for index whether exceed maximum value of fv count.
klu2 [Tue, 19 Dec 2006 02:52:11 +0000 (02:52 +0000)]
Add more check for index whether exceed maximum value of fv count.

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

14 years agoAdd more check for index whether exceed maximum value of fv count.
klu2 [Tue, 19 Dec 2006 02:44:36 +0000 (02:44 +0000)]
Add more check for index whether exceed maximum value of fv count.

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

14 years agoRemove missing files from msa.
bbahnsen [Tue, 19 Dec 2006 00:24:03 +0000 (00:24 +0000)]
Remove missing files from msa.

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

14 years agoAdd FIT types from the SAL Spec to SalApi.h
mdkinney [Tue, 19 Dec 2006 00:22:38 +0000 (00:22 +0000)]
Add FIT types from the SAL Spec to SalApi.h

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

14 years agoRemove some non-existent files from msa files.
bbahnsen [Tue, 19 Dec 2006 00:09:48 +0000 (00:09 +0000)]
Remove some non-existent files from msa files.

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

14 years agoRemove commented out inclusion of SalApi.h
mdkinney [Mon, 18 Dec 2006 22:46:25 +0000 (22:46 +0000)]
Remove commented out inclusion of SalApi.h

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

14 years agoOnly include SAL related definitions if the CPU Arch is IPF
mdkinney [Mon, 18 Dec 2006 20:03:44 +0000 (20:03 +0000)]
Only include SAL related definitions if the CPU Arch is IPF

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

14 years agoOnly include SmmCis.h if the CPU Arch is IA32 or X64
mdkinney [Mon, 18 Dec 2006 20:02:05 +0000 (20:02 +0000)]
Only include SmmCis.h if the CPU Arch is IA32 or X64
Only include SalApi.h if the CPU Arch is IPF

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

14 years agoPopulate the zip file while building the manifest.
bbahnsen [Sat, 16 Dec 2006 20:51:59 +0000 (20:51 +0000)]
Populate the zip file while building the manifest.

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

14 years agoAdd better command line parameter handling.
bbahnsen [Sat, 16 Dec 2006 19:15:09 +0000 (19:15 +0000)]
Add better command line parameter handling.

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

14 years agoCorrections to the far manifest.
bbahnsen [Sat, 16 Dec 2006 08:28:47 +0000 (08:28 +0000)]
Corrections to the far manifest.

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

14 years agoStart to build the manifest.
bbahnsen [Sat, 16 Dec 2006 07:50:00 +0000 (07:50 +0000)]
Start to build the manifest.

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

14 years agoAdd a far maker
bbahnsen [Sat, 16 Dec 2006 06:39:33 +0000 (06:39 +0000)]
Add a far maker

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

14 years agoFix iMac build issue.
klu2 [Fri, 15 Dec 2006 02:18:13 +0000 (02:18 +0000)]
Fix iMac build issue.

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

14 years agoMerge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91...
lgao4 [Thu, 14 Dec 2006 10:14:24 +0000 (10:14 +0000)]
Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91. Update DxeCore and Runtime driver to follow new definitions.

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

14 years agoMerge R8 track #8354: SupportPalette() algorithm incorrect
klu2 [Thu, 14 Dec 2006 08:47:45 +0000 (08:47 +0000)]
Merge R8 track #8354: SupportPalette() algorithm incorrect

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

14 years agoOriginal BdsLibMatchDevicePaths() excludes end node when comparing 2 devices paths...
xli24 [Thu, 14 Dec 2006 05:23:10 +0000 (05:23 +0000)]
Original BdsLibMatchDevicePaths() excludes end node when comparing 2 devices paths. When a short device path is the part of a long device path, the function would mistakenly recognize them as same device paths.
So it should compare the entire device path, including the end node.

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

14 years agoAdd blank line at end of source code for GCC building.
klu2 [Thu, 14 Dec 2006 03:01:02 +0000 (03:01 +0000)]
Add blank line at end of source code for GCC building.

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

14 years agoAdd blank line at end of source code for GCC building.
klu2 [Thu, 14 Dec 2006 02:56:54 +0000 (02:56 +0000)]
Add blank line at end of source code for GCC building.

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

14 years agoChange the Boot Script storage to fixed length.
xgu3 [Wed, 13 Dec 2006 07:36:20 +0000 (07:36 +0000)]
Change the Boot Script storage to fixed length.

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

14 years ago1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
qwang12 [Wed, 13 Dec 2006 07:03:04 +0000 (07:03 +0000)]
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.

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

14 years agoAdded support for macro/property in tools_def.txt. Now you can define a property...
jwang36 [Wed, 13 Dec 2006 06:35:03 +0000 (06:35 +0000)]
Added support for macro/property in tools_def.txt. Now you can define a property via environment variable and use it in tools_def.txt and target.txt in the form of ${name}

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

14 years agoFix the showstopper track 435 that console can not be switched into text mode when...
klu2 [Wed, 13 Dec 2006 06:31:37 +0000 (06:31 +0000)]
Fix the showstopper track 435 that console can not be switched into text mode when entering shell driver.

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

14 years agoFix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and UgaHeight...
xgu3 [Wed, 13 Dec 2006 03:52:13 +0000 (03:52 +0000)]
Fix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and UgaHeight, but Columns and Rows are not initialized.

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

14 years ago1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
qwang12 [Wed, 13 Dec 2006 03:16:04 +0000 (03:16 +0000)]
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

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

14 years ago1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
qwang12 [Wed, 13 Dec 2006 03:11:47 +0000 (03:11 +0000)]
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

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

14 years agoFixed EDKT484 and rewrite the output message when no arch is found.
jwang36 [Wed, 13 Dec 2006 02:42:46 +0000 (02:42 +0000)]
Fixed EDKT484 and rewrite the output message when no arch is found.

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

14 years agoFix linux/cygwin build issue.
klu2 [Tue, 12 Dec 2006 17:19:13 +0000 (17:19 +0000)]
Fix linux/cygwin build issue.

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

14 years agoFix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch.
wuyizhong [Tue, 12 Dec 2006 08:53:44 +0000 (08:53 +0000)]
Fix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch.

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

14 years agoGetCurrentLanguage() in IFR Support Library treats language variable incorrectly...
xli24 [Tue, 12 Dec 2006 07:19:26 +0000 (07:19 +0000)]
GetCurrentLanguage() in IFR Support Library treats language variable incorrectly. It attempted to search for '\0' flag, but the variable does not have this flag. It is a string with constant width of 3 characters.

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

14 years agoMerge GOP related code from r8->r9.
wuyizhong [Tue, 12 Dec 2006 07:09:03 +0000 (07:09 +0000)]
Merge GOP related code from r8->r9.

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

14 years agomake edksetup.bat accept case-insensitive parameters.
wuyizhong [Tue, 12 Dec 2006 05:35:03 +0000 (05:35 +0000)]
make edksetup.bat accept case-insensitive parameters.

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

14 years agoUpdate BaseDebugLibNull to not touch any global variables or PCD settings
mdkinney [Tue, 12 Dec 2006 05:26:13 +0000 (05:26 +0000)]
Update BaseDebugLibNull to not touch any global variables or PCD settings
Update BasePeCoffLib to include work around for Itanium ELILO images that do not follow the PE/COFF spec

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

14 years agoUsed the msa file name instead of module name as intermediate directory name
jwang36 [Mon, 11 Dec 2006 14:54:44 +0000 (14:54 +0000)]
Used the msa file name instead of module name as intermediate directory name

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

14 years ago1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory
hche10x [Mon, 11 Dec 2006 06:09:30 +0000 (06:09 +0000)]
1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory

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

14 years agoFix the bug that could make gMemoryTypeInformation unavailable when gMemoryTypeInform...
xgu3 [Mon, 11 Dec 2006 02:06:19 +0000 (02:06 +0000)]
Fix the bug that could make gMemoryTypeInformation unavailable when gMemoryTypeInformation is filled to EfiMaxMemoryType.

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

15 years agoFixed EDKT482. Added support for multiple msa files in the same directory.
jwang36 [Fri, 8 Dec 2006 08:14:10 +0000 (08:14 +0000)]
Fixed EDKT482. Added support for multiple msa files in the same directory.

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

15 years agoSupport adding boot option from removable media, and removing invalid EFI boot option
xli24 [Fri, 8 Dec 2006 07:33:23 +0000 (07:33 +0000)]
Support adding boot option from removable media, and removing invalid EFI boot option

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

15 years agoDo not clear debug register. New performance code does not use Debug register to...
qhuang8 [Fri, 8 Dec 2006 07:32:20 +0000 (07:32 +0000)]
Do not clear debug register. New performance code does not use Debug register to log performance.

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

15 years agoThe EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type...
klu2 [Fri, 8 Dec 2006 05:09:33 +0000 (05:09 +0000)]
The EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type, So last check-in is duplicated code. Remove it.

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

15 years agoHandle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
klu2 [Fri, 8 Dec 2006 03:43:57 +0000 (03:43 +0000)]
Handle new relocation type EFI_IMAGE_REL_BASED_DIR64  for X64.

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

15 years agoAdd a new definition according to Pci spec 2.2
qhuang8 [Fri, 8 Dec 2006 03:41:30 +0000 (03:41 +0000)]
Add a new definition according to Pci spec 2.2

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

15 years agoChanged /SUBSYSTEM:CONSOLE back to /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER because EBC...
jwang36 [Fri, 8 Dec 2006 02:54:26 +0000 (02:54 +0000)]
Changed /SUBSYSTEM:CONSOLE back to /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER because EBC cannot support CONSOLE.

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

15 years agoChanged the /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER back to /SUBSYSTEM:CONSOLE for IA32...
jwang36 [Fri, 8 Dec 2006 02:47:36 +0000 (02:47 +0000)]
Changed the /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER back to /SUBSYSTEM:CONSOLE for IA32, X64 and EBC architecture because nt32 cannot be debugged with source. In addition, fwimage will fix the subsystem field later. So, for better compatible with more tool chain, it's ok to just use CONSOLE. The link option for IPF doesn't get changed in case of the runtime issue in shell.

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

15 years agoAdd more assert to check table pointer.
klu2 [Fri, 8 Dec 2006 02:35:17 +0000 (02:35 +0000)]
Add more assert to check table pointer.

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

15 years agoRemove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoade...
lgao4 [Thu, 7 Dec 2006 11:33:20 +0000 (11:33 +0000)]
Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC, & X64 images all.

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

15 years ago(1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type...
lgao4 [Thu, 7 Dec 2006 11:32:26 +0000 (11:32 +0000)]
(1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.

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

15 years agoAdd X64 support for DebugSupport driver.
klu2 [Thu, 7 Dec 2006 08:41:28 +0000 (08:41 +0000)]
Add X64 support for DebugSupport driver.

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

15 years agoAdd X64 support for DebugSupport driver.
klu2 [Thu, 7 Dec 2006 08:31:19 +0000 (08:31 +0000)]
Add X64 support for DebugSupport driver.

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

15 years agoFix the issues caused by EfiCompress.h was changed to Compress.h.
klu2 [Thu, 7 Dec 2006 06:39:45 +0000 (06:39 +0000)]
Fix the issues caused by EfiCompress.h was changed to Compress.h.

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

15 years agoLet specify GUID value for GUID-defined FV region, and remove potential dead loop...
xli24 [Thu, 7 Dec 2006 06:02:54 +0000 (06:02 +0000)]
Let specify GUID value for GUID-defined FV region, and remove potential dead loop in Nt32 package.

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

15 years agoThe main issue want to be resolve is that some tools need EfiCompress and other tools...
klu2 [Thu, 7 Dec 2006 05:29:07 +0000 (05:29 +0000)]
The main issue want to be resolve is that some tools need EfiCompress and other tools need TianoCompress, but only common Compress(indeed is TianoCompress) is provided in tool/CCode/Common.
EfiCompress and TianoCompress are all originated from LZ77 algorithms and they have very little different, that different position set for Huffman code.
EfiCompress is defined in EFI 1.1 spec and EfiRom tool need it to create a recognized compressed EFI driver.
TianoCompress is for pursuer more size saving and it used be GenFfs and GenSection tools.
So this patch:
1) Split EfiComress and TianoCompress in edkII’s tools
2) Change EfiRom tool use EfiCompress and GenFfs/GenSection use TianoCompress

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

15 years agoRemove the Tiger special application tool from the publish folder.
zliu3 [Thu, 7 Dec 2006 01:02:00 +0000 (01:02 +0000)]
Remove the Tiger special application tool from the publish folder.

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

15 years agoAdded the shell application for Tiger4 flash updating
zliu3 [Wed, 6 Dec 2006 12:44:17 +0000 (12:44 +0000)]
Added the shell application for Tiger4 flash updating

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

15 years agoMerge R8 tracker #8375.
xli24 [Wed, 6 Dec 2006 09:04:37 +0000 (09:04 +0000)]
Merge R8 tracker #8375.
Make GetVariable() check Data parameter, and return EFI_INVALID_PARAMETER if it is NULL and DataSize is enough, according to UEFI spec.

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

15 years agoFor the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", Revision...
zliu3 [Wed, 6 Dec 2006 08:55:23 +0000 (08:55 +0000)]
For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", Revision 2059 missed the fixing of Revision 2058, so commit the fixing of revision 2058

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

15 years agoFixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different with GetPa...
zliu3 [Wed, 6 Dec 2006 08:16:31 +0000 (08:16 +0000)]
Fixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different with GetPadSize(), so in some special case the variable can not be read rightly after it was set.

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

15 years agoMerge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with UEFI...
xli24 [Wed, 6 Dec 2006 05:32:17 +0000 (05:32 +0000)]
Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with UEFI spec.

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

15 years agoAdd DxeDebugLibSerialPort that provides a debug library that layers directly on top...
mdkinney [Wed, 6 Dec 2006 05:17:50 +0000 (05:17 +0000)]
Add DxeDebugLibSerialPort that provides a debug library that layers directly on top of a serial port
Add an EdkDxeRuntimeSalLib that provide a SalLib that is safe for runtime use.  The EdkDxeSalLib is now a boot service only lib.
Move the registration and processing of ExitBootServicesEvents() from the RuntimeLib to the UEFI DriverEntryPointLib in the MdePkg.

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

15 years agoMove registration and processing of ExitBootServices() events into UefiDriverEntryPoi...
mdkinney [Wed, 6 Dec 2006 05:13:52 +0000 (05:13 +0000)]
Move registration and processing of ExitBootServices() events into UefiDriverEntryPoint/DriverEntryPoint.c

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

15 years agoMerge PVCS #7739.
qhuang8 [Wed, 6 Dec 2006 03:33:01 +0000 (03:33 +0000)]
Merge PVCS #7739.
Drop Ebc arch support for PxeBc module.

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

15 years agoFix the build break since VariableIpf & EmuVariableIpf were splitted from Variable...
qhuang8 [Wed, 6 Dec 2006 03:10:11 +0000 (03:10 +0000)]
Fix the build break since VariableIpf & EmuVariableIpf were splitted from Variable & EmuVariable respectively to support IPF build.

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

15 years agoDelete
bbahnsen [Tue, 5 Dec 2006 22:54:42 +0000 (22:54 +0000)]
Delete

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

15 years agoRemove
bbahnsen [Tue, 5 Dec 2006 22:36:52 +0000 (22:36 +0000)]
Remove

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

15 years agoChange Name
bbahnsen [Tue, 5 Dec 2006 22:35:01 +0000 (22:35 +0000)]
Change Name

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

15 years agoChange name
bbahnsen [Tue, 5 Dec 2006 22:11:22 +0000 (22:11 +0000)]
Change name

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

15 years agoFactor out the XML API so other scripts can use it.
bbahnsen [Tue, 5 Dec 2006 21:57:04 +0000 (21:57 +0000)]
Factor out the XML API so other scripts can use it.

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

15 years agoAdd enumeration type for EfiProcessorFamilyIntelPentiumM, EfiProcessorFamilyIntelCele...
xli24 [Tue, 5 Dec 2006 03:40:01 +0000 (03:40 +0000)]
Add enumeration type for EfiProcessorFamilyIntelPentiumM, EfiProcessorFamilyIntelCeleronD, EfiProcessorFamilyIntelPentiumD, EfiProcessorFamilyIntelPentiumEx for processor family data.

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

15 years agoDo not check __STDC_VERSION__ for gcc.
bbahnsen [Mon, 4 Dec 2006 17:01:58 +0000 (17:01 +0000)]
Do not check __STDC_VERSION__ for gcc.

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

15 years agoRemove use of global variable at runtime in this lib
mdkinney [Sat, 2 Dec 2006 19:09:56 +0000 (19:09 +0000)]
Remove use of global variable at runtime in this lib

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

15 years agoUpdate the EmuVariable and Variable modules to have a ModuleType of DXE_SAL_DRIVER...
mdkinney [Fri, 1 Dec 2006 22:08:32 +0000 (22:08 +0000)]
Update the EmuVariable and Variable modules to have a ModuleType of DXE_SAL_DRIVER for IPF builds.

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

15 years agoAdd a FullShell and MinimumShell module
mdkinney [Thu, 30 Nov 2006 23:46:15 +0000 (23:46 +0000)]
Add a FullShell and MinimumShell module
The original Shell module in the bin directory is still present, but will be removed after all platforms have been updated to use either the FullShell or MinimumShell module.

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

15 years agoFix static data initializer syntax for array of union.
bbahnsen [Thu, 30 Nov 2006 19:03:58 +0000 (19:03 +0000)]
Fix static data initializer syntax for array of union.

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

15 years agoUpdated the incorrect IPF Shell binary with the one which is used in current R8.6...
zliu3 [Thu, 30 Nov 2006 13:31:34 +0000 (13:31 +0000)]
Updated the incorrect IPF Shell binary with the one which is used in current R8.6 Tiger Tip; and update the msa to use the small shell binary.

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

15 years agoAdd Information Opcode in S3 modules.
xgu3 [Thu, 30 Nov 2006 09:14:25 +0000 (09:14 +0000)]
Add Information Opcode in S3 modules.
   Information Opcode is a new opcode that allows driver to record any information in script table.

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

15 years ago1. Fix EDKT476 Wizard gives wrong warning messsage that confuses user
hche10x [Thu, 30 Nov 2006 07:45:39 +0000 (07:45 +0000)]
1. Fix EDKT476 Wizard gives wrong warning messsage that confuses user

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

15 years agoFix a bug when zeroing exception data in FwImage tool
rsun3 [Thu, 30 Nov 2006 04:02:47 +0000 (04:02 +0000)]
Fix a bug when zeroing exception data in FwImage tool

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

15 years ago_filelength is a function of fd, not FILE *
bbahnsen [Wed, 29 Nov 2006 21:03:11 +0000 (21:03 +0000)]
_filelength is a function of fd, not FILE *

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

15 years agoSwitch IPF builds to use full shell instead of minimum Shell.msa
mdkinney [Wed, 29 Nov 2006 19:27:34 +0000 (19:27 +0000)]
Switch IPF builds to use full shell instead of minimum Shell.msa
Minimum shell is an IA-32 image type.  We need to check in an IPF version of the minimum Shell.msa

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

15 years agoAdded the StatusCode protocol installation for the IPF architecture; removed the...
zliu3 [Wed, 29 Nov 2006 13:29:14 +0000 (13:29 +0000)]
Added the StatusCode protocol installation for the IPF architecture; removed the CapsuleArchProtocol checking for the IPF architecture

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

15 years ago1) Fix buffer overflow in JUMP_BUFFER in the DXE Core StartImage()
mdkinney [Wed, 29 Nov 2006 03:05:46 +0000 (03:05 +0000)]
1) Fix buffer overflow in JUMP_BUFFER in the DXE Core StartImage()

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

15 years ago1) Make a slightly better work around for the EdkDxeSalLib by removing constructor...
mdkinney [Wed, 29 Nov 2006 03:03:20 +0000 (03:03 +0000)]
1) Make a slightly better work around for the EdkDxeSalLib by removing constructor from MSA and calling constructor from library functions.
2) Fix pointer bug in the EdkUefiRuntimeLibrary in the event creation

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

15 years agoOutput DxeCore Entrypoint in DxeIpl module, and make dxecore module can correctly...
lgao4 [Wed, 29 Nov 2006 02:54:20 +0000 (02:54 +0000)]
Output DxeCore Entrypoint in DxeIpl module, and make dxecore module can correctly output >4G module entry point address.

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

15 years agoFix a typo in yesterday's check in.
qhuang8 [Wed, 29 Nov 2006 02:40:28 +0000 (02:40 +0000)]
Fix a typo in yesterday's check in.

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

15 years agoMake DxeIpl "assembly-free" to avoid the undesired LongMode.obj code in image even...
qhuang8 [Wed, 29 Nov 2006 01:49:26 +0000 (01:49 +0000)]
Make DxeIpl "assembly-free" to avoid the undesired LongMode.obj code in image even if we do not choose to switch to long mode.

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

15 years agoAdd an example of a mingw32 tool chain.
bbahnsen [Tue, 28 Nov 2006 16:54:15 +0000 (16:54 +0000)]
Add an example of a mingw32 tool chain.

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

15 years agoSet default value of DxeIplBuildShareCodeHob to FALSE.
qhuang8 [Tue, 28 Nov 2006 08:05:03 +0000 (08:05 +0000)]
Set default value of DxeIplBuildShareCodeHob to FALSE.

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

15 years agoupdate fpd to add PcdDxeIplBuildShareCodeHobs.
qhuang8 [Tue, 28 Nov 2006 08:03:15 +0000 (08:03 +0000)]
update fpd to add PcdDxeIplBuildShareCodeHobs.

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

15 years agoRemove this file for no usage.
qhuang8 [Tue, 28 Nov 2006 08:01:47 +0000 (08:01 +0000)]
Remove this file for no usage.

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

15 years ago• Set the default value of PcdDxeIplSwitchToLongMode to TRUE.
qhuang8 [Tue, 28 Nov 2006 07:59:59 +0000 (07:59 +0000)]
• Set the default value of PcdDxeIplSwitchToLongMode to TRUE.
• Make access to PcdDxeIplSwitchToLongMode to Ia32 specific code.
• Introduce another feature flag named PcdDxeIplBuildShareCodeHobs to define whether to build hobs to DXE core to share code.
• Remove the #progma bug

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

15 years agoset pcd data type to boolean when declaring a FEATURE_FLAG usage typed pcd in package...
jlin16 [Tue, 28 Nov 2006 05:36:38 +0000 (05:36 +0000)]
set pcd data type to boolean when declaring a FEATURE_FLAG usage typed pcd in package pcd declarations editor.

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

15 years agoAdd JumpBuffer field to the static structure
mdkinney [Tue, 28 Nov 2006 02:45:20 +0000 (02:45 +0000)]
Add JumpBuffer field to the static structure
Align all Jump Context buffers according to the CPU specific alignment requirements

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

15 years agoAdd JumpBuffer field that records the allocated pool address that may be different...
mdkinney [Tue, 28 Nov 2006 02:44:20 +0000 (02:44 +0000)]
Add JumpBuffer field that records the allocated pool address that may be different that the Jump Context address

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

15 years agoAlign the top of the stack correctly when the PEI Core calls SwitchStack()
mdkinney [Tue, 28 Nov 2006 02:42:44 +0000 (02:42 +0000)]
Align the top of the stack correctly when the PEI Core calls SwitchStack()

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

15 years agoDeclare the alignment required for jump Buffers
mdkinney [Tue, 28 Nov 2006 02:41:26 +0000 (02:41 +0000)]
Declare the alignment required for jump Buffers

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

15 years agoFix bug to support Nt32Pkg source level debug.
yshang1 [Mon, 27 Nov 2006 10:55:23 +0000 (10:55 +0000)]
Fix bug to support Nt32Pkg source level debug.
MS-LINK would not generate .edata section with /SUBSYSTEM:Extensible Firmware Interface option, so NtPeCoffLoader can not retrieve driver entry by GetProcAddress().

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

15 years agoUpdate DxeIplPeim setting.
qhuang8 [Mon, 27 Nov 2006 10:14:28 +0000 (10:14 +0000)]
Update DxeIplPeim setting.

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

15 years agoIntroduce PcdDxeIplSwitchToLongMode to DxeIplPeim and remove DxeIplX64Peim.
qhuang8 [Mon, 27 Nov 2006 10:14:02 +0000 (10:14 +0000)]
Introduce PcdDxeIplSwitchToLongMode to DxeIplPeim and remove DxeIplX64Peim.

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