Commit Graph

547 Commits

Author SHA1 Message Date
lgao4 9723bdde15 Fix to pre-allocate 32bytes in stack to Load X64 Image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1929 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 09:01:25 +00:00
mdkinney 4a50184986 Fix build break from CPU_STACK_ALIGNMENT update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1927 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:18:41 +00:00
mdkinney 3ebf638b15 Add DxeIplX64Peim to the FPD file for the EdkModulePkg.fpd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1926 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:17:53 +00:00
mdkinney 5a0c25f817 Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1925 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:05:07 +00:00
mdkinney 395859376e Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1924 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:04:33 +00:00
mdkinney e0866135e8 Remove private definition for IPF stack alignment, and use public definition called CPU_STACK_ALIGNMENT instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1923 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:03:11 +00:00
vanjeff b219108e51 added PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn't depend on types of CPUs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1909 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 08:43:22 +00:00
cwu11 1df07b635e Add pcd declaration to EdkModulePkg and Nt32Pkg to fix the check-in break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1905 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 09:51:33 +00:00
cwu11 3681d193ed This check-in fixed the following bugs:
1.	Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2.	SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3.	Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4.	Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5.	Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 04:20:32 +00:00
xli24 f55618484b Remove BaseIoIntrinsicLib reference in IPF and EBC modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1897 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 02:26:11 +00:00
mikewuping b53fedc961 in x64Variable.dxs, Add the FTW protocol into variable's dependency expression, because FTW services are used by this driver. FTW dependency appears in IA32 dxs file and should also show up in X64 dxs file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1895 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 07:33:44 +00:00
qwang12 cc7d86f0ea Include EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry Starndard. and remove the private Gpt.h, Mbr.h and ElTorito.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1894 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 05:46:26 +00:00
mikewuping c91eaa3d55 I fixed following bugs in EDKII.
1. In AsmFuncs.asm, DebugSupport, Vect2Desc() function will use hardcode CS to fill the IDT. 20h for Ia32.If the system CS is changed by CPU driver, this driver can not work. System maybe crash.
2. In EBC, RegisterExceptionCallback() can not restore the environment and I add some enhancements.
3. In Image.c, CoreLoadImageCommon never return EFI_SECURITY_VIOLATION when SecurityStatus == EFI_SECURITY_VIOLATION.
4. In Variable.c, 1. There're additional unnecessary loop. All blocks will be gone through even if all the data has been written. We should check the "CurrWriteSize" to see if there's no more data to write, and stop the for loop immediately. 2 "if.else." can be merged to save lines of code.
5. in FvbServices,c, Checksum calculation error.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1891 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 03:34:43 +00:00
cwu11 511710d68f 1. Add the fix for the following Bugs:
i)	BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h
        (EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h)
ii)	Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL.
   (EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c;
EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c)
iii)    Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:47:43 +00:00
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
jwang36 5d558ad8cf changed module's duplicated guid value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@677 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 12:38:31 +00:00
lgao4 9040f3054f Remove DiskIoPartition and old Emu, adjust MonoStatusCode in EdkNt32Pkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@668 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 04:47:43 +00:00
lgao4 9b362fe72d remove this old emu directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@666 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 04:45:20 +00:00
lgao4 1498746f0e Remove DiskIoPartition module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@665 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 04:41:18 +00:00
qhuang8 24e25d11c0 • BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
	Modify some defects in function header.
•	PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
•	Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
	Remove tabs in all .c and .h files in MdePkg.
	Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
	Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@626 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 10:18:28 +00:00
