Commit Graph

433 Commits

Author SHA1 Message Date
dtang2 cb44bbdb8e 1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses AcpiReclaimMemory";
2. Bug fix for "[FT] in new BDS, add a long item in Boot Option will cause an empty line appear";
3. Bug fix for "In "SetBootNextValue" page,description does not display properly"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1889 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:40:21 +00:00
dtang2 d73196f329 Bug fix for "CapsuleUpdate does not handle memory lost correctly"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1886 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 07:24:49 +00:00
jtang12 1723b2e2b2 Change #define bit(a) 1 << (a)
to     #define bit(a) (1 << (a))

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1885 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 05:01:08 +00:00
lgao4 d66974717c Enhance DxeIpl module to support EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE ffs type, and Enhance DxeIpl module decompression function to load the decompressed FvImage to the memory address aligned at FvImage required alignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1875 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 08:22:25 +00:00
mikewuping d4f397c031 1. In event.c, a function's name is not spelled correctly, a typo.
2. In Graphics.c, Memory Leak in Graphics Library, ConvertBmpToUgaBlt().
3. In HobLib.c, PeiBuildHobModule and three other functions do not zero hob reserved data area according to HOB spec v0.9.
4. In statuscode.h, the number of definition of EFI_SW_PEIM_PC_CAPSULE_START is equal to EFI_SW_PEIM_PC_CAPSULE_LOAD.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1861 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:47:44 +00:00
ljin6 bd51850225 After identified as a High-Speed device, the port has been reset successfully, so it doesn't need to be reset again in the later for Full-Speed or Low-Speed devices.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1856 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 05:45:13 +00:00
lgao4 b5ace64c27 Fix one bugger in Image.c in PeiCore module to get the correct module name for debug output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1852 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:26:07 +00:00
ajfish e47b06c339 MAX_POOL_SIZE was hardcoded to 0xFFFFFF00. MAX_POOL_SIZE was replaced with MAX_ADDRESS and POOL_OVERHEAD. MAX_POOL_SIZE is used to prevent a large allocation from passing since adding the POOL_OVERHAD to the allocation (done internally) could cause the size to wrap around and be small. This would cause a return value of success that was an error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1833 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:20:09 +00:00
lgao4 0bab6d041a Change IPF_PE32_PEIM IPF layout to contain ${PLATFORM_DIR}/Blank.pad for XIP IPF CODE 16byte align.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1830 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 11:42:17 +00:00
yshang1 f81f558de8 Follow up tracker EDKT285.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1826 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 06:10:44 +00:00
yshang1 f8617cfd79 Clean up used library class definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1824 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 05:12:16 +00:00
jtang12 aa23173f1a Make sure all DMA related buffer allocation through PCI IO interface, not allocated by driver itself.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1815 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 14:41:47 +00:00
ajfish 6d7338ae38 Ported the EBC driver to use the MDE Base Math lib functions. Removed math functions from EBC driver. Need to check to see if MDE Math lib ASSERT behavior will cause any issues with EBC driver?
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1814 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 08:15:46 +00:00
ajfish 1babed138f These files are no longer needed as the PE32 and Cache Lib from the MDE make them redundant.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1813 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:47:29 +00:00
ajfish c01bfb76c6 Deleted CacheFlush as it's in the MDE Cache library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1812 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:34:25 +00:00
ajfish 92ea7f231b Updated the Runtime Driver to use the MDE libs for cache flush and removed local copy of Cache flush code. Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib.
Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1811 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:32:16 +00:00
lgao4 ef3f0f3a3f Remove the redundant include header: Common/StatusCode.h for Terminal modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1799 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-19 07:32:48 +00:00
wuyizhong 22fe73195e Update build options format from "ABC", "XYZ" to ABC XYZ.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1791 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 08:25:13 +00:00
qhuang8 1cb5cfc184 Replace .global with .globl to solve compatibility issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 03:48:37 +00:00
wuyizhong 706c2ad4ba Add Build Macro to build SEC modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1784 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 02:38:01 +00:00
mikewuping c5986ece67 Fix a bug by the check-in of 1738, which programs SATA interrupt line wrongly and will block booting from SATA disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1762 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:39:41 +00:00
mikewuping 3114b33496 I fixed following bugs.
1. In dependency.c, DXE Dispatcher doesn't check the dependency expression boundary correctly.
2. In page.c, a misspelling code in DXE core memory service code, duplicate code.
3. In gcd.c, according to DXE CIS 0-91 spec, When GcdAllocateType is EfiGcdAllocateMaxAddressSearchBottomUp or EfiGcdAllocateMaxAddressSearchTopDown, then the GCD memory space map is searched from the lowest address up to BaseAddress (or from BaseAddress down to the lowest address) looking for unallocated memory ranges of Length bytes. Here, BaseAddress itself is inclusive, that is, any range in [0, BaseAddress] is allowable. But current code BaseAddress to be exclusive.
4. In Ebcinit.c, EbcDebugRegisterPeriodicCallback() not check whether it is already registered.
5. In Ebcinit.c, EbcDebugRegisterExceptionCallback() not check whether it is already registered.
6. In Ebcinit.c, EbcDebugSignalException() does not assign value to EbcContext.ControlFlags.
7. In Ebcinit.c, EBC: StatusCodeValue should use EFI_SOFTWARE_EBC_EXCEPTION.
8. In Ebcinit.c, EbcDebugRegisterExceptionCallback() does not check ExceptionType
9. In ElTorito.c, BlockIo and DiskIo failed in SCT when there is CD in CD-ROM.
10. In Mbr.c, MBR code can't handle some situations. That is when there are 3 partitions in HD, if delete the first partition, it will not be able to recognize the other two partitions, and if delete the second partition, it will not be able to recognize the third partition. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1749 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 02:48:19 +00:00
lgao4 fc773f6aa7 Remove redundant include header: <common\StatusCode.h> in this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 02:10:08 +00:00
jwang36 713ace4c96 Removed GLOBAL_REMOVE_IF_UNREFENRENCED because it will cause compiler failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1743 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 09:05:56 +00:00
dtang2 71a62114eb 1. Add the GLOBAL_REMOVE_IF_UNREFERENCED to globe variables which are used only in debug version;
2. Use ZeroMem to replace gBS->SetMem;
3. Remove marked code;
4. Add IsHub judgement in UsbPortReset function to following EFI1.1 spec;
5. Add brackets for macro definition

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1740 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 06:36:11 +00:00
jtang12 a98f11c5b9 1. Changed device detect method to use ATA/ATAPI device signature;
2. Enhancements to better support SATA CDROM;
3. Fixed UDMA operation for buffer above 4G memory issue;
4. Fixed maximal block setting for ATAPI read sector operation to comply with spec;
5. Some minor fixes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1739 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 05:51:59 +00:00
cwu11 c51cec2560 The reasons for the changes made are:
1)PciCommand.h: Add some macro constants definitions that will be used by other changes.
2)PciDeviceSupport.c: 
a)Fix the bug that programs Non-Bridge Devices' Interrupt Line Register to 0x00. Although this register is rarely used in modern OS (actually, only Dos still uses it), it is good practice to modify it so it will align the spec. Please refer to PCI 3.0 Spec for the chapter on Interrupt line register.
b) Change the way used to detect VGA device. The old method will fail.
3)PciEnumeratorSupport.c: Make changes so Pci Driver will preserve those bits in Command & Bridge Control Register that were set by Customer's Chipset initialization code. Pci Driver is supposed to only touch those bits that are generic. Problems will arise if we destroy some initializations already done.
4)PciIo.c: PollIo() is not conformant to EFI spec so fix it. Also, some fixes are introduced to better support VGA card. These modifications are supposed to work with fixes in PciDeviceSupport.c.
5) PciOptionromSupport.c:Add the fix to enhance the logic working with OptionRom. Some legacy cards do not report correct imagelength so we add double check.
And add EFI_MIN and EFI_MAX macro definition since they are not currently defined in global files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1738 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 04:12:23 +00:00
jwang36 de50890e70 Fixed build break caused by GetPerformanceCounter() in PeiMain module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1708 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 14:41:11 +00:00
klu2 2ea767cc94 Set Hob type for FvMainCompactFv to EFI_HOB_TYPE_UNUSED after decompressed. The can improve the performance of Dxe dispatcher.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1706 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 09:59:34 +00:00
klu2 217f1d11c3 Add pair of performance macro function to measure the whole PEI phase's performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1704 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 07:30:40 +00:00
qwang12 c65c1e1e14 This patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes of spaces must be available in NV variable region. This conservative approach is make sure OS loader will have space to save important data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1697 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 02:21:51 +00:00
qwang12 5f5f28c90d 1) If DebugAssertEnabled is TRUE, we still need to provide the GET size
function as GetWorker and SetWoker need this function to do ASSERT.

