Commit Graph

490 Commits

Author SHA1 Message Date
qhuang8 a3deae0da3 Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
Update the file to use \r\n as end of line
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9899 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 12:58:52 +00:00
mdkinney f7c58a94cf Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9865 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:30:55 +00:00
AJFISH 225290eba7 Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 23:39:29 +00:00
xli24 9c1d98d822 Fix parameter checking for CPU I/O 2 Protocol on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9750 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 09:07:47 +00:00
qhuang8 49b3b3ab26 Don't calculate the directory size and the caller of EFI_FILE protocol can calculate that for better UI.
The enhancement algorithm to calculate directory size (Edk r2583) is incorrect because SetPosition() does not allow other arguments other than 0, causing current file cursor is lost. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9713 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12 10:32:47 +00:00
klu2 ba82cb67d7 Implement the simulation version of StallPei for NT32 platform. It bases on window API Sleep().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9663 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 04:45:44 +00:00
xli24 6f7978c41a Refer to OEM status code hook library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9640 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:35:34 +00:00
xli24 663ec9c096 Refer to status code library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9636 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:10:44 +00:00
xli24 164393a065 Move Status Code Handler modules for PI implementation to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9611 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 07:29:33 +00:00
xli24 bef09f336e Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9606 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:36:47 +00:00
klu2 5e973c9630 Correct license's header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9594 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 15:35:51 +00:00
xli24 2022142e65 Return EFI_UNSUPPORTED on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9580 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-21 03:50:10 +00:00
xli24 b8d5cb491e Update NT32 emulation platform to produce dummy CPU I/O 2 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9528 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:28:22 +00:00
lgao4 8273af4ea1 Add DxeSecurityManagementLib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9489 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 01:33:07 +00:00
davidhuang 1fdd39d371 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9457 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:02:03 +00:00
qhuang8 60f3d321ce Update Nt32 package to remove UID support .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 13:58:41 +00:00
gdong1 aa11588194 Enable UID support in NT32 platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9402 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 10:03:05 +00:00
xli24 25126a0530 Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9388 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-03 02:39:10 +00:00
davidhuang 061b1c204f 1. Impl PI 1.2 PCI part. Major changes include:
a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9349 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-20 03:44:03 +00:00
mdkinney 23565921e3 1) Update PE/COFF file alignment to 4KB to match 4KB section alignment.
2) Align uncompressed PEIMs and PEI Core on a 4K boundary to match the section alignment and file alignment of the PE/COFF images

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9325 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-01 23:44:00 +00:00
qhuang8 c0cf06d6da Use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9300 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:48:55 +00:00
vanjeff 9be2900668 1. updated "the Bus Driver that creates all of its child handles on the first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.

2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 03:05:46 +00:00
vanjeff af4a63857c updated the Bus Driver that is able to create all or one of its child handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:55:03 +00:00
vanjeff f22911b49e updated WinNtSerialIoDxe driver not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check efiWinNtIoProtocolGuid firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9256 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 08:42:52 +00:00
vanjeff dda34dc7b7 add UefiPxeBcDxe in Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9236 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:09:58 +00:00
vanjeff 5276f6674a add UefiPxeBcDxe in Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9234 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:08:43 +00:00
qhuang8 b06f85ae30 Make end of line consistent caused by previous check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9187 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:57:23 +00:00
qhuang8 31dd4e2711 Integrate the patch contributed by Andrew Fish to add ARM support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9182 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:33:43 +00:00
jchen20 6782e82d77 deleted PCD PcdUefiVariableDefaultTimeout
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9157 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:12:55 +00:00
qhuang8 93131110a4 Retire the usage of S3Lib and RecoveryLib since DxeIpl does not use them any more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9051 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 15:57:57 +00:00
vanjeff c9eb1bae14 add correct [Depex] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9032 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 07:34:02 +00:00
eric_tian f51c8a9de3 ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library.
It is not proper for a library implementation to assume the names of function in a parent module.
Instead, they must be designed as the pointers to these two BdsDxe functions and passed in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8930 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:06:51 +00:00
mdkinney 7075f41227 Remove extra #includes where possible to make build more efficient
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h and FrameworkPei.h instead of PiPei.h



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8901 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:28:37 +00:00
eric_tian f9289719f8 roll back the change on the naming of DataHubRecords.h for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8876 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:15:41 +00:00
lgao4 989003bfde Remove unused PeiServiceLib header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8868 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 08:25:51 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
mdkinney 83c4704cf9 Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8851 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 00:03:30 +00:00
lgao4 d46f36324f Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:48:35 +00:00
eric_tian 4b703d39a9 change the name of macro or data structure to follow DataHubSubclass/MemSubclass/CacheSubClass/ProcSubclass specs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8813 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 07:34:22 +00:00
vanjeff e900e19b28 Retired PciIncompatibleDeviceSupportLib from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8774 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-07 04:01:14 +00:00
gikidy 2bda59e494 Fix Winnt file system will fail to read() a root "\" after call open().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8725 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 08:52:32 +00:00
vanjeff 9485089dd5 fixed one bug causing "sct -u" failure when running at twice or more times.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8622 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22 07:55:37 +00:00
mdkinney a00ec39b52 Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-20 17:05:16 +00:00
klu2 4a2a9d7637 Remove unused PCDs: PcdPciIsaEnable and PcdPciVgaEnable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8611 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 08:49:10 +00:00
lgao4 d2c315e686 Retire the duplicate StatusCode PCD:
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseEfiSerial, PcdStatusCodeUseHardSerial, PcdStatusCodeUseRuntimeMemory, PcdStatusCodeReplayInSerial, PcdStatusCodeReplayInRuntimeMemory, PcdStatusCodeReplayInDataHub, PcdStatusCodeReplayInOEM, PcdStatusCodeRuntimeMemorySize

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8566 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:16:27 +00:00
lgao4 c2bd20a514 Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid,
gEfiMiscProducerGuid, which are not consumed by any module. 
They can be replaced by gEfiCallerIdGuid. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8540 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:09:51 +00:00
mdkinney d5275ee678 Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8493 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:44:35 +00:00
mdkinney 5e335a5280 Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode.  That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8489 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:14:53 +00:00
klu2 9c1164408a Build tool will translate the value of VOID* type PCD to byte array, and put value into database. So no need use esc character "\" in path value of UNICODE string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8459 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 11:42:14 +00:00
gikidy 6a729dcaf4 Fix <.><..> can not work correctly on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8449 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 03:11:36 +00:00