lgao4 2d10530b29 Fix Buger in this file to process the ffs file that only contain one compressed section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@617 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 14:45:44 +00:00
qwang12 4276d5dacf 1) Add in support to traverse taken space
2) Remove unused import in DynamicTokenValue.java.
3) Support Byte Stream input for Pointer type Dynamic PCD entry in FPD file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@616 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 14:41:16 +00:00
klu2 e88ea4239b The main trunk of tip is broken by Scott's removing of PcdPeimTest driver, but forget remove it from EdkModulePkg.spd and <FrameworkModules> in Nt32.fpd. I have fixed it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@615 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 13:17:53 +00:00
qwang12 a2875f8c3d Remove the dead files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@612 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 09:26:50 +00:00
qwang12 5e771ac898 Remove the dead files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@607 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 08:30:53 +00:00
qwang12 58f1099f3d 1) remove some dead code from WinNtBusDriver.c
2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec.
3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled.
4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java.
5) Opimized to merge elements in all tables in PCD database for make the code compact.
6) Did a tighter check on how dynamic PCD entry is referenced in each module.
7) Update the PCD driver/PEIM and PCD database generation verion to 2.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 04:30:23 +00:00
lgao4 30a60d29aa Fix buger in DxeMain module and modify uefispec.h coding style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@597 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 12:32:30 +00:00
qhuang8 5a2a95923d 1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
	Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
	Complete all missing ASSERT()s.
	Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
	Adjust StatusString array to support EBC build.
3. BaseMemoryLib
	Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
	Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
	Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
	Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
	Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
	Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
	Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
	Adjust some coding style.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@594 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 06:09:37 +00:00
qhuang8 4ba61e5e2a 1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
	Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
	Complete all missing ASSERT()s.
	Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
	Adjust StatusString array to support EBC build.
3. BaseMemoryLib
	Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
	Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
	Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
	Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
	Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
	Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
	Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
	Adjust some coding style.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@593 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 06:08:00 +00:00
klu2 ec76345829 Modify PCD declaration according to new schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@583 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 09:16:41 +00:00
lgao4 8aeaf59524 Fix bug in DxeMain module and EdkMemoryStatusCodeLib library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@581 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 02:59:51 +00:00
qhuang8 cd14fe3dcf 1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80. 
		Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION()
	2. DebugLib
		Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG.
		Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG.
	3. BasePeCoffLib/
		Add library function header for all the interfaces in MWG.
		Add missing ASSERT()s.
	4. PciLib
		Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@557 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 07:40:23 +00:00