2) 0 should be returned if GetSize is not supported.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1696 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 02:17:53 +00:00
klu2 b1288fcac3 Add PERF_START function for collecting performance data for DXE_OK tag.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1688 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 08:15:12 +00:00
yshang1 5ae56d91b1 Remove EBC arch from supported arch list to fix tracker EDKII350.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1687 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 07:19:56 +00:00
mdkinney 263d5afdc0 Add support for DEBUG and RELEASE builds of this FPD file.
Remove all FLAG settings from this FPD file.  This functionality has moved into tools_def.txt



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1663 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:10:09 +00:00
lgao4 542834ce80 Remove the duplicated Copy Right in msa header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27 09:26:40 +00:00
qhuang8 e4e7fed9be Optimize the algorithm of creating page table to enhance boot performance and save code size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1628 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-26 07:22:33 +00:00
vanjeff 61249ae523 Merger DriverBinding and ComponentName into one <extern> section for all *.msa files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:25:07 +00:00
lgao4 aa3530195c Delete Build directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1578 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 14:24:17 +00:00
mdkinney e99aa5a211 Update Device Path Module to use PCD Feature Flags to determine of the Device Path To Text and Text To Device Path Protocols are produced or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1572 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:14:02 +00:00
mdkinney c7823a8f8a Add use of PCD feature flags to the Device Path Modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1571 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:13:04 +00:00
mdkinney af118a862d Declare PCD Feature flags for protocols produced by the Device Path Module and decompression methods supported by the DXE IPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1570 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:11:53 +00:00
mdkinney e29d70965d Add PCD Feature Flags to control which decompression method(s) are included in the DXE IPL. The choices are any combination of EFI, Tiano, and Custom decompression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1569 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:10:41 +00:00
mdkinney f47629a482 Remove IDT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1568 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:08:01 +00:00
lgao4 62f8431554 changed EdkModulePkg GUID from the original B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:31:20 +00:00
vanjeff 7f47bef3d8 added EFIAPI for those constructor functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1548 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:44:41 +00:00
lgao4 8aab007a7d Remove Static declaration for the related driver binding functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1539 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 09:46:16 +00:00
jchen20 33dc2c50a1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-14 09:30:35 +00:00
jchen20 66ce26dad5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1537 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-14 09:30:04 +00:00
lgao4 fc198a79e0 Move ConPlatform module from EdkNT32 package to EdkModulePkg, and remove EdkPeCoffLoaderX64Lib from DxeIplX64 module because EdkPeCoffLoaderLib based on new BasePeCoffLib can support 32bit and 64bit PE iamge both.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1523 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 05:02:30 +00:00
jchen20 905dd497d2 Modify for enabling native VISTA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1520 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 02:22:42 +00:00
lgao4 b0e15cb260 clean up PCD settting for EdkModulePkg.fpd and EdkNt32Pkg.fpd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1503 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 11:41:47 +00:00
lgao4 8cf2c0a7d7 Change PcdDebugPrintErrorLevel PCD declare in msa as DYNAMIC, because this PCD type can be
FIXED_AT_BUILD and PATCHABLE_IN_MODULE.
Change Some WINNT PCDs type declared in EdkNt32Pkg.spd as DYNAMIC, because they is used in Nt32 emluator platform as DYNAMIC type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1494 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:24:27 +00:00
lgao4 2f3fb65dd1 Set MdePkg.fpd, EdkModulePkg.fpd and Nt32.fpd default build directory to workspace root build directory according to Jordon's suggestions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1486 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:56:16 +00:00
yshang1 e8a3bee036 Update RuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1482 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:18:14 +00:00
lgao4 7c9e5810d0 Fix PeiLoadImage() for compressed peim to print the correct image address and entrypoint.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1467 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 11:28:57 +00:00
yshang1 1d5181824b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1461 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-05 06:55:35 +00:00
yshang1 c757cb321c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1459 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-05 06:50:31 +00:00
lgao4 42ef7fcd1a Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg PeiVariable, RuntimeDxeVariabe, and Ftw module needs these PCDs.
PcdFlashNvStorageVariableBase
PcdFlashNvStorageVariableSize
PcdFlashNvStorageFtwSpareBase
PcdFlashNvStorageFtwSpareSize
PcdFlashNvStorageFtwWorkingBase
PcdFlashNvStorageFtwWorkingSize

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1454 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:20:21 +00:00
yshang1 631dc64d73 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1452 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-05 06:05:32 +00:00
yshang1 97fc032b57 Follow up EDKT247-253
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1449 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 05:41:32 +00:00
yshang1 a5e465a79f Update library constructor definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1445 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:14:32 +00:00
lgao4 2be2804b25 Fix EdkII tracker 219, change incorrect print level in line 200 and line 453 from EFI_D_INFO to EFI_D_ERROR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1443 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:07:18 +00:00
yshang1 2934f5b067 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1436 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-04 06:26:18 +00:00
yshang1 afaa1b87a4 Update Coding style of status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1435 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 06:09:01 +00:00
yshang1 534089527b Follow up EDKT238, EDKT239, EDKT242, EDKT243
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1432 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 03:37:39 +00:00
yshang1 e86976fff2 Follow up EDKT236.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1423 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 07:45:55 +00:00
yshang1 36dbf7f648 Follow up EDKT235
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1419 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 06:09:37 +00:00
yshang1 a93763b74d Follow up tracker:
EDKT236, EDKT237, EDKT232, EDKT229 , EDKT233

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1418 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 05:37:49 +00:00
qwang12 3d64815921 Change true to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1410 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 09:24:04 +00:00
qwang12 2defc05847 Change true to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1409 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 09:21:08 +00:00
qwang12 f89f5802f8 Add in feature flag PcdPeiPcdDatabaseSetEnabled, PcdPeiPcdDatabaseGetSizeEnabled, PcdPeiPcdDatabaseCallbackOnSetEnabled, PcdPeiPcdDatabaseExEnabled to allow user to customize Pcd service PEIM. It is very curical to save size in PEI phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1408 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 09:11:34 +00:00
qhuang8 6ffd3b0cd2 Add a Pcd to define the maximum number of performance log entries during PEI phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1398 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 01:52:19 +00:00
qhuang8 b187ce9f15 Modify the implementation of performance library so that:
PcdPerformanceLibraryPropertyMask can turn on/off performance measurement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1395 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-28 08:36:01 +00:00
lgao4 f78797d5b7 Fix Edk Tracker 206.
When recovery media is not found, CpuDeadLoop() is used in place of ASSERT() to assure dxeipl always enters into dead loop even if PcdDebug is turn off.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1360 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-23 06:39:00 +00:00
vanjeff 3eeb9655a1 added 20ms stall to wait for slave device ready when identify some type of Seagate Hard Disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1358 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-23 03:07:01 +00:00
lgao4 a61513d6f9 Fix one bug in PeiMain to make it output correct ImageStartAddress. And in DxeIplX64Peim/DxeLoadX64.c, install EndOfPeiSignalPpi can delay only if it enters into dxecore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1348 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 06:53:46 +00:00
bxing eeb1cd5af3 1. Added Non-existing.c in BaseLib to assert no invocations of SwitchStack() on IPF.
2. Added SwitchIplStacks() function to DxeIplPeim to encapsulate arch details on stack switching.
3. Added PeiSwitchStacks() function to PeiMain to encapsulate arch details on stack switching.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1328 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 02:53:29 +00:00
klos1980 45649fb700 Fix the IDE slave device missing bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1319 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 05:26:59 +00:00
qhuang8 5823a8e9bd Remove dead code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1303 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:25:16 +00:00
davidhuang 5fa3415f7b Change pcd name form MaxSizePopulateCapsule to PcdMaxSizePopulateCapsule.
Change pcd name form MaxSizeNonPopulateCapsule to PcdMaxSizeNonPopulateCapsule.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1288 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 04:48:08 +00:00
klu2 5f907e4a5b Fix the bug that using hardcode driver name to judge whether current driver is PCD driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1281 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 17:11:06 +00:00
yshang1 9dc7af1e05 Fix PCD declaration error in DxeStatusCode.msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1277 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 11:26:07 +00:00
vanjeff 9c7790d2cb 1. Adjust might be 64bit, so we need to typecast it to UINT32 firstly.
2. Synchronization modification described in Tracker EDKT182 to all dependent files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1270 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:35:47 +00:00
ajfish 3b06f97c13 Prefixed global variable with "m"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1242 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11 18:20:39 +00:00
xgu3 cfe26d0ed8 Change Variable to use PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1238 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 17:04:33 +00:00
xgu3 202c5d55e5 Modify FtwLite and Variable DXE driver to use PCD instead of FlashMap HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1236 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 12:28:02 +00:00
lgao4 935693030e Fix EDKT 150 to make IPF XIP module 16-byte align. Create new IPF_PEI_CORE, IPF_PE32_PEIM ffs layout for IPF XIP module. And add 12 bytes Blank.pad file in build directory. And add PeiEntryPoint library class in PeiStatuCode module msa file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1225 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 08:29:38 +00:00
qwang12 dd70a8c4e6 Variable PEIM use to PCD entry to get the base address of NV Storegae region.
This patch changes:

