Commit Graph

2278 Commits

Author SHA1 Message Date
qhuang8 56056c7cd8 1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for data transfer.
2. PxeBc: Fix array out bound error and add code to check the validation of the IP and subnet mask addresses.
3. DxeIpl: Make sure FV HOB is not corrupted by checking FV signature.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2570 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-16 05:20:06 +00:00
bxing df13cebafa Fixed bug of incorrect processing of hexadecimal numbers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2567 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 08:19:54 +00:00
lgao4 7a743ae481 Add link Map option for GCC tool to generate map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2566 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 05:26:52 +00:00
lgao4 29408d94f6 Add link Map option for GCC tool to generate map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2565 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 05:25:05 +00:00
vanjeff bbee9482d7 Fixed some issues for IA32 architecture platform build.
1. added UINTN typecast for shift.
2. updated Nt32.fpd and Unix.fpd.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2564 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 02:23:10 +00:00
lgao4 ba6e17fe11 Add link Map option for GCC tool to generate map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2563 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 02:20:32 +00:00
vanjeff 98419ef4b9 1. Added EdkPciIncompatibleDeviceSupportLib in EdkModulePkg, this library is used for PciBus driver and includes 3 Incompatible device lists.
2. Used EdkPciIncompatibleDeviceSupportLib in PciBus driver. 
3. Redirect all Pci Configuration access to new APIs added in PciLib.c for PciBus driver.
4. Added one PCD PcdIncompatibleDeviceSupportMask in EdkModulePkg.spd to provide mask of PCI devices incompatibility check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2562 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-12 09:07:01 +00:00
lgao4 0eaa1933bc Fix CygWinGCC build failed. When GCC build, map file is not generated. We don't need copy map file when gcc build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2561 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-12 02:36:28 +00:00
klu2 fdbc81c8cd Fix run broken issue for EdkUnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2560 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 09:19:16 +00:00
bxing aaed63a98d 1. Updated LOG file format generated by PeiRebase.
2. Updated PeiRebase to rebase an FV in a single pass.
3. Fixed bugs in GenFvMap to make it compilable by WinDDK and able to generate FV map file for production tip.
4. Update genefi task to copy map files to ${BIN_DIR} as well.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2559 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 07:52:41 +00:00
jlin16 7990ba7eaa Change default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Binding and FFS format for a added module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2558 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 07:01:59 +00:00
xli24 418c6e0918 Fix the DEVICE_PATH_MESSAGING_SAS GUID definition according to UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2557 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 05:57:37 +00:00
xli24 735561c27f Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocation services in high TPL level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2556 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 03:15:15 +00:00
klu2 7e9f4e1d8e Merge the patch provided by Johnson
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 03:08:47 +00:00
vanjeff 2074c9cfbd Perfected MSA files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2554 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-10 09:26:43 +00:00
vanjeff 396514f590 removed ICC compile issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2553 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-10 07:10:28 +00:00
vanjeff 9c198b4066 Perfected MSA files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2552 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-10 05:09:57 +00:00
lgao4 26aa0c2ff5 Clean up the following module msa files, they are three networt and two PCD modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2551 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 07:37:43 +00:00
qwang12 5101d837ed Remove 3 library instances: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibConOut and EdkUefiDebugLibStdErr in EdkModulePkg.
1) EdkUefiDebugLibConOut, EdkUefiDebugLibStdErr should be replaced by respective library instance in MdePkg
2) We will have a replacement implementation for EdkDxeDebugLibReportStatusCode to emulate the EDK I implementation with a gEfiDebugMaskProtocolGuid which allows Developer to Set debug level using SHELL command err.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2550 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:51:50 +00:00
klu2 39d03acf63 A typo in comments that alignment should be 8 for IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2549 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:39:37 +00:00
klu2 72c11e3aaf Change the alignment of variable from 2 back to 1 for compability of test case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2548 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:36:37 +00:00
qhuang8 28dec501f4 Fix an issue that some image tool will generate PE32+ image with PE32 magic. We now determine magic based on machine type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2547 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 01:42:09 +00:00
qwang12 abb234751e 1) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULL
2) Add DxeCore infix to the module local variable gBS, gST, gRT, gDS in DxeMain.c. This is to solve the name conflict with UefiBootServicesTableLib which is defined in MDE Library Spec. 
3) Add in check for gBS and gST in UefiDebugLibConOut/DebugLib.c and UefiDebugLibStdErr/DebugLib.c and MdePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c. If they are not initialized, the API will just return with a error message.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2546 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-06 06:36:47 +00:00
klu2 18fda0cec0 The ALIGNMENT definition has been moved to common header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2545 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:27:56 +00:00
lgao4 4aa2a9a403 Change PcdWinNtFileSystem value is to the correct directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2544 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:16:04 +00:00
xgu3 5d10269c06 To fix
USB Keyboard driver should add F11, F12 support
DxeIpl should not hardcode 36bit address

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2543 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:04:12 +00:00
lgao4 8d8daecb54 Clean up the following module msa files, they are edkmodule package ftwlit, Crc32SectionExtract, NullMemoryTest, PeiMemoryTest, MonotonicCounter modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2542 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:00:46 +00:00
jwang36 09caf4071e Fixed the incremental build issue for .dxs file by adding .dep generation for Build_DPX macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2541 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:52:59 +00:00
klu2 7b134daf8e Open all warning checking for EdkUnixPkg, and current EdkUnixPkg has no warning now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2540 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:42:35 +00:00
klu2 d91b2da7fe Add more judgement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2539 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:18:50 +00:00
klu2 20798fc576 1) Change the alignment from 1 to 2 for IA32 and X64 arch.
2) Move ALIGNMENT macro to common variable.h file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2538 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:12:30 +00:00
klu2 95122138b0 fix build warning issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2537 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 07:27:17 +00:00
klu2 1d6992b936 The alignment of data section also meet with the requirement of section itself.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2536 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 07:04:33 +00:00
qwang12 8d7538351f Sync the HII GUID with EDK I code base. Please take note: This GUID is not the same with the one listed in Framework HII Spec 0.92. The HII protocol interface have changed from the one defined in Framework HII spec 0.92. Ergo the HII protocol GUID is updated to reflect the change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2535 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 01:26:00 +00:00
klu2 4825e9d87d Fix the TPL broken issue for UnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2534 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 07:40:40 +00:00
lgao4 13de892cc3 Change BDS to get the default logo picture by default bmp logo guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:24:26 +00:00
yshang1 55bfb04e78 Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:22:45 +00:00
klu2 189985640d Fix the unalignment issue for RODATA section when converting ELF image to PE image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2531 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 05:57:31 +00:00
qhuang8 265bfe7cd4 Change the Guid Value of EFI_ISCSI_INITIATOR_NAME_PROTOCOL_GUID.
The original one is 15-byte structure, not a valid Guid structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2530 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 03:20:39 +00:00
yshang1 01d71f9c85 Rename the enum value of EFI_STANDBY_BUTTON_PHASE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2529 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 03:14:30 +00:00
yshang1 1b256c950c Update the MSA for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 02:46:32 +00:00
yshang1 99b64dd977 SMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The "Exit" conflicts with UefiApplicationEntryPoint library's Exit() in MDE spec and breaks all application build in r9. To fix the issue, I changed the "Exit" to "StandbyButtonExit" in EFI_SMM_STANDBY_BUTTON_CONTEXT temporarily.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2527 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 09:23:26 +00:00
yshang1 a4e9aab95a Updated MSA file for EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 07:13:38 +00:00
jwang36 1fcc1b796c Fixed an issue which a library module could be built even it's not in the active platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2525 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 06:29:13 +00:00
yshang1 ef7baf58d0 Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimization of compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 06:25:25 +00:00
qwang12 9471ecb798 Add in OFFSET_OF macro as defined in MDE Library spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2523 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 08:40:56 +00:00
qhuang8 eb9603a0b7 Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 08:15:58 +00:00
jwang36 e22f5aaab7 Merged the fix of CompressDll.dll manifest issue when built by VS2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2521 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 07:38:34 +00:00
jwang36 18f95092d6 Restored the SetVirtualAddress and SetExitBootService related code generation for UEFI_APPLICATION type of module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2520 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-30 10:55:54 +00:00
qhuang8 73ebf379a4 1. Advance IP in case of Break(3) in breakpoint exception
2. Add stack management algorithm to avoid pool allocation during EBC instruction interpretation. 
3. Add multi EBC image support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2519 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-30 08:44:55 +00:00