Commit Graph

4384 Commits

Author SHA1 Message Date
lgao4 07a0a7f25c Correct one bug when add pad file may cause size exceed the region.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4979 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:18:04 +00:00
qhuang8 b463f6f75f Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4978 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:08:30 +00:00
qhuang8 5fed8e341a Update DxeCore to load image wit supported machine types:
DXE Core          Supported Machine Types
=======          ===================
IA32                IA32, EBC, X64
X64                 X64, EBC, IA32
IPF                 IPF, EBC
EBC                 EBC



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4977 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 06:56:35 +00:00
klu2 2a4b165f8a Add missing Guid declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4976 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 06:44:11 +00:00
jljusten 1d64c38923 edk2/MdeModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf:
Added package dependency of IntelFrameworkPkg/IntelFrameworkPkg.dec,
  which is caused by usage of GenericBdsLib.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4975 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 19:42:39 +00:00
qwang12 243324fc4d Fix a bug that BMM trim the name such as ".\...Name" to ".Name". The "\.." should only be merged with the previous path node if it is "\..\"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4974 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 12:40:21 +00:00
qwang12 4d3840844d In this fix, WinNtSimpleFileSystemOpen only trims the leading and trailing blank space in the input FileName. The previous implementation before this fix trims all the trailing dots including the case for ".\..", which should move the directory up one level.
A new function IsFileNameValid is added to check if input FileName is valid. If the FileName meets the following scenirio, it will be considered to be invalid:
1) There is two "\" in the path. For example, ".\SomePath\\".
2) There is a least one "/" in the path. The reason is that UEFI 2.1 specifcation only mention that ".", ".." and "\" is valid path modifiers.
3) There is more than two continous dots in the path name token. For example, ".\SomePath\....\SomeName.txt".


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4973 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 12:35:56 +00:00
qhuang8 f100bb0983 Fix a GUID value typo for Legacy BIOS protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4972 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-01 07:31:30 +00:00
lgao4 b900faa235 Enhance GenFw tool to always zero .pdata section for PE32 and PE32+ image in order to improve compression ratio for them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4971 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-31 05:25:03 +00:00
qhuang8 621dd7652c Add the value definition of PCD_EDKII_GLUE_PciExpressBaseAddress to build PciExpressLib in GlueLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4970 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 05:04:17 +00:00
qhuang8 57d40fe2af GCC cleanup for all EDK I DXE libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:46:03 +00:00
qhuang8 37eba21723 Remove forward declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4968 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:55 +00:00
qhuang8 6a7c450c1e Skip the progma for GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4967 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:43 +00:00
qhuang8 6425868fc8 Remove the invalid build option for IPF assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4966 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:28:06 +00:00
qhuang8 b4e547b691 Add newline at the end of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4965 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:21:35 +00:00
qhuang8 7ccf38a33e Update Guid Value format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4964 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:00:46 +00:00
qhuang8 4c5d09830b Add a work around Dummy.c file to avoid autogen error to GCC tool chain family.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4963 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 11:51:43 +00:00
qhuang8 7794baccd1 Update BuildOption to apply to GCC tool chain family.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4962 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 11:50:37 +00:00
qhuang8 dfbe72bd4a Add Change Log file for some non-backward compatible changes in ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4961 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 05:14:27 +00:00
qhuang8 204529a3a0 Remove the default value 0xE0000000 of EDKII_GLUE_PciExpressBaseAddress.
It requires platform DSC file to specify it explicitly in their DSC file to avoid runtime issue.
Unlike the other default value of PCD in GlueLib, this value does not work for all all platforms. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4960 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:49:40 +00:00
qhuang8 d1d1603e20 Rename PeiServicesLocatePpi to PeiServicesLocatePpi.
(Do not use macro function to avoid macro expansion error.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4959 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:45:38 +00:00
qhuang8 193f8db47b Rename BuildFvHob() & ScanGuid() in GlueLib to avoid naming collision in PeiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4958 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:44:06 +00:00
qhuang8 74386eaab3 Add the missing Capsule.h for potential reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4957 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:41:06 +00:00
qhuang8 f22d031914 Add EfiDriverLib to the [libraries] for the reference of EfiStrLen(), EfiAsciiStrLen(). This will prevent unresolved extern when EDK I module is built with GlueLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4956 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:39:51 +00:00
qhuang8 12cb2d9625 Change the device type of MEDIA_FV_DP & MEDIA_FV_FILEPATH_DP to align with the definition in MdePkg, which is updated in r4632
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4955 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:34:57 +00:00
qhuang8 b066b6e952 Add "typedef struct _EFI_SMM_CPU_SAVE_STATE_PROTOCOL EFI_SMM_CPU_SAVE_STATE_PROTOCOL;" so that EFI_SMM_CPU_SAVE_STATE_PROTOCOL is referenced in user code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4954 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:31:42 +00:00
qhuang8 712c07231e Add definition: EFI_ACPI_DMAR_TABLE_FLAGS_INTR_REMAP_CLEAR.
EFI_ACPI_DMAR_TABLE_FLAGS_INTR_REMAP_SET has already been defined in this file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4953 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:30:20 +00:00
jljusten e104fc15dc edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleFileSystem/SimpleFileSystem.h:
Added back 'typedef' needed for EFI_FILE_HANDLE.
  It should not have been removed in r4928.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4952 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-26 22:36:08 +00:00
qhuang8 af823bdc07 Clean up the unused macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4951 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-25 07:21:24 +00:00
qhuang8 0a779dbfd0 Update Shell Binary to integrate an aligned issue in shell binaries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4950 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-25 07:13:18 +00:00
eric_tian 88c8f7fbfd [Description]
spelling mistake
[Impaction]
modify the mistake
[Reference Info]
Found the spelling mistake in pool.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4949 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-24 07:11:37 +00:00
jljusten c05d012569 IntelFrameworkModulePkg/
Library/PciIncompatibleDeviceSupportLib/IncompatiblePciDeviceList.h:
  Bus/Pci/PciBusDxe/PciHotPlugSupport.c:
  Bus/Pci/IdeBusDxe/idebus.h:
* Fix issues with filename inconsistency which prevents building on
  systems with case sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4948 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 22:53:54 +00:00
jljusten cfc54bbbf8 Match case of architecture specific include path added by build system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4947 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 20:30:46 +00:00
jljusten 545c652778 Rename file to match recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4946 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 20:23:23 +00:00
jljusten aaf91d89e3 Match case of architecture specific include path added by build system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4945 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 19:58:18 +00:00
jljusten 4a33d64397 edk2/EdkCompatibilityPkg/Foundation/Core/Dxe ...
/ArchProtocol/StatusCode/StatusCode.h:
* Add back in typedef for which should not have been removed.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4944 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 17:53:04 +00:00
jljusten b4df501105 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDriver.c:
* Fix warning with gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4943 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 17:45:46 +00:00
jwang36 eba88b794e Changed per the recent update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4942 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 06:14:01 +00:00
eric_tian f2a94e2558 [Description]
solve the x64 exception issue when unloading iSCSI driver
[Impaction]
add some handler for failure branch and prohibit the additional ISCSI INITIATOR NAME PROTOCOL from being installed. 
[Reference Info]
this bug is reported by DELL. it causes an exception in x64 on unloading iscsi driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4941 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 03:28:56 +00:00
jljusten e41b500030 edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Arp/Arp.h:
* Add back in typedef for EFI_ARP_FIND_DATA which should not have
  been removed.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4940 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 22:11:40 +00:00
jljusten 5d46191d8f Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4939 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:17:47 +00:00
jljusten a2446f2e1b Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4938 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:10:58 +00:00
jljusten 6f80bb860f Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4937 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:08:53 +00:00
jljusten 96703427f2 edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h:
* Added the ULL suffix to constant values greater than 32-bits so they
  will be interpreted as a unsigned long long.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4936 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:07:19 +00:00
jljusten 5413b31d77 Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4935 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:01:21 +00:00
jljusten 51eafec648 Fix filename text 'case' for #include.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4934 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:00:45 +00:00
jljusten b9bbec4ff3 Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4933 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:59:20 +00:00
jljusten 338e1d5748 Fix filename text 'case' for #include.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4932 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:58:52 +00:00
jljusten 1c7caf7898 Removed extra typedefs to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4931 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:57:20 +00:00
jljusten 8cdb2112e2 * Removed extra typedefs on structures to fix error generated by gcc.
edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/Reset/Reset.h:
* Changed name of colliding function pointer typedef.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4930 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:54:38 +00:00