1) make the PcdFlashNvStorageVariableBase PCD entry type in Variable PEIM to be "DYNAMIC", which means it can be flexible to be FIX_AT_BUILD, DYNAMIC or PATCH_IN_MODULE.
2) make FlashMap depends on PCD_PPI
3) make FlashMap PEIM to the value of PcdFlashNvStorageVariableBase according NT emulator's FwhPPI installed by NT32 emulator's SEC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1223 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 05:09:30 +00:00
klu2 4b8a7ba9c5 Some library instance's PCD is missing in FPD file for a module, it break single module's building.
Fixing is add these PCDs for module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1215 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 15:34:08 +00:00
yshang1 7035cc32f9 1) Fix bug in EdkUefiRuntimeLib.msa(EDKT155).
2) Update the Status code related drivers' source file list in.msa


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1206 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 11:02:26 +00:00
lgao4 e2c390b3a2 Remove SecurityPolicy.h from EdkModulePkg, because this protocol has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1203 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 09:41:17 +00:00
qwang12 88c8537c99 All runtime driver should use functions provided by UefiRuntimeLib library class so that it is free of responcibility to fix up the gRT pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1167 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 07:58:40 +00:00
qwang12 2f23473f16 Add EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event for MonotonicCounter driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1163 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 05:23:54 +00:00
qwang12 563671d4d7 EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER is defined wrongly. It should be the same with what is written down in FTW specification.
And WriteQueueSize should be defined UINT32 to make it the same width in 32 or 64-bits system.

