Commit Graph

279 Commits

Author SHA1 Message Date
yshang1 9cad030bc1 Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10 04:26:13 +00:00
yshang1 fdb7765f2d 1) Fix the bug that Variable Cache Search does not be protected by lock during boot time. It potentially results in the info from GetVariable() is not correct.
2) Check the integrity of Variable header. In original implementation, if not whole header is correct, then the variable will be treat as invalid. typically, if the NameSize has been programed but the DataSize not, then the variable storage would failed to set new variable.
3) Change the Variable Header Alignment from 1 to 4 bytes on x86. It avoids the DataSize or NameSize cross two blocks. For example, in original implementation, if the NameSize crosses two block, when the FLASH manipulation is interrupted after programed HSB of NameSize and prior to program LSB of NameSize on next block, then the invalid variable header will result in the Variable Storgae broken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4538 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 10:10:16 +00:00
vanjeff aec072adb2 sync tracker to remove duplicate display mode in ConOut virtual handle GOP instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4533 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 05:55:46 +00:00
vanjeff b7d3c63160 fixed one bug when calculate the string length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4524 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-08 08:15:44 +00:00
eric_tian 07a7038c78 update for passing the ICC compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4498 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 05:51:44 +00:00
vanjeff dc361cc5a0 1. Import UEFI PxeBc module in MdeModulePkg
2. Remove some SMBIOS definitions defined in PxeBc module, use those who are defined in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4495 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:29:30 +00:00
eric_tian db9d722df1 align all fields of data struct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4438 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 08:15:09 +00:00
eric_tian 6a690e23d7 add iSCSI protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4423 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:20:21 +00:00
klu2 d073838628 Remove 'Framework' word in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4403 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-20 03:15:02 +00:00
qwang12 893ce03b01 fix a issue to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:26:18 +00:00
vanjeff c4a62a12c2 Sync the latest version from R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4400 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:01:23 +00:00
vanjeff a182eb4624 Fixed the bug when set mode value is less than the Max mode value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4397 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-17 08:07:15 +00:00
jwang36 bc4b81899a Changed the file or directory name inconsistences
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4384 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 02:09:10 +00:00
lgao4 6ee65722c7 Update CapsuleDriver to use capsule library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4365 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 09:58:33 +00:00
vanjeff 7a5064ce42 A small changing to reduce size for ConSplitter module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4326 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 09:37:19 +00:00
eric_tian b819abbb7f align some line to conform with code style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4325 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-23 07:37:50 +00:00
qhuang8 8a7d75b062 Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +00:00
vanjeff 61066b8d74 remove member context from _EFI_MTFTP4_TOKEN structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4308 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 06:06:18 +00:00
vanjeff 36ee91ca36 1. Add DPC protocol and DpcLib library in MdeModulePkg.
2. Add DpcDxe module and DxeDpcLib module in MdeModulePkg
3. Port network stack module to use DPC.
4. Use MIN, and MAX defined in MdePkg to replace NET_MIN and NET_MAX.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4307 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 05:42:23 +00:00
lgao4 d12f75fee2 Add CapsuleInfo guid to store the list of capsule image guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4299 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-16 10:14:34 +00:00
eric_tian 8ae0b360f5 add UsbMouseSimulateTouchPad driver to verify the correction of dispatching AbsolutePointer event of consplitter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4297 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-14 07:08:55 +00:00
vanjeff a8779537f3 Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4296 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-13 09:09:00 +00:00
vanjeff 41057d7787 Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4295 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-13 09:08:17 +00:00
qwang12 c713e7c8a0 gEfiVariableWriteArchProtocolGuid should be used for the depex as defined in PI spec as this driver set a NV variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4292 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 05:28:44 +00:00
gtian 518d395c3b define the variable related to PCD for supporting big variable (>32K) easily.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4268 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-05 16:11:50 +00:00
yshang1 34ec75fc96 1) Change GUID of emuvariable module.
2) Support print 64bit's HobList.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4245 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 08:58:40 +00:00
jljusten 6ee5bbddea MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c:
Pre-initialize local variable 'Digit' in two functions to
  prevent a compiler warning.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4239 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:36:55 +00:00