lgao4 6326ee4e47 Fix DxeIpl module bugs: DxeCoreFileName should be from the Dxe Core ffs file that contain DxeCore Pe Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@543 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 14:45:03 +00:00
qwang12 7c3e99c36e should return instead of break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@536 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 07:22:48 +00:00
klu2 21e9050f03 Add <TokenSpaceGuid> for all PCD entry in FPD file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@506 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 02:35:56 +00:00
qwang12 c0e96fed14 Add in HII enable support for PCD.
But the default value has not been enabled.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@498 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 10:34:56 +00:00
klu2 95945c7635 Transfer old <PCDs> in MSA to <PcdCoded>:
1) Add <PcdCoded> definition for library module SA in transition schema.
2) Add <PcdCoded> in all MSA instead of original <PCDs>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 15:11:33 +00:00
klu2 6ff7a41cb8 Modify PCD tool according to final PCD schema modification.
1) Change code of PCD tools.
2) Update all FPD file.
3) Fix some bugs in FPD for wrong DatumSize.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@481 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 07:57:04 +00:00
lhauch 401693ff43 Removed create/modified/update data, PacakgeType from headers, added HexWordArrayType for VariableName list, the definition accepts the following: 0x000A, 0x000b, 0x00AF or 0x000A 0x000b 0x00AF or 0x000A,0x000b,0x00AF NOTE: LEADING ZERO characters are REQUIRED!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@473 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 20:29:18 +00:00
qwang12 2a505eac61 1) Sync PcdPpi guid with PCD arch spec.
2) Correct macro PatchPcdSetPtr


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 12:03:36 +00:00
darylm503 8b4e96c42b Update comments to conform to the new, Doxygen friendly, coding standard. These are structural changes only. There is NO NEW CONTENT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@462 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 23:44:26 +00:00
darylm503 ed72955cc8 Update comments to conform to the new, Doxygen friendly, coding standard. These are structural changes only. There is NO NEW CONTENT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@461 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 23:41:12 +00:00
qhuang8 84a99d48f4 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@441 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:36:57 +00:00
qwang12 4f24235764 Make sure Pcd service driver can work on 64-bit architecture.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@439 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 15:56:29 +00:00
qwang12 8a43e8dd55 Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.
1) change all PCD_TOKEN_NUMBER to UINTN
2) change all SKU_ID to UINTN

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@437 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 12:31:33 +00:00
alfred a0b7c09f23 Apply changes(Unix Type to Windows Type) to the rest of the 2 files:
edk2\EdkModulePkg\Core\Pei\Image\Image.c
edk2\EdkModulePkg\Core\Pei\PeiMain\Peimain.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@431 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 07:15:42 +00:00
alfred 6652e7be38 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@430 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:47 +00:00
alfred ef99a95aad git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@429 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:31 +00:00
alfred 3005648db2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@428 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:13 +00:00
alfred 5290e960dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@426 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:25:59 +00:00
yshang1 59b05fbba8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@422 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-05 11:24:52 +00:00
lgao4 df1f678a0e git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@419 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-05 02:59:29 +00:00
klu2 8840ad589e PCD tools update:
1) CollectPCDAction will get all PCD information from FPD file but *not* search SPD and MSA file.
2) ALL PcdBuildDeclaration in FPD file has been moved from common <PcdBuildDeclaration> to seperated module's <PcdBuildDeclaration>. Common <PcdBuildDeclaration> was removed from FPD file.
3) The platform information for Dyanmic and DynamicEx type PCD should be record into <PcdDynamicBuildDeclaration> now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@415 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 10:00:41 +00:00
lhauch 0850ca3b8c Updated the FPD and SPD files to newer schema formats. Also updated a couple of items in the XML Schema (added a new element)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@412 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 06:09:14 +00:00
lgao4 b83a12376d Remove Debug message and early test code in DiskIo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@396 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 09:42:14 +00:00
qwang12 abc25afaa5 Make the EdkMoudlePkg build by allocate mCallbackFnTable at runtime as PCD_TOTAL_TOKEN_NUMBER could be zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@390 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:03:06 +00:00
qwang12 3496595d7b Make sure the PCD dxe service driver can handle the case where no PEIM is using any dynamic PCD entry and the PEI phase PCD database is empty.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@388 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 05:28:18 +00:00
lhauch cb9f0b9ec3 Fixed the EdkModulePkg.fpd file to have a package name of EdkModule, not MdePkg. Added optional (will be required) TokenSpaceGuid to Pcd sections.
Removed some documentation for elements that will be removed eventually (the notes are in the comments section)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@382 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 01:53:24 +00:00
klu2 0950e6cdc9 Add <FrameworkModules> in EdkModulePkg-All-Archs.fpd and MdePkg-All-Archs.fpd file for future updated PCD tools according to transition schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@372 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 18:23:03 +00:00
bbahnsen aec91719af Fix capitalization issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@371 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 18:14:09 +00:00
ajfish 85cf9dcbdd Removed dead #ifdef
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@369 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 17:42:35 +00:00
bbahnsen 6e11a8e96e Fix capitalization issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@367 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 17:17:19 +00:00
klu2 9f3a4be8ab Modify fpd file according to transition schema. Before PCD tools updated, all information in fpd file should be correct.
1) Add <FrameworkModules> element in FPD
2) Add all PCD entried for all modules in <FrameworkModules>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@364 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 09:50:37 +00:00
bbahnsen 57e733d277 Capitalization Fixes for Linux builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@360 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 23:00:52 +00:00
bbahnsen dcec76514f Fix gcc build break. The PCD TokenNumber is incremented, not the address of the PCD TokenNumber.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@325 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 16:33:09 +00:00
yshang1 5f44402947 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-30 07:18:06 +00:00
yshang1 44c82dc06f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@319 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-30 06:04:00 +00:00
qwang12 9d6d8b24f3 Refine some internal functions of PCD Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@314 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 12:56:03 +00:00
qwang12 0653eb895d Add in support for GetNextTokenNumber API.
Use PCD_TOKEN_NUMBER as type for parameter of internal APIs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@312 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 10:42:13 +00:00
qwang12 4c114006de Add in GetNextToken and Register Callback Function funtionality for DXE Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@309 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 01:48:32 +00:00
bbahnsen b560bb65c4 Fix more gcc build breaks. One of these was a subtle bug in the code that was caught by a gcc warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:49:15 +00:00
bbahnsen f2982b30b2 Fix gcc build break. Slashes should always lean forward!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@296 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:26:14 +00:00
qwang12 4acf8ce7da Add version check in both PCD database generation and service driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@292 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 11:00:44 +00:00
qwang12 00b7af13f2 Sync up Pcd Library Instances and PCD Driver/PEIM with Pcd spec 0.51 and Mde 0.51
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@286 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 01:09:00 +00:00
lhauch 54de7486cf Updated MSA by putting Specification element at the end of the header section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:42:12 +00:00
qhuang8 a3657e3e7a MemoryAllocationLib: For boundary case: “AllocationSize + OverAllocationSize >= 4G”
DxeMemoryAllocationLib: Change the behavior from returning NULL to ASSERT ()
PeiMemoryAllocationLib: Add ASSERT ()
I also add ASSERT () in Pei Service AllocatePool () to catch if allocation size > 64K
DebugLib:
Header file (DebugLib.h): Fix an issue in ASSERT_PROTOCOL_ALREADY_INSTALLED(Handle, Guid).  
In contrast with LocateProtocol (), the first & second parameter type of HandleProtocol () is EFI_HANDLE & EFI_GUID respectively.
UefiLib: 
For UnicodeStringDisplayLength (CONST CHAR8 *String), return 0 if String is NULL.
BasePrintLib: 
Add missing “EFIAPI” to UnicodeValueToString() and AsciiValueToString() and move their definitions from PrintLibInternal.c to PrintLib.c.
Fix the comments error(Maximum Length TIME”)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@275 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 10:13:26 +00:00
qwang12 a916cff8a0 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@259 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:40:45 +00:00
qwang12 10d44326f3 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@258 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:38:12 +00:00
qwang12 98960993af Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@257 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:36:02 +00:00
qwang12 54fae63b37 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@256 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:35:25 +00:00
qwang12 52e1905d39 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@253 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:16:20 +00:00
klu2 d52f141b5f Add <PcdBuildDescription> into every <ModuleSa>:<Component> according to future schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@240 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-23 04:24:19 +00:00
bbahnsen f0ec738d39 Fix capitalization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@238 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-22 23:24:23 +00:00
bbahnsen c2e4d78fae Change the file extension back to .asm. That was an oops.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@220 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 22:56:36 +00:00
bbahnsen 4cbd855edf Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@219 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 22:43:26 +00:00
bbahnsen 72f248f472 Fix capitalization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@216 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 21:53:01 +00:00
bbahnsen 1e1623de20 Fix capitalization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@215 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 21:48:34 +00:00
bbahnsen b030934bcd Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@212 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 21:41:15 +00:00
bbahnsen ea140a1074 Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@211 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 19:58:33 +00:00
bbahnsen 7861e4209f Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@210 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 19:52:02 +00:00
lgao4 1b7b460ff9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@151 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-14 09:16:06 +00:00
lgao4 e20ee534ac git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@150 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-14 09:14:46 +00:00
mdkinney cd36853858 Add CapsuleVendor and BootState GUIDs to PEIMs that depend on the EDK Module Package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@135 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-12 16:53:17 +00:00
qhuang8 5f10fa0140 *BaseSmbusLib: (new version)
Complete function header, detailed description, ASSERT()s & pass smoke test in MRC of Lakeport package by replacing Smbus PPI. 
*Device Patch Lib
Fix a bug in AppendDevicePathNode() (Solve Track #44 in Remodel PVCS). The original logic failed if the first device path was NULL.
*Performance Lib 
Add PeiPerformanceHob & Performance protocol in spd file in EdkModule Package (Solve Tracker #41, #42 in Remodel PVCS).
*Hob Lib
Add detailed description for each Hob function.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@126 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-11 07:19:55 +00:00
bbahnsen b678d2fbdd Removing all but ia32 so that folks who do not have the extra compilers can build without error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@92 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-03 17:57:37 +00:00
bbahnsen 509d55c4ad This is the file to use to build all architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@91 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-03 17:56:52 +00:00
bbahnsen 22e0585cf8 Convert backslashes to forward slashes in many build files. This is necessary for Linux support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@55 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-26 20:53:56 +00:00
bbahnsen 878ddf1fc3 Initial import.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-21 22:54:32 +00:00