Added two PCD entry: PcdFlashFvBaseArray and PcdFlashFvBaseArrayElementNumber

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1151 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 07:40:03 +00:00
qhuang8 ffac4bcb25 Check in patch to refine DevicePath Module and USB2HostController Module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1117 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 08:50:08 +00:00
xgu3 778cedfb9f Someone lost a new line at the end of file, it causes GCC build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1116 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 08:13:32 +00:00
xgu3 0543618356 This is a patch to change PeiVariable PEIM depex, because t doesn’t depend on FlashMap PPI now
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1114 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 07:11:53 +00:00
klu2 5b18234d98 Add temporary fix for PeLoader
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1113 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 05:07:48 +00:00
ajfish ec412251c4 Reverted back to Old style not using the library and fixed the code to do PE32 and PE32+.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1109 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:35:16 +00:00
ajfish 2ce311322c Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class.
Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated.

Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. 

Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType.

PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together.

Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage.

I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 15:23:35 +00:00
wuyizhong c1e9ba078c Remove duplicated module definition (the same module with the same arch) in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1093 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:44:31 +00:00
ljin6 26015d2294 remove ifdef for debuglevel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1088 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 05:38:26 +00:00
yshang1 161c26a7aa Change license of following files from Intel Copy Right to BSD-license.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1086 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 11:53:34 +00:00
xgu3 5dd2d779dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1082 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-24 08:44:40 +00:00
yshang1 a8bcbf3d11 Fix bug which define different PCD with same token number in EdkModulePkg.spd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:55 +00:00
yshang1 49cff29c80 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1073 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:38:40 +00:00
yshang1 e60884f650 Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1072 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:14:12 +00:00
yshang1 3b4377493c Clean up codes which are related with status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1071 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 16:11:09 +00:00
yshang1 56836fe92b 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1067 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:25:43 +00:00
yshang1 3e48a1925b Change DxeRuntimeDriverLib name to UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1061 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:42:54 +00:00
ljin6 ac84271407 Add some comments for translator parameter in Sync/AsyncInterruptTransfer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1057 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 02:38:30 +00:00
bbahnsen c986fd09d7 Fix comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1051 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 00:32:07 +00:00
ajfish a537f1483c Fixed some naming issues and update to the EDK II name. I also fixed an issue with the UEFI library forcing UEFI.h to include Tinao protocols. I make the UEFI library a DXE library so it would get the correct includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1048 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 12:24:11 +00:00
qwang12 2a870f5348 Add [in,out] in the @param for PCD header and c file.
Update GetNextToken and GetNextTokenSpaces APIs parameter sequence according to PCD spec.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1040 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 05:18:47 +00:00
ljin6 562d28495d Add DevicePathUtilities DevicePathToText DevciePathFromText USB2HostController protocols
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1037 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-18 04:13:40 +00:00
qwang12 a7c5092fc5 Add in function description and comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1026 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 03:43:28 +00:00
lhauch 46b45a7ce3 Updated Guid for EmuVariable entry in the ModuleSA section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1018 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 07:05:13 +00:00
lhauch bc9d62b3af Reset the GUID to a unique value, as it was using the same GUID as Variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1017 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 06:36:35 +00:00
bbahnsen a33f3dd178 Fixes for Linux builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@995 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:33:55 +00:00
bbahnsen a7bbc1eb5a Fix up the Stub Size Calculation which was not initially ported properly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@994 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 01:52:06 +00:00
lhauch 4aca4e8213 Removed the MdePkg Pcd Declarations which should only be specified in the MdePkg.spd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@989 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 13:12:06 +00:00
jwang36 06a9243705 Fixed a comment error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@984 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 11:31:21 +00:00
jwang36 55caf066d0 typo error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@982 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 11:04:25 +00:00
jwang36 fc67cd2c99 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@981 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-13 11:01:37 +00:00
jwang36 b6bf2f4001 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@978 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-13 10:58:39 +00:00
jwang36 a6b964ec61 Merged GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@977 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:58:15 +00:00
lgao4 aab6a96a70 Fix include .h file error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@970 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:36:29 +00:00
lgao4 30dd2190ee Remove extra code in DxeLoadX64.c file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@968 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:31:23 +00:00
jwang36 5e1c3eedcd Added license & copyright declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:24:50 +00:00
lgao4 0898f77162 Move the share file: cbi.h to Cbi0 and Cbi1 directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@962 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 07:47:04 +00:00
bbahnsen a3d0b5490b Add gcc assembly files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@958 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:24:14 +00:00
bbahnsen c14ca13e80 Fix bad comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@957 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:20:00 +00:00
jwang36 738e75b619 Added all header files in the packages's include directory into spd files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@955 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:11:42 +00:00
bbahnsen b6454bcb78 Add gcc assembly file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@953 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:58:24 +00:00
lgao4 c7cbcc52d6 Move DriverSample module to Universal\UserInterface\ direcotry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@947 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 04:49:20 +00:00
jwang36 d633f558a1 Corrected the path and file name error in these two msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@946 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 04:49:00 +00:00
lgao4 7e89358a58 Remove EdkPeCoffLoaderLibX64 library from EdkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@931 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 00:01:16 +00:00
lgao4 cef5ff82ae Remove PeCoffLoaderLib X64, because PeCoffLoader library has supported to X64 PEImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@928 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:40:02 +00:00
lgao4 5343eab11a Add missing files in msa file and add module description in msa file, and reorganize DriverSample and DxeIplX64 module directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@927 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:38:53 +00:00
lgao4 47a16b84f2 Add missing files in msa file and add module description in msa file, and reorganize DriverSample and DxeIplX64 module directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@926 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:37:54 +00:00
lgao4 2a7b1e115d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@925 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 23:16:00 +00:00
qhuang8 1fe4ef1bd8 1. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.
2.	Update .msa files to add some missing files files in MdePkg 
3.	Add Help text to Mde Library related PCDs.
4.	Fix some bugs in CpuId.S and CpuIdEx.S.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:15:40 +00:00
jwang36 67ffdcb021 removed unintended lines.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@912 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:11:49 +00:00
yshang1 1845d8cf92 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@911 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 11:23:10 +00:00
yshang1 7fda265d2f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@910 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 11:15:11 +00:00
alfred 7b76019936 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@908 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:45:12 +00:00
alfred 15f3b1d49d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@907 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:43:02 +00:00
alfred 13091b658e git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@906 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:34:39 +00:00
alfred abf537ea15 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@905 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:24:36 +00:00
xgu3 74460d7e38 Add description of module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@903 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 10:17:26 +00:00
vanjeff c2a770675d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@902 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 09:37:08 +00:00
bxing 7867eb23e8 Updated <Abstract> and <Description> sections in MSA files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@900 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 09:20:21 +00:00
qwang12 2de0141aab Add in Abstract and Description for a few MSA files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@897 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 08:16:09 +00:00
klu2 c79c3f30d6 Fix remainning capsule PCD's <HelpText>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@892 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:35:12 +00:00
klu2 f7ba355582 Fix the <HelpText> for PCD used by EdkNt32Pkg and EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@891 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:33:02 +00:00
davidhuang e9b8105ec1 Fix the CapsuleRuntime.msa Fix Me entries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@889 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 06:35:41 +00:00
lgao4 5094fb09f8 Add necessary files (such as *.h) in module msa and remove unused msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@882 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:00:30 +00:00
qwang12 1779985ecc make sure all files under the PCD PEIM/Driver direcotry into the MSA file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@879 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:52:17 +00:00
qwang12 983ba75c92 Correct the token number for PcdDxePcdDatabaseTraverseEnabled
Remove PcdMaxPeiPcdCallBackNumberPerPcdEntry in PcdCoded section in Dxe/Pcd.msa as it is not used in the code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@877 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:18:55 +00:00
qwang12 67513de537 Correct the token number for PcdDxePcdDatabaseTraverseEnabled
Remove PcdMaxPeiPcdCallBackNumberPerPcdEntry in PcdCoded section in Dxe/Pcd.msa as it is not used in the code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@872 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:37:20 +00:00
qouyang 53b8619385 Change UINAME to CName of GUID/PPI/Protocol in all Msa file and change tool to support it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@863 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:14:25 +00:00
qhuang8 5b1b9d8bf4 1. BaseSmbusLib: Make SmbusReadDataByte() & SmbusWriteBlock() function well by re-arranging register settings.
2. BaseMemoryLibMmx for X64: Make CopyMem() be reentrant by saving Mm0 to r10.
	3. DxeCorePerformanceLib: Fix some typo to save build error of that library instance.
	4. Remove the orphanage definition of gEfiPerformanceProtocolGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@859 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 08:41:58 +00:00