klu2 8e5b17b25e Update following library class/Protocol for puting 'Framework' as prefix
FrameworkHii
FrameworkFormBrowser
FrameworkFormCallback
FrameworkIfrSupportLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4196 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:36:00 +00:00
qhuang8 0cadafc882 Add ConIn device even if SimpleTextInputEx Protocol is not available for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4192 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:13:52 +00:00
qhuang8 aa09397b3c Fix a bug in variable driver cache mechanism:
It should return EFI_SUCCESS and update the output buffer size if the input buffer is larger than actual variable contents.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4182 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 08:49:20 +00:00
qhuang8 66aa04e4e3 Update to support EFI_SIMPLE_INPUT_EX protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4178 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 02:35:29 +00:00
vanjeff 305a12799e Merger network tackers 9307, 9338, 9339, 9397
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4130 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 09:23:09 +00:00
klu2 de8fe2c269 Add judgement for TextModeMap
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4127 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 07:01:51 +00:00
vanjeff d0c64728d4 1. Add PcdConOutGopSupport and PcdConOutUgaSupport in MdeModulePkg.dec
2. ConSplitterDxe module could produce GOP and/or UGA according to thest 2 PCDs.
3. Add PcdConOutGopSupport and PcdConOutUgaSupport reference in DSC file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4121 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 05:30:18 +00:00
qhuang8 d1aeb0bdc3 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent static unicode string table linked into final image if both PcdComponentNameDisabled and PcdComponentName2Disabled are set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4084 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 03:36:31 +00:00
jwang36 db01f13e00 Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4075 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 07:04:15 +00:00
vanjeff 1b86875186 Fixed one issue for IPF, the entry address needs 8 bytes alignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4073 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 05:05:16 +00:00
yshang1 67a58d0ffd Clean up Network Components to support GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4062 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 09:30:52 +00:00
qhuang8 1307dcd745 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent component name structures linked into final image if PcdComponentNameDisabled or PcdComponentName2Disabled is set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4057 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:08:08 +00:00
qwang12 36873a6195 Fix a bug. FindVariable now search volatile variable first (previously NV variable first) for performance reason. Therefore, RuntimeServiceGetNextVariableName is updated based on this change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4056 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 05:42:37 +00:00
qhuang8 2d9a7522a3 Update English Module to selectively install Unicode Collation and Unicode Collation 2 protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4049 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 03:11:08 +00:00
AJFISH fd51bf702f Fix a bug with changing the NVRAM properties of a Variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4030 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 17:02:23 +00:00
AJFISH 052ad7e191 Update comments in Variable driver and removed references to FLASH Map Hob in INF files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4019 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 14:40:23 +00:00
AJFISH fae9ab87bb Made PCD valid for all architectures. Added new Variable statistic dump aplication to DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4017 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-04 22:45:11 +00:00
AJFISH 33a5a666a4 Add Profiling support for Variable store and added a specialized caching algorithm
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4015 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-04 21:01:21 +00:00
qhuang8 83cbd279b6 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4006 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 03:08:02 +00:00
qhuang8 5bca971e54 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4005 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 03:05:10 +00:00
qhuang8 19f97f7e86 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4004 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 03:02:26 +00:00
qhuang8 d38a0f446f Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4003 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 03:01:48 +00:00
vanjeff c62a593c90 1. Fixed one bug in ConPlatform.c, add NULL judgment.
2. Fixed one type in UgaDraw.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3976 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 02:57:38 +00:00
qhuang8 da1d02010d Clear up network stack to use R9 MdeLib:
1.Use driver model APIs in UefiLib
2.Register Unload Image in INF/MSA to be included in autogen code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3962 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 06:02:01 +00:00
vanjeff 73c7e13392 Sync BASE_NAME of Upd4Dxe to Udp4Dxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3959 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 02:38:36 +00:00
qhuang8 cf40f28a5b Update DevicePath driver to reflect several device path update in UEFI spec: SATA, memory, iScsi, Firmware volume, Firmware volume File, etc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3915 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 06:55:50 +00:00
yshang1 d074a8e1a2 Update Mde/MdeModulePkg to support ICC build for IA32/X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 06:15:43 +00:00
qhuang8 c649283953 1. Uefi2.1 feature - Add Hardware Error Record Persistence Support
2. Fix the return status accoring to approved UEFI ECRs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3866 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:50:40 +00:00
qhuang8 ad7e30a0e3 Remove the #ifdef style code ported from EDK tree. EdkII use PCD for customization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3793 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-11 06:07:15 +00:00
vanjeff 07e3550e9a Sync one bug on PxeBC module from R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3782 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 05:16:08 +00:00
qwang12 537fbd82b3 Clean up two infs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3779 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 01:23:45 +00:00
vanjeff 1f4cf7b1ba Fixed one bug when runtime test. The root cause is that ICC compiler will convert one local array to one global array, and not converted from boot time to run time.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3775 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 09:24:56 +00:00
qwang12 0c2b5da80e Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3773 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:12:48 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
vanjeff b61439a709 1. Fixed one bug in Undi driver.
2. Add default branch to meet CYGWINGCC build in Tcp4Dispatcher.c.
3. Sync the latest network stack library.
4. Fixed one bug in Mtftp4Support.c, for AsciiStrCpy() return the pointer to head of string, not the tail of string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3741 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 06:58:37 +00:00
jwang36 e75fe0ebba Added missing dependent package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3738 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 06:12:06 +00:00
yshang1 623ad724e1 Add dependent packages in INF of modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3731 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:52:49 +00:00
qhuang8 4278cb0f65 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3729 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 01:42:51 +00:00
qhuang8 4506f37b81 update the callback event error. The event type should be virtual-address-changed event instead of exit-boot -services event.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3728 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 01:40:32 +00:00
lgao4 d4571a86c9 Using the correct HiiFramework.h header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3722 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 06:14:00 +00:00
mdkinney cc79cef962 Add check of buffer value returned from AllocateZeroPool()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3718 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 23:30:37 +00:00
vanjeff e5e12de7d0 1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
2. Fixed one porting bug in Udp4Impl.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3717 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 09:17:26 +00:00
vanjeff d01c093a58 1. Sync Tcp4 protocol definitions to match UEFI 2.1
2. Clean up codes.
3. Remove struct definition content for big-endian, because UEFI 2.1 declare only little-endian supported.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3714 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 07:02:05 +00:00
qwang12 84b5c78e89 Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 03:33:51 +00:00
mdkinney 90e54a49a5 Clean up INF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3704 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 03:44:59 +00:00
vanjeff 7203045841 1. clean up codes.
2. fixed a porting issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3702 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 03:01:38 +00:00
vanjeff 687a2e5f69 1. Enable Network stack to pass SCT, currently MNP, ARP, IP4, TCP4 and DHCP4 have passed SCT.
2. Enable Network stack to pass ICC build.
3. Sync Network library instances' module names with their filenames.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3692 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 02:19:41 +00:00
yshang1 702887db45 Update PciCfg2.c to follow strict ANSI C spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3687 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 08:42:13 +00:00
qwang12 78d6fbd5e2 Merge in a bug fixed in EDK tree.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3681 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-20 08:00:45 +00:00
mdkinney 2d85ada2ec Use <> in #include statements instead of "" for include files from packages
Use '/' instead of '\' for all file references
Remove redundant use of $(WORKSPACE) from DSC, FDF, INF, and DEC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3672 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 21:04:00 +00:00
AJFISH 84ea1415db Previous fix was in error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3668 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 01:54:50 +00:00
AJFISH 244071a67c Missed a conversion. Fixed build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3667 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 01:20:19 +00:00
AJFISH ff37790d3d Cleaned up EFI Console Variable usage
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3666 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 23:32:10 +00:00
AJFISH 6b88ceec9b Updated to use new PCD settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3664 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 22:15:08 +00:00
vanjeff 370856f9a0 added the missing contents of copywrite.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3562 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 07:47:58 +00:00
vanjeff a586770320 1. Enable Mtftp4Dxe in MdeModulePkg.dsc
2. Changed CustomDecompressLib's default instance to BaseCustomDecompressLibNull.inf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3561 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 02:25:50 +00:00
mdkinney cd2d846866 Fix bug in GPT check that was introduced when a CompareMem() call was changed to a '==' operator. It should be a '!=' operator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3557 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 22:59:42 +00:00
yshang1 d8b61daacc Fix bug in PciCfg to support PCI express address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3549 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 03:52:01 +00:00
yshang1 58ece2ec9d Replace the FlashMapHob with PCD defined in FDF on Nt32 platform. Currently, the tool can not generate correct PCD value in FDF, so in the patch, we still define the flash layout PCDs in DSC for short term.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3545 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 08:54:27 +00:00
yshang1 6d3aa33ed0 Replace the FlashMapHob with PCD defined in FDF on Nt32 platform. Currently, the tool can not generate correct PCD value in FDF, so in the patch, we still define the flash layout PCDs in DSC for short term.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3544 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 08:52:48 +00:00
klu2 1e8bf44180 Correct wrong Library class's name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3536 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 02:41:36 +00:00
jwang36 6b4fe92ad9 1. Generated new build.exe from new tools code
2. Removed some duplicated includes in source files
3. Changed the source file format in INF files
4. Removed duplicated PCDs in MdePkg.dec


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 08:45:32 +00:00
vanjeff df874ff161 clean up Copyright header information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3510 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 02:29:23 +00:00
vanjeff 772db4bb33 Import ArpDxe, Dhcp4Dxe, Ip4Dxe, Mtftp4Dxe, PxeBcDxe and PxeDhcp4Dxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3492 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 02:37:10 +00:00
qhuang8 3f187a734e Fix the wrong copyright statements.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3454 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 08:29:27 +00:00
qwang12 6097e47da3 change TokenSpaceGuid to the package Token Space Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3445 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 01:07:56 +00:00
yshang1 1223277822 1) Add PcatSingleSegmentPciCfg2Pei in MdeModulePkg.
2) Add PcatSingleSegmentPciCfgPei in IntelFrameworkModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3442 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 11:00:27 +00:00
vanjeff 4eb65aff71 Fixed EBC build issues.
Fixed ICC build issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3431 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 05:32:10 +00:00
yshang1 6cbcf597c6 Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3428 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 03:13:13 +00:00
yshang1 3cfb790c94 Retire the "Include/Common" of MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3425 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 10:52:02 +00:00
qwang12 d19862fe4f remove dxs files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3422 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 09:52:29 +00:00
vanjeff 71ac8e8380 1. remove un-necessary instances reference
2. sync inf file with source code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3419 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 09:08:27 +00:00
vanjeff 8a67d61da4 Import SnpDxe, Tcp4Dxe, Udp4Dxe and MnpDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3416 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 08:06:37 +00:00
vanjeff b2570da8b7 Import Ip4Config module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3406 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 09:18:27 +00:00
vanjeff ed7748fe4a remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3387 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 06:10:09 +00:00
vanjeff dd0687a4b1 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 04:33:45 +00:00
qhuang8 b2fdea2970 Fix the typo in last check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3380 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 02:13:14 +00:00
qhuang8 3712c7fc7d Remove RTC package dependency on IntelFrameworkPkg
Fix DebugSupport.inf to DebugSupportDxe.inf in dsc after renaming 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3379 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 02:10:11 +00:00
qhuang8 e32c52a9b9 Remove old modules after Remove old modules after renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3374 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 10:28:56 +00:00
yshang1 8cd4d17c68 Move RealTimeClockRuntimeDxe to PcatRealTimeClockRuntimeDxe folder of MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3372 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 10:26:16 +00:00
yshang1 8d3a5c82a4 Move VariablePei/VariableDxe/EmuVarible to /Variable folder of MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3370 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 10:09:07 +00:00
yshang1 d87750555d Rename the SecurityStub.inf to SecurityStubDxe.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3366 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 09:01:25 +00:00
qhuang8 37e65dba1e Remove old modules moving to Core folder.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3364 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 08:38:53 +00:00
qhuang8 656a2b8907 Remove old modules after renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3362 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 08:30:28 +00:00
yshang1 05177bef44 Rename the MemoryTest Pei and Dxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3361 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 08:26:33 +00:00
klu2 98ca253647 Move PcatCompatible/RealTimeClockRuntimeDxe module to MdeModulePkg from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3342 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 02:57:58 +00:00
qhuang8 aa4165e44b Adjust directory structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3328 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 14:39:46 +00:00
qhuang8 51d5c5d7d7 Adjust directory structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3326 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 14:35:45 +00:00
qhuang8 53c71d097b Adjust directory structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3325 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 14:32:48 +00:00
qhuang8 7fb66a6dff Adjust directory structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3324 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 14:31:50 +00:00
qhuang8 74fea867f4 Adjust directory structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3323 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 14:31:27 +00:00
klu2 d91e00998d Add RuntimeDxe as postfix for EmuVariable driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3284 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 04:12:21 +00:00
klu2 4cb7c2aff4 Add RuntimeDxe as postfix for Variable driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3283 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 04:07:57 +00:00
klu2 06733a9e45 Add DxAdd Dxe as postfix for devicepath driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3279 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 02:26:33 +00:00
klu2 08523b0faf Add DxAdd Dxe as postfix for Terminal driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3278 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 02:23:15 +00:00
vanjeff c52fa98ca9 1. Fixed tools_def.template to meet ICC build for IA32
2. Modified some source files to meet ICC build for IA32 and IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3271 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 01:48:09 +00:00
klu2 fd79032e48 Add Pei postfix to variable peim driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3261 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 17:57:30 +00:00
vanjeff 3ea0144679 remove duplicated modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3245 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 05:52:59 +00:00
vanjeff adbcbf8ffc Modules cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3244 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 05:48:11 +00:00
qwang12 458e9489a1 Remove IPF EmuVariableIpf.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3235 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 10:50:44 +00:00
AJFISH 859b72fa7e Removed CommonHeader.h from MdePkg & MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 16:13:56 +00:00
klu2 276be2de38 1) Use Dynamic Pcd for hold the base address and length of Flash-related block.
2) Remove flash map hob for Nt32Pkg platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3178 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 14:51:34 +00:00
klu2 cba9012a92 Enable dynamic PCD for windowBusDriver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3167 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 08:57:25 +00:00
vanjeff 83f984483c fixed token space issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3165 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 08:32:16 +00:00
AJFISH 97a079edfb Updated modules to not depend on the IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3162 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 23:39:54 +00:00
klu2 3111e7b4c3 Use gEfiMdeModulePkgTokenSpaceGuid instead of gEfiEdkModulePkgTokenSpaceGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3131 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 16:09:37 +00:00
qwang12 e084f20221 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3127 6f19259b-4bc3-4df7-8a09-765794883524 2007-07-06 13:47:15 +00:00
qwang12 f80315c3c9 Add in EmuVariableRuntimeDxe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3123 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 10:39:15 +00:00
qhuang8 e70d34ca2a Add MonotonicCounter driver, which produces MonotonicCounter arch protocols
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3115 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 09:15:13 +00:00
klu2 911cad134a Use Hob to get the variable base address in NV storage, but this need to be changed as use PCD when build tool is ready
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3111 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 09:07:47 +00:00
klu2 361064ffae Fix the RuntimeDxe driver can not be dispatched correctly issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3110 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 08:57:02 +00:00
klu2 e15fbaf473 1) PcdFlashNvStorageFtwWorkingSize, PcdFlashNvStorageFtwWorkingBase, PcdFlashNvStorageFtwSpareSize, PcdFlashNvStorageFtwSpareBase, PcdFlashNvStorageVariableSize PcdFlashNvStorageVariableBase should in gEfiMdeModulePkgTokenSpaceGuid.
2) Use FlashMapHob to get the address and length of FV instead of using PCD. 
3) Use hard code environment in WinNtBusDriver but not dynamic PCD.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3106 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 08:08:57 +00:00
jwang36 392ee26fbd Changed gEfiEdkModulePkgTokenSpaceGuid to gEfiMdeModulePkgTokenSpaceGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3100 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:07:23 +00:00
xgu3 b584bdc1cb Remove FontPack reference from GraphicsConsole
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3071 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 07:49:11 +00:00
xgu3 95276127e3 Check in following modules,
DxeIpl
ConPlatform
ConSplitter
GraphicsConsole
Terminal
DevicePath

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3069 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 07:05:28 +00:00
AJFISH ba23773287 Removed IntelframeworkPkg contamination from MdeModulePkg modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3019 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 18:34:24 +00:00
qhuang8 c1f23d6336 Add DebugPort & DebugSupport drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3018 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 14:09:20 +00:00
jwang36 2487d6af13 Recovered the mis-overwritten inf file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3002 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:47:01 +00:00
jwang36 be82f9ff2b Enabled PCD DXE/PEI modules build in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2999 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:29:45 +00:00
vanjeff 80408db0ca Import PCD dxe and PCD pei modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2994 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 08:28:05 +00:00
vanjeff bcfe6ae153 Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2990 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 06:09:11 +00:00
yshang1 b67d6130b2 Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2987 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:56:24 +00:00
qhuang8 b5b81475b2 Remove package dependency of IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2940 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 07:48:14 +00:00