Commit Graph

2225 Commits

Author SHA1 Message Date
qwang12 7736526c9e 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
2006-12-13 07:03:04 +00:00
jwang36 2251a36013 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
2006-12-13 06:35:03 +00:00
klu2 a96f893c14 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
2006-12-13 06:31:37 +00:00
xgu3 3bc85e36c1 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
2006-12-13 03:52:13 +00:00
qwang12 0265b1e8cb 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
2006-12-13 03:16:04 +00:00
qwang12 6874dbd0e2 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
2006-12-13 03:11:47 +00:00
jwang36 bc022470e4 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
2006-12-13 02:42:46 +00:00
klu2 7a2729d4f7 Fix linux/cygwin build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2088 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 17:19:13 +00:00
wuyizhong 9d3fbdbd47 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
2006-12-12 08:53:44 +00:00
xli24 cdcaf781f3 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
2006-12-12 07:19:26 +00:00
wuyizhong 406adcd15c 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
2006-12-12 07:09:03 +00:00
wuyizhong d02920ead2 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
2006-12-12 05:35:03 +00:00
mdkinney 513b53b139 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
2006-12-12 05:26:13 +00:00
jwang36 86f3fef093 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
2006-12-11 14:54:44 +00:00
hche10x 3cbeeeb8d7 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
2006-12-11 06:09:30 +00:00
xgu3 4629ca40b7 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
2006-12-11 02:06:19 +00:00
jwang36 c340a28e27 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
2006-12-08 08:14:10 +00:00
xli24 c587fa4b28 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
2006-12-08 07:33:23 +00:00
qhuang8 060919cc05 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
2006-12-08 07:32:20 +00:00
klu2 b96ad3ace8 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
2006-12-08 05:09:33 +00:00
klu2 265c22cc33 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
2006-12-08 03:43:57 +00:00
qhuang8 1082de3167 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
2006-12-08 03:41:30 +00:00
jwang36 fb42187380 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
2006-12-08 02:54:26 +00:00
jwang36 69df5708bd 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
2006-12-08 02:47:36 +00:00
klu2 f62485d39a 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
2006-12-08 02:35:17 +00:00
lgao4 83a4143f53 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
2006-12-07 11:33:20 +00:00
lgao4 4afc6a7bf2 (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
2006-12-07 11:32:26 +00:00
klu2 77206d75ad Add X64 support for DebugSupport driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2068 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 08:41:28 +00:00
klu2 5fd59c656c Add X64 support for DebugSupport driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2067 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 08:31:19 +00:00
klu2 b2b5e78fbb 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
2006-12-07 06:39:45 +00:00
xli24 02918ed0ab 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
2006-12-07 06:02:54 +00:00
klu2 30f80dd8de 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
2006-12-07 05:29:07 +00:00
zliu3 61e61e3d30 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
2006-12-07 01:02:00 +00:00
zliu3 a21fa5ae0b 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
2006-12-06 12:44:17 +00:00
xli24 35d02d76bf 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
2006-12-06 09:04:37 +00:00
zliu3 3820a1717b 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
2006-12-06 08:55:23 +00:00
zliu3 09d4dd14e9 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
2006-12-06 08:16:31 +00:00
xli24 027c2ecb3b 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
2006-12-06 05:32:17 +00:00
mdkinney f1cd55fe24 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
2006-12-06 05:17:50 +00:00
mdkinney 756e4264d3 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
2006-12-06 05:13:52 +00:00
qhuang8 4eba088547 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
2006-12-06 03:33:01 +00:00
qhuang8 8106a89cd1 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
2006-12-06 03:10:11 +00:00
bbahnsen 4cb7d1e02b Delete
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2053 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:54:42 +00:00
bbahnsen d4e3c434b8 Remove
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2052 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:36:52 +00:00
bbahnsen 09d4d22408 Change Name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2051 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:35:01 +00:00
bbahnsen 40fdc5c43a Change name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2050 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:11:22 +00:00
bbahnsen 77afa5eb93 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
2006-12-05 21:57:04 +00:00
xli24 a7e39a828e 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
2006-12-05 03:40:01 +00:00
bbahnsen 6a138c666a 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
2006-12-04 17:01:58 +00:00
mdkinney 2df858f7e2 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
2006-12-02 19:09:56 +00:00