lgao4 bb3ee420c8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@854 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-10 05:14:05 +00:00
lhauch a782876908 Update the binary MSA to say they were binary, fixed an abstract, changed a module UiName, changed tool default values in the build.xml files to give the name of the tool, rather than all, so when building the tools, you can tell what tool it is trying to build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@848 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 14:14:00 +00:00
jwang36 7c707b0214 Made some changes to use GCC to pre-process and assembly .S file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@846 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 12:07:49 +00:00
jwang36 1cda74acbf Added a "_" to ${ENTRYPOINT} for GCC "CC" command option;
Removed GCC tool chain options from MdePkg-All-Archs.fpd and EdkModulePkg-All-Archs.fpd


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@843 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 06:17:20 +00:00
qwang12 4c29d43304 fix a bug in Service.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@841 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 15:21:21 +00:00
ajfish bc724e5885 Ported to use BaseMemoryLib functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@839 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:53:17 +00:00
qwang12 4f914125e8 Add Feature Flag PcdDxePcdDatabaseTraverseEnabled and PcdPeiPcdDatabaseTraverseEnabled
Add Pcd DXE driver and PEIM to all supported ARCH in EdkModulePkg-All-Archs.fpd

Make Pcd DXE driver and PEIM compilable under EBC, IPF, X64

Fixed a few other bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@838 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:37:30 +00:00
lgao4 15b06e58b0 Redefine SPEC and Release Version to 0x20000
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@826 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 14:37:11 +00:00
lgao4 273bbd31c5 Fix the wrong usage of UnicodeValueToString function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@824 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 12:06:13 +00:00
jwang36 44050d53af Obsoleted by new schema and new build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@821 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 09:28:33 +00:00
klu2 c1d69edb83 Fix all <TokenSpaceGuidCName> in all SPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@817 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 06:32:06 +00:00
davidhuang 0e0e9d3d98 Fix the TokenSpaceGuidCName entry of PcdSupportUpdateCapsuleRest/PcdMaxSizePopulateCapsule/PcdMaxSizeNonPopulateCapsule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@809 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 01:00:38 +00:00
qwang12 2b21a9713c Fixed a bug when input a invalid token number (not ZERO nor a valid token number) PcdLib should ASSERT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@802 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 13:34:25 +00:00
jwang36 3dd19b0d56 Added type cast (VOID *) to the third parameter of GetHiiVariable, to avoid compiling warning in GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@801 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 12:19:18 +00:00
qwang12 c24ba2f612 Fix bugs in GetNextTokenSpace and GetNextToken
Fix bugs in Pcd Build tool generation for ExMap

Fix a few other bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@800 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 11:42:25 +00:00
jwang36 9c2aaac08e Corrected a typo error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@798 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 10:43:52 +00:00
qhuang8 28c73f6ef7 PciLib:
For PciRead/WriteBuffer(): A fix to handle boundary cases when Size is 0;
	DevicePathLib:
	For FileDevicePath(): Change to use AppendDevicePath () in place of AppendDevicePathNode(). 
	PrintLib:
	For type %p, according to current MWG, it should ignore flag 0, +, space, l, & L
	Misc:
	Fix a bug in EBC interpreter for Ia32. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@796 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 10:37:49 +00:00
jwang36 df569f61e3 Fixed the GCC assembler issue. Now we can use full GCC tools to build our package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@795 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 10:31:48 +00:00
davidhuang 045f4521f2 1)Add a new module CapsuleRuntime under EdkModulePkg\Universal\Capsule\RuntimeDxe.And add the module into Nt32.fpd
2)Modify the related files to fit for the runtime services UpdateCapsule/QueryCapsuleCapabilities defined in UEFI2.0 spec
3)Modify the related files to fit for the runtime services QueryVariableInfo defined in UEFI2.0 spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@790 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:42:48 +00:00
qwang12 1de04b4f83 Add in support for MaxSize and CurrentSize for PCD entry.
Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. 

Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type.

Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file.

Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size.

Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52.

Add ASSERTION in LibPcdSetPtr.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:10:20 +00:00
lhauch d6ac6b76a8 Removed Optional Ffs Sections as it was not being used. Changed UserId in UserExtensions from Fix_Me to TianoCore
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@785 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 04:05:04 +00:00
lgao4 36122070ec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@784 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-06 04:02:57 +00:00
jwang36 cfa5a9c5d1 fixed GCC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:22:26 +00:00
qhuang8 add13dc217 DebugLib:
Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info.
	Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout.
	DevicePathLib:
	Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated.
	PeiServicesLib:
	Adjust coding style and fix a minor comment error.
	PciLib:
	Adjust assert() condition to sync with MWG 0.57
	BaseMemoryLib:
	Adjust assert() for ScanMemXX (), ScanGuid()
	Rename UefiMemoryLib to DxeMemoryLib
	PrintLib:
	Change the return value of all print services to exclude the NULL-terminator.
	Misc:
	Slightly adjust the coding style in hob.c in PeiCore module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:17:04 +00:00
jwang36 3f6001d4f0 supplemented "/FI" to some ignored PP options in fpd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@753 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 03:15:05 +00:00
jwang36 525c51880f Added "/FI", "-include" and/or "/nologo" options to PP (CC) command option to fpd files. These changes are used to accommodate the preprocessing added for assembly code as a general processing step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@749 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 16:28:26 +00:00
qouyang 25832ed337 Fix autogen bug:[Edk67][Edk35].
Add "/FI" to "PP" option in EdkModulePkg-All-Archs.fpd.
Modify BuildMacro.xml changing "S" for IPF assembler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@746 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 13:44:18 +00:00
qwang12 1eb73ab57a Added LibPatchPcdSetPtr.
Cleaup Pcd Database code generation routine.
Fixed a few bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:43:59 +00:00
jwang36 8ed3ea9c90 added GCC tool chain family options
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@734 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 06:11:26 +00:00
qwang12 bb5545b663 Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
Fix a few bugs in PcdDxe and PcdPEIM


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 15:40:49 +00:00
wuyizhong e2d926ece9 Change HelloWold's ModuleType from DXE_DRIVER to UEFI_APPLICATION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@716 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 03:28:47 +00:00
klu2 5dc355398e Modify MSA file for correcting <TokenSpaceGuidCName>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@713 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-02 19:09:30 +00:00
klu2 f072578654 1, Add Guid declaration into EdkModulePkg.spd, EdkNt32Pkg.spd and MdePkg.spd file
2, Correct Guid CName field for all PCDs in EdkModule.pkg, EdkModulePkg-All-Archs.fpd, Nt32.fpd, Mde.fpd, MdePkg-All-Archs.fpd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@706 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-01 06:43:26 +00:00
jwang36 91e2ca2406 added EdkDxeSalLib for EmuVariable module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@703 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 21:03:35 +00:00
jwang36 5b2a7957d9 removed unnecessary name space declarations in some top level elements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:31:48 +00:00
qouyang b062dd1490 For new Tool.
Remove some unused Protocol, Guid, ppi which defined in MSA but don't find in SPD

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@693 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:02:20 +00:00
jwang36 1f86f0814a converted all surface area description files to new schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@689 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:29:21 +00:00