Commit Graph

1244 Commits

Author SHA1 Message Date
qwang12 3d5c59747e Sync HII and Setupbrowser related header files with UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4379 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 07:29:15 +00:00
qwang12 5a1fc2219b Sync HII and Setupbrowser related header files with UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4378 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 07:28:15 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
qhuang8 0c9d739571 1. Move some status code related PCDs to MdePkg
2. Let DxeIpl PEIM to enable IDT table by default.
3. Fix spelling typo in UefiLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4368 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 02:06:52 +00:00
qhuang8 f2e0239a6d Fix the constructor typo. The new type should follow PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4363 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:45:54 +00:00
qhuang8 31f677be83 Add validate usage for some PCDs. DSC file can allow to use these PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4359 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:40:00 +00:00
qhuang8 cf1529137e Fix the constructor typo. The new type should follow PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4358 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:38:03 +00:00
mdkinney a82da388bf Fix timeout logic in AcquireSpinLock(). It could fail if the end time computed was larger than the roll over value of the performance counter. The timeout logic now accumulates the total time elapsed to determine if the timeout has been exceeded.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4345 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 02:33:37 +00:00
lgao4 176a6bb358 Add Capsule image Table entry in Uefi/UefiSpec.h according to UEFI2.1 spec definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4332 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 07:06:01 +00:00
mdkinney 24a7505cef Add FUNCTION_ENTRY_POINT macro
Update DxeDebugLibSerialPort to have a module type of BASE



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4328 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 02:48:59 +00:00
qhuang8 e89b6bfc01 Fix typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4319 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 07:13:30 +00:00
qhuang8 8a7d75b062 Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +00:00
qwang12 67c89a2127 Fix up the comment for several functions and make sure the IN and OUT modifier of the function parameter is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4301 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-18 16:01:09 +00:00
eric_tian 8ae0b360f5 add UsbMouseSimulateTouchPad driver to verify the correction of dispatching AbsolutePointer event of consplitter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4297 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-14 07:08:55 +00:00
qhuang8 dda0251d0b Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclaimed by DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4287 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:48:49 +00:00
yshang1 5053cf7f4c 1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
2) Add BaseMemoryLibOptXXX in MdePkg.dsc.
3) Clean up the MdeModulePkg.dsc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4286 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:40:50 +00:00
zliu3 14e2aca20d Removed the PAL definition of PAL_ROUTE_CONFIG because it is not in published Itanium spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4282 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 09:15:14 +00:00
jljusten a3589760c4 edk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:
edk2/MdePkg/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h:
  Fixed include filenames (case) for case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4264 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-02 00:00:44 +00:00
gtian 9a9cb9bc5a Add more PAL_ROUTE related definition in to PalCallLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4263 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 07:59:32 +00:00
zliu3 42a885c2f0 Added macro GLOBAL_OBJECT and GLOBAL_CONSTANT, and changed '.global' to '.globl' based on HP feedback
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4243 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 03:10:22 +00:00
jljusten a21f46e4b6 MdePkg/Library/BaseLib/ChkStkGcc.c:
MdePkg/Library/BaseLib/BaseLib.inf:
  Added stub (nil) implementation of __chkstk for which calls are generated
  by newer versions of gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:10:23 +00:00
jljusten bdfb126146 MdePkg/Library/BaseMemoryLibRepStr/x64/*.S:
Added assembly files for gnu toolchain.
  Uses '.intel_syntax' which requires binutils >= 2.10.
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf:
  Include .S files for BaseMemoryLibRepStr module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4236 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:06:27 +00:00
lgao4 9626a87e43 Add one judge whether TeImage or PeImage has reloc section when relocate TeImage or PeImage into memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 09:28:29 +00:00
AJFISH c9a0a0fcf1 Fixed tabbing issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4211 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 19:12:45 +00:00
zliu3 9c2369c11a Added the PAL call PAL_ROUTE_CONFIG for Tukwila processor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4188 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-20 03:26:46 +00:00
lgao4 e2701217a1 Update ExtractGuidedSectionLib instance to cover the same handler is registered multi times, the later will override the pre setting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4183 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 09:11:42 +00:00
qhuang8 41d66a6fca Add Guid C Name for EFI_SIMPLE_TEXT_INPUT_EX protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4176 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 02:32:41 +00:00
qhuang8 85f74a010e Update EFI_SIMPLE_TEXT_INPUT_EX protocol definitions according to UEFI spec 2.1b
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4175 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 02:31:59 +00:00
lgao4 e6c560aad6 Make GuidedSection library instance to follow the value of GuidedSectionExtraction protocol/PPI defined in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4165 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 09:12:59 +00:00
klu2 0a7d0741b6 The BaseAddress and Length should be align PAGE according to PI specification for EFI_MEMORY_ALLOCATION_HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 06:09:03 +00:00
vanjeff 305a12799e Merger network tackers 9307, 9338, 9339, 9397
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4130 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 09:23:09 +00:00
qwang12 bff2467aff add in include for header file to get value for MACRO THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4128 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 07:10:15 +00:00
vanjeff d0c64728d4 1. Add PcdConOutGopSupport and PcdConOutUgaSupport in MdeModulePkg.dec
2. ConSplitterDxe module could produce GOP and/or UGA according to thest 2 PCDs.
3. Add PcdConOutGopSupport and PcdConOutUgaSupport reference in DSC file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4121 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 05:30:18 +00:00
klu2 94db2b46f8 Move the EFI_PEI_STARTUP_DESCRIPTOR into IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4120 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 02:48:00 +00:00
qwang12 8a7cda5b86 1) add gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported and gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv to replace the MACRO definitions.
2) Fix a bug in Pei dispatcher to suppoprt PEI Apriori file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4117 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 11:16:14 +00:00
klu2 f9168a6f8f Remove library instance of PeiServicesTablePointerLibMm7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4113 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 02:54:21 +00:00
lgao4 2ad4dad029 1. Update internal EfiPrint protocol to contain all print interfaces provided by PrintLib class of MdePkg. 2. Update SetupBrowserDxe driver to produce new EfiPrint protocol.
3. Update EdkDxePrintLib instance to implement all interfaces defined in PrintLib class based on new EfiPrint protocol.
4. Update Nt32Pkg platform.dsc to use EdkDxePrintLib instance for UEFI_APPLICATION modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4109 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 08:13:33 +00:00
lgao4 a88c89156f Fix ICC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 07:08:43 +00:00
zliu3 ab3b2e8903 Updating for pass building: Remove the "#include <ItaniumFamilyCpuPeim.h>" for this PalCallLib.c because it is moved from ItaniumFamilyCpuPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4103 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 02:30:20 +00:00
vprabhal ed8717c58f moved the PeiPalCallLib from ItaniumFamilyCpuPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4102 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 23:51:46 +00:00
vprabhal d936a70c25 changed the Sec information structure for IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4100 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 18:02:59 +00:00
AJFISH 0d332fdca8 UEFI Specification has a name conflict. Change the Variable definitions to not conflict with the SimpleTextInEx definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4099 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 17:12:14 +00:00
vprabhal d331a1e391 these files have moved to cpulib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4098 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 16:26:17 +00:00
yshang1 4199d92d1c Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF components in open source packages.
Use  meaningful arguments defined in PalLib.h when invoking  PalCall(). 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4094 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 11:12:28 +00:00
qwang12 5b65d6045f added a log for EDK_4067: Non-Compatible: qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4090 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 08:50:44 +00:00
lgao4 66c0685953 Remove PeiDxeExtractGuidedSectionLib instance, which is replaced by PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4088 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 07:19:09 +00:00
jwang36 15d10a4c78 Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4074 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 07:03:04 +00:00
qwang12 166152e85c 0) Change the PEI core behavior to not install FV HOB for each FV INFO PPI installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core.
1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase.
2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4067 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:08:22 +00:00
klu2 dc4d9c37c4 Remove assemble file for different arch,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4065 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:04:53 +00:00
jlin16 61296d0d5e Add SetPeiServicesTablePointer() interface implement in PeiServicesTablePointerLibKr7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4060 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:40:11 +00:00
klu2 81c7803cf4 PI Enabling: the address of PeiServices Pointer should be
1) Set to preceding of IDT table in PeiCore's entry
2) Migrate to preceding of new memory IDT table when memory is discovery

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:16:53 +00:00
lgao4 d173d9c761 Correct ExtractGuidedSectionLib library instance for PEIM and DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4058 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:54:34 +00:00
qhuang8 d24236bfd9 Add Unicode Collation 2 protocol GUID value according to UEFI Spec 2.1b
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4048 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 03:10:06 +00:00
zliu3 fa46e6aa3c Added the "#include <Library/PalCallLib.h>" to pass build (the tracker is #592)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4043 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 08:46:39 +00:00
lgao4 d90bae0955 Correct CpuLib.inf format in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4041 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 07:20:07 +00:00
mdkinney 631f060bb7 Add BaseMemoryLib optimized for DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4036 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 23:23:49 +00:00
mdkinney 7b3b4b2992 Add BaseMemoryLib optimized for PEI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4035 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 23:23:13 +00:00
mdkinney 18be21dc5e Make header consistent with other files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4034 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 22:00:36 +00:00
mdkinney 9b7c438b98 Restore original algorithm and add comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4033 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:59:01 +00:00
mdkinney b3ad302e0f Return buffer in rax
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4032 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:53:01 +00:00
mdkinney a326286cb1 Sync with other libs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4031 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:52:22 +00:00
vprabhal 1ceb2b779d added the CpuLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4028 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 20:17:15 +00:00
vprabhal 58867095ca created a new library instance with CpuSleep and CpuFlushTlb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4025 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:52:48 +00:00
vprabhal 1c4a7f9456 moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4024 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:52:01 +00:00
vprabhal 3e0ada4914 moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:51:24 +00:00
vprabhal d56c53cbb9 removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:48:48 +00:00
vprabhal 71c827cafe removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4021 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:47:51 +00:00
vprabhal e0337bfab8 created a CpuLib for CpuSleep and CpuFlushTlb from BaseLib to remove circular dependency on PalCallLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4020 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:47:03 +00:00
lgao4 0fa0015900 Add two ExtractGuidedSectionLib instance separately for Pei and Dxe module. Because Pei module may run in flash, they don't support to write global variable. We have to use GuidHob to store these global variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4009 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 09:01:06 +00:00
qhuang8 ac94ab631f Work around fix to bypass to register GUID on S3 resume.
DxeIpl does not shadow itself on S3 resume.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3995 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 01:59:02 +00:00
lgao4 63e4bea444 Update ChangeLog.txt file to log change:
1.Remove CustomDecompressLib library class.
2.Add ExtractGuidedSectionLib library class to replace CustomDecompressLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3985 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 09:45:03 +00:00
lgao4 8910007ad2 Remove CustomDecompressLib, which has replaced by ExtractGuidedSection library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3983 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:53:36 +00:00
lgao4 18fd8d651d 1. Add ExtractGuidedSectionLib library to replace customdecompress library.
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg.
3. Update DxeIpl and DxeMain to consume new library.
4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:04:29 +00:00
vanjeff c62a593c90 1. Fixed one bug in ConPlatform.c, add NULL judgment.
2. Fixed one type in UgaDraw.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3976 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 02:57:38 +00:00
lgao4 3d7b0992fc 1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:14:30 +00:00
xli24 ba7e162ec1 Fix a bug of ScsiWrite10Command() UefiScsiLib. After the SCSI WRITE command is executed, the output DataLength parameter should be EFI_SCSI_IO_SCSI_REQUEST_PACKET.OutTransferLength, instead of EFI_SCSI_IO_SCSI_REQUEST_PACKET.InTransferLength.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3961 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 05:59:12 +00:00
mdkinney 123489db72 Add SEC as a supported Module Type for all libraries that are also compatible with the PEI_CORE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3954 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 16:54:18 +00:00
qwang12 ba7c1a5056 Update the ChangeLog.txt to record the possible non-compatible changes due to PI enalbing in MdePkg's libraries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3929 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 09:26:07 +00:00
qhuang8 ab2abe4ccc Fix one iScsi device path definition update to Uefi Spec 2.1b.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3924 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 06:52:57 +00:00
qwang12 697f4d59cc Make the module pass CYGWIN GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3920 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-25 10:57:55 +00:00
klu2 b0d803fe3e Merge branch of PI tree to main trunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 11:38:43 +00:00
vanjeff f6203b7192 Updated EFI_MANAGED_NETWORK_PROTOCOL_GUID value according to UEFI 2.1b.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3917 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 07:59:36 +00:00
qhuang8 6336a895f6 Fix one minor comment issue in last check-in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3916 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 07:08:18 +00:00
qhuang8 98a14db6f2 Update DevicePathLib to reflect the update of UEFI device utility protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3914 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 06:54:04 +00:00
mdkinney a0b4ea2aec Fix bug in backward copy for x64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3913 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-22 16:55:58 +00:00
qhuang8 c7a54f2560 Fix invalid return status to sync with newest UEFI spec 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3900 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 09:59:05 +00:00
qwang12 457cfbaebc Fix a bug to print correct message to ConOut and StdErr as they accept unicode string while DEBUG messages are all in Ascii
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3897 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 06:40:26 +00:00
yshang1 d074a8e1a2 Update Mde/MdeModulePkg to support ICC build for IA32/X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 06:15:43 +00:00
vprabhal aa7ab98849 fixed one asm routine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3890 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 23:18:34 +00:00
vprabhal 700e6ffd3e fixed one asm routine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3889 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 23:18:04 +00:00
qhuang8 3d6f81d7b4 Use Device Path Macros to get Device Path Type/SubType. (Some extensions might use high-bit-set device path type to specify "unpacked" device path.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3880 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 02:41:33 +00:00
klu2 6a9d345a33 Add PI incompatible change into ChangeLog.txt for MdePkg and MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3873 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 05:16:15 +00:00
klu2 c0ee02af6b Remove OldPeiCoreEntryPoint library instance from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3871 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 04:03:19 +00:00
klu2 bba9ad98f1 FixedPcd macro should *not* be used in Library's inf file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:57:13 +00:00
qhuang8 f662c19489 1. Add EfiLibInstallDriverBindingComponentName2() to install DriverBinding Protocol and optional ComponentName Protocol and ComponentName2 Protocol. This new API should cover most cases in our UEFI drivers.
2. Refine the function headers for this driver model APIs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3862 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:39:25 +00:00
qhuang8 90374bc8fd Add Hardware Error Variable defined in UEFI 2.1 spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3861 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:36:56 +00:00
zliu3 1b7f7985bd Add the "ChangeLog.txt" to record packages' all non-compatible changes and important compatible changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3830 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 06:38:20 +00:00
klu2 c6f4d4c97f Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3784 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 03:51:54 +00:00
xli24 22142dbf7d Roll back the change made in rev.3778, which is a temporary fix for the issue that Tiger could not boot to OS with revision Edk2-r3776_R9-r2666. Now the root cause has been located and fixed, so it should be rolled back.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3783 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 05:23:05 +00:00
xli24 44a2c2dd00 Temporarily fix the issue that Tiger cannot boot to OS. Change the GUID of FirmwareVolume2 Protocol, to be the GUID of FirmwareVolume Protocol to provide compatibility for OS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3778 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-05 09:27:56 +00:00
qwang12 1c280088ec Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3772 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:11:47 +00:00
AJFISH e7fe49961a Fixed problem with sign extension in print lib. PrintXY could not print out French characters like é.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3761 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-01 15:56:49 +00:00
mdkinney 878afe6b8c Update for ICC 10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3749 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 23:01:26 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
klu2 fd2537eff6 Fix the invalid return code for OemHookStatusCodeLibNull library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3737 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 03:32:27 +00:00
klu2 5528573c45 Fix non-Ascii character in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3735 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 02:53:08 +00:00
yshang1 623ad724e1 Add dependent packages in INF of modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3731 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:52:49 +00:00
vanjeff d01c093a58 1. Sync Tcp4 protocol definitions to match UEFI 2.1
2. Clean up codes.
3. Remove struct definition content for big-endian, because UEFI 2.1 declare only little-endian supported.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3714 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 07:02:05 +00:00
qwang12 f490a61d79 Make MdePkg GCC clean
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3710 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 03:02:57 +00:00
mdkinney 580ad4a03d Handle case when PAL calls 13 or 14 may not be available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3708 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 01:01:44 +00:00
mdkinney 809177f5e9 Add #defines for the SAL System Table entry sizes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3705 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 03:45:32 +00:00
qwang12 3a3645548d Use CopyGuid instead of CopyMem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3699 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 02:14:58 +00:00
qwang12 07ad9b81e3 Add in BuildFv2Hob in HobLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3693 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 06:22:53 +00:00
qwang12 d3a58e2ddf Update the code to match spec for EfiFvbSetVolumeAttributes API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3690 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:33:34 +00:00
yshang1 8fe4875174 Update the comments of PiDxe.h, PiPei.h and Uefi.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3688 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 08:45:48 +00:00
mdkinney 46817e4eb2 Use <> in #include statements instead of "" for include files from packages
Use '/' instead of '\' for all file references
Remove redundant use of $(WORKSPACE) from DSC, FDF, INF, and DEC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3673 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 21:04:27 +00:00
AJFISH b12532db20 Added PCD settings for UART and Terminal Type device path nodes defined in this package. I will update specifications when document repository migration is complete.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3660 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 21:26:03 +00:00
mdkinney 66fa2bde56 Remove MDT from SAL.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3645 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 22:27:42 +00:00
yshang1 cdebf6c68a 1) Add type casting for argument "a" in EFI_ERROR(a), since if compare two constants without specify data type, compiler maybe could not understand what is the actual data type of constant. The default would treat it as unsigned data. therefore, if the argument a of EFI_ERROR(a) is constant, for instance the EFI_LOAD_ERROR, the EFI_ERROR(a) would always be FALSE.
2) Remove PcdDriverPcdLibNull.
3) Add more ASSERT() in BasePcdLibNull to detect the incorrect usage of Pcd Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3643 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 06:17:29 +00:00
qwang12 be5b2ad58b gEfiCallerIdGuid is defined in Autogen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3638 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 10:13:17 +00:00
lgao4 20bec55b4e Add debugLib for this instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3637 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 08:12:03 +00:00
lgao4 d35be2a434 Sync code with MdePkg spec for Scsi library class and CustomDecompress library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3636 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:58:32 +00:00
klu2 1c9d209fc4 Add missing definition EFI_PEIM_ENTRY_POINT to IntelFrameworkPkg and rename original to EFI_PEIM_ENTRY_POINT2 to follow PI definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3629 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 17:47:57 +00:00
yshang1 98d80c1807 Fix bug in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3617 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:05:31 +00:00
klu2 d8dcb6669b 1) Move the structure definitions related GUID EFI_STATUS_CODE_SPECIFIC_DATA_GUID and EFI_STATUS_CODE_DATA_TYPE_STRING_GUID from IntelFrameworkPkg\Framework/StatusCodeDataTypeId.h to IntelFrameworkPkg\Guid/StatusCodeDataTypeId.h
2) Remove IntelFrameworkPkg/Framework/StatusCodeDataTypeId.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3612 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 09:50:06 +00:00
yshang1 f4118ff0a5 fixed Typo in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3599 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 05:09:38 +00:00
jwang36 b432a91169 Added DXE_CORE in the supported module type list
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3592 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 08:06:55 +00:00
mdkinney ad9e507a58 Change EfiConvertPointer() and EfiSetVirtualAddressMap() to use gRT instead of mRT because these two functions must only be called in physical mode, so there is never any need for them to use mRT that is converted to a virtual address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3581 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 20:44:44 +00:00
lgao4 98a1fa1f34 Correct parameter UINTN to UINT32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3576 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:21:11 +00:00
lgao4 d8c79a815f Update CustomDecompress library to support algorithm guid and Update DxeIpl and DxeCore to support custom decompress guid section parse.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3573 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 10:17:57 +00:00
jwang36 c543936ac7 Changed the class name to OldPeiCoreEntryPoint
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3570 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 09:50:16 +00:00
qwang12 fe8e4eb01c remove EFI_ACPI_30_TABLE_GUID and gEfiAcpi30TableGuid which is not defined in any of these specs: EFI 1.10, UEFI 2.0, UEFI 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3554 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 08:17:03 +00:00
qwang12 8ad603fe68 remove the two unnecessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3552 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 07:46:11 +00:00
yshang1 d8b61daacc Fix bug in PciCfg to support PCI express address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3549 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 03:52:01 +00:00
qhuang8 9f5fea4798 Add library dependency expressions for several library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3533 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 10:01:41 +00:00
klu2 3ce4669fc1 Remove addtional PCD type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3526 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 02:59:16 +00:00
jwang36 13e54995a8 Changed source file format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3524 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 02:22:49 +00:00
AJFISH 4bb89f14bd Updated to reflect spec ECRs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3522 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 16:01:02 +00:00
jwang36 6b4fe92ad9 1. Generated new build.exe from new tools code
2. Removed some duplicated includes in source files
3. Changed the source file format in INF files
4. Removed duplicated PCDs in MdePkg.dec


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 08:45:32 +00:00
AJFISH 95cba3ee15 Added UEFI Boot Manager definitions to UEFISpec.h and removed from BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3515 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 15:52:44 +00:00
qwang12 b25e8149f5 add in <Guid/PcAnsi.h>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3514 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 12:38:05 +00:00
qwang12 f178734977 add EFIAPI to the library functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3495 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 07:54:23 +00:00
AJFISH 409f67804d Removed unneeded $(WORKSPACE)\ in *.DSC files. Also synced MdePkg.dec file with package specification update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3490 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 19:07:27 +00:00
yshang1 4db6ca96b3 Add BasePcdLibNull.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3482 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 06:49:00 +00:00
yshang1 bbfaace453 Add BasePcdLibNull in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3481 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 06:48:03 +00:00
yshang1 26167ad7fb Clean the Bis.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3450 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 07:17:02 +00:00
yshang1 9372fe0366 Sync token number of Pcd with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3448 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 03:13:57 +00:00
AJFISH d44d2087c5 EFI_FV_FILETYPE_ALL missing from PI specification. Will be added in an errata as its referenced, but not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3443 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 23:51:08 +00:00
yshang1 6cbcf597c6 Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3428 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 03:13:13 +00:00
yshang1 ef4fa1a415 Update the definition of PEI_SERVICES_REVISION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3418 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 09:05:24 +00:00
zliu3 10e53a287e Added the Lib Construction function for IPF lib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3414 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 07:40:09 +00:00
yshang1 d6033584ab Add IPF_HANDOFF_STATUS definition in Ppi/SecPlatformInformation.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3410 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 05:45:04 +00:00
jwang36 27af6b876a Added "#define ASM_PFX(name) _##name" for GNU assembly code preprocessing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3409 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 05:34:35 +00:00
qhuang8 efc69967c4 Update Guid Value to avoid collision with old one
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3408 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 03:54:55 +00:00
yshang1 c5ecf6c197 Import BaseMemoryLibMmx.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3407 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 09:54:31 +00:00
yshang1 fd21d1aa2e Clean up the MdePkg.dec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3393 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 13:46:48 +00:00
vanjeff c892d84644 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3388 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 06:28:14 +00:00
vanjeff 37f259c935 fixed to pass IPF build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3384 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 05:14:34 +00:00
vanjeff dd0687a4b1 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 04:33:45 +00:00
qwang12 85c528bdb9 Remove the CONST for FvbWrite as spec does not have it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3381 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 03:17:32 +00:00
qwang12 de339b9d79 Update the CONST modifier to be the same with spec.
Buffer of EFI_FVB_WRITE should have CONST, but the PI spec miss it out. This should be an errata.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3378 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 01:52:31 +00:00
yshang1 5088ce25ff Remove unused comments in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3368 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 09:43:43 +00:00
yshang1 12e6d88727 Update the comments of Acpi.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3354 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 05:50:55 +00:00
yshang1 ecc4094208 Update the industryStandard in MdePkg:
1) Acpi.h - It should be the ACPI definition supporting the latest ACPI specification.
2) These extended tables of ACPI should include the Acpi.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3353 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 05:47:35 +00:00
yshang1 581e82a1f6 Fix bugs in MdePkg for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3345 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 03:18:32 +00:00
qwang12 4d33f33ac4 add in PeiServicesTablePointerLibMm7.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3344 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 03:06:42 +00:00
qwang12 9c41921b39 add in PeiServicesTablePointerLibMm7.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3343 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 02:59:30 +00:00
klu2 2e765be2a1 Rollback the change of EFI_FVB_ATTRIBUTE, because not clearly about how to change the EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL and the last check in block the Nt32 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3336 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 18:20:45 +00:00
klu2 986352bec8 Remove _MSC_VER for this file is just built by MSFT tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3335 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:50:05 +00:00
AJFISH 3a9d76242b removed comments (and fix) compiler specific compile of .c files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3334 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:44:36 +00:00
klu2 dcab253b05 1) Add _MSC_VER judgment for usage of #pragma intrinsic
2) Change EFI_FVB_ATTRIBUTE to EFI_FVB2_ATTRIBUTE, As Zimmer, Vincent’s PI1.0 errata document said, in PI we need use EFI_FVB2_ATTRIBUTE to differ the specification change.
3) Remove duplicate definition of SERIAL_MODE, PARALLEL_MODE in Include\Framework\Legacy16.h
4) Remove EFI_FV_FILE_ATTRIB_FIXED and EFI_FV_FILE_ATTRIB_ALIGNMENT from IntelFrameworkPkg\Include\Protocol\FirmwareVolume.h, because they defined in PI specification.
5) Remove EFI_FORM_LABEL from IntelFrameworkPkg\Include\Protocol\HiiFramework.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3333 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:30:13 +00:00
jwang36 3447ef0f4f Added tool chain family modifier for source files used only for GCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3331 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 15:19:31 +00:00
klu2 747b297ebe Add GraphicLib library class definition in MdePkg.dec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3319 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 07:48:14 +00:00
vanjeff e3c6b3d980 Move those definitions defined in UEFI Spec from IndustryStandard/Usb.h to Protocol/UsbIo.h and Protocol/Usb2HostController.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3310 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 05:10:20 +00:00
vanjeff d67ed18451 add UefiUsbLibInternal.h in .inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3305 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 02:55:22 +00:00
klu2 f5c5783ebc Use () instead of {}, replace \ to / for path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3301 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 00:58:39 +00:00
vanjeff 9d1f975f35 Move some definitions defined in USB spec and HID Spec from Library/Usblib.h to IndustryStandard/Usb.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3300 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 10:09:51 +00:00
yshang1 64db4c9552 Clean up comments in PeiServicesTablePointerLibIdt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3298 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:25:38 +00:00
yshang1 48924f1488 To support GCC build. Currently, it could not pass GCC build,since tool could not build .S file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3297 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:19:49 +00:00
qwang12 1247a1ce22 Remove EFI_ACPI_2_0_OEM_ID etc. in Acpi2_0.h.
Remove bugbug comment in Acpi3_0.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3288 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 05:43:49 +00:00
qwang12 568eb0cb4b Check in definition for various ACPI tables and the header files for ACPI spec ranged from 1.0 to 3.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3287 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 05:36:16 +00:00
yshang1 e26ac2b535 Fix typo in FirmwareVolumeBlock.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3280 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 02:40:27 +00:00
yshang1 7ac47fd612 Rename PeiSmbusLibSmbus2 as PeiSmbusLibSmbus2Ppi.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3276 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 02:02:23 +00:00
klu2 0c1f1ad1e9 Comment unallowed item
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3270 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 01:47:53 +00:00
AJFISH 7658d609a3 Convert NT32 to use PCD settings for UEFI Timeout and language variables as a POC for new BDS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3241 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 22:51:36 +00:00
xli24 6ef9509940 Add necessary macro definitions in PalCallLib.h of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3229 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 05:43:54 +00:00
AJFISH dad203ecac Add Internal.h to UefiUsbLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3222 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 03:22:35 +00:00
AJFISH bf231ea60e Fixed comments to follow coding standard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3221 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 03:21:40 +00:00
qwang12 8bdadcc8c0 Add in Atapi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3219 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 02:04:55 +00:00
AJFISH d5b86e43cf Removed MdePkg usage of ModuleName: in file headers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3217 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 22:59:43 +00:00
vanjeff ed838d0c5e 1. Import UsbKbDxe and UsbMouseDxe into MdeModulePkg
2. Updated UefiUsbLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3216 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 17:31:28 +00:00
vanjeff 20b1aab609 Add some USB related definitions defined n Uefi 2.1 into Usb2HostController.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3190 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 06:24:38 +00:00
AJFISH 859b72fa7e Removed CommonHeader.h from MdePkg & MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 16:13:56 +00:00
yshang1 11f43dfd8b Import IsaFloppy Dxe and Pei in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3168 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 09:04:15 +00:00
vanjeff 196d5cd166 Update Usb.h definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3163 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 01:55:05 +00:00
AJFISH 97a079edfb Updated modules to not depend on the IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3162 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 23:39:54 +00:00
yshang1 981a648dbb Add enumeration EfiResetUpdate of EFI_RESET_TYPE, which is introduced in UEFI2.0/UEFI2.1 without value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3160 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 09:25:08 +00:00
qwang12 4bad02f252 Remove some unnessary CONST modifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3158 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 08:23:54 +00:00
qhuang8 f33728e741 Rename the GuidCName to sync with dec file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3139 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 02:10:20 +00:00
AJFISH b483e39524 Updated comments for IntelCompiler specific warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3133 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 18:48:06 +00:00
qwang12 a73480f6f2 Enable Intel IPF compilation for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3130 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 15:19:20 +00:00
qwang12 2553c3f39c add in proper include for this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3128 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 14:00:46 +00:00
qwang12 46913d4de4 Diable 1418 and 1419 with pragma.
Disable ICC's error #1418: external function definition with no prior declaration and // Disable ICC's error #1419: external declaration in primary source file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3122 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 10:25:53 +00:00
xli24 9c8403b3f8 Check in library class of SalLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3105 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:51:12 +00:00
yshang1 90862b2183 Remove the Pal.h from directory "IndustryStandard " of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3103 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:33:07 +00:00
yshang1 f910763427 Update PalCallLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3102 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:31:38 +00:00
yshang1 c13f09d02d Checked in PalCallLib.h. The patch does not remove the "/IndustryStandard/Pal.h", which would be Retired in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3101 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:30:33 +00:00
yshang1 3d806b5af2 Update the C name of CPU I/O PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3094 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 03:23:55 +00:00
qhuang8 7f2a0ca60e Add missing gEfiPeiCpuIoPpiInServiceTableGuid & gEfiEndOfPeiSignalPpiGuid to MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3092 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 03:05:07 +00:00
lgao4 62d1e08bd1 Add pack(1) for section header structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3091 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 02:53:00 +00:00
AJFISH 93ce5aca74 Added EFI_EVENT_ alais for EVT_ #defines to match our old code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3079 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 16:04:13 +00:00
AJFISH 7540e754cc GraphicsLib depends on GraphicsOutput protocol definitions so I added include for GOP
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3078 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 15:54:21 +00:00
klu2 2e7a663de4 Enable Nt32 platform boot to DXE phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3073 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 09:41:22 +00:00
vanjeff b6fc09bf79 add HiiLib.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3067 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 07:00:36 +00:00
vanjeff bad463843c Add inf files for PeiSmbusLibSmbus2, PeiDxePostCodeLibReportStatusCode, PeiMemoryLib and DxeSmbusLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3066 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:59:50 +00:00
vanjeff 845effb3da Rename EFI_PEI_PCI_CFG_PPI_IO to EFI_PEI_PCI_CFG2_PPI_IO to avoid collision with EFI_PEI_PCI_CFG_PPI
Rename EFI_PEI_PCI_CFG_PPI_RW to EFI_PEI_PCI_CFG2_PPI_RW to avoid collision with EFI_PEI_PCI_CFG_PPI.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3062 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:19:49 +00:00
yshang1 96219b7d4b Update modifier of FVB protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3042 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 10:43:48 +00:00
yshang1 01c25cb23a Fixed typo of DXE_SERVICES_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3040 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 10:18:46 +00:00
zliu3 bf3179d8dd Add the IPF boot mode into ProcessorBind.h, and these boot mode is defined in Itanium Manual so add this in IPF ProcessorBind.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3039 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:53:21 +00:00
qwang12 eda676101e PI defines EFI_FVH_REVISION to 2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3037 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:42:42 +00:00
qwang12 7f9f551885 Rename to gEfiFirmwareFileSystem2Guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3034 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:08:00 +00:00
qwang12 1fb7f791b4 Rename to gEfiFirmwareFileSystem2Guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3033 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:07:37 +00:00
yshang1 211a2649f4 Add EFI_NOT_AVAILABLE_YET in MdePkg and change the value to EFIERR(32) to avoid the value conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3032 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 09:04:40 +00:00
yshang1 c4eed1fd5e Clean up the tolerant definitions of FV_FILETYPEs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3031 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 08:25:04 +00:00
yshang1 ddd3f47177 Add macro SECTION_SIZE(SectionHeader) in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3030 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 08:23:26 +00:00
klu2 192f6d4c29 Add PeiCore module for enabling NT32Pkg, please attention this PeiCore does follows PI specification except some FV definitions.
Also the old definition of MdeModulePkg/Include/Ppi/LoadFile.h and EFI_PEI_STARTUP_DESCRIPTOR in MdePkg/Include/PiPei.h will be removed when enabling PI.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3029 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 07:51:48 +00:00
AJFISH 47e3709a7d Deleted unneeded file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3020 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 18:45:51 +00:00
AJFISH ba23773287 Removed IntelframeworkPkg contamination from MdeModulePkg modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3019 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 18:34:24 +00:00
qwang12 00c4901b89 add in GraphicsLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3017 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 13:43:57 +00:00
lgao4 7bc232b207 Add BaseCustomDecompressLibNull, DxeDebugLibSerialPort and UefiUsbLib library instance into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3004 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:57:29 +00:00
klu2 2e19fd0ff6 Porting SecMain module for Nt32Pkg, but not enable PI, so it currently dependent on IntelFrameworkPkg temporary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2998 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:18:19 +00:00
yshang1 8fb30482e7 Update the EFI_FV_FILETYPE definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2992 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 07:59:59 +00:00
vanjeff 3b89de633d Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2988 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 06:01:52 +00:00
yshang1 b67d6130b2 Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2987 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:56:24 +00:00
yshang1 531febc2e4 Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2986 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:44:35 +00:00
yshang1 45ad5569f4 Update the EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2985 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:39:08 +00:00
yshang1 9b53707866 Update EFI_PEI_LOAD_FILE_PPI_GUID in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2971 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 02:14:17 +00:00
yshang1 b06f038b06 Add building DxeMemoryLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2964 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 10:01:49 +00:00
yshang1 1ece02b57e Support DxeMemoryLib building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2962 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:58:37 +00:00
vanjeff c6aa36b6aa add internal command header reference
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2959 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:43:51 +00:00
jwang36 5dac2e6969 Applied tool chain family constraints for file Synchronization.c, SynchronizationMsc.c and SynchronizationGcc.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2957 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:37:07 +00:00
vanjeff f1baef624f 1. Port X64, IPF and EBC arch for BaseLib
2. Port X64 arch codes for BaseMemoryLibRepStr and BaseMemoryLibSee2


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2955 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:34:25 +00:00
yshang1 f6082f62cc Update the C name of gEfiPeiMemoryDiscoveredPpiGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2951 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:22:59 +00:00
qwang12 5f40670ed0 add a error macro to prevent this file from included for now #error "UEFI 2.1 HII is not fully implemented for now, Please don't include this file now."
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2944 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 08:29:56 +00:00
yshang1 ce2f555794 Add BaseMemoryTestDxe in MdeModulePkg.dsc
Add RuntimeDxe in MdeModulePkg.dsc
Move Security/SecurityStub/Dxe to SecurityStubDxe.
Add EFI_MAX_ADDRESS in Uefi/UefiBaseType.h.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2930 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 03:48:40 +00:00
AJFISH f734a10ab1 Removed CommonHeader.h generated file from the MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 23:22:13 +00:00
AJFISH 7f1c3191e6 Ported SerialPortLib to support base type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2919 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 20:51:40 +00:00
AJFISH ef4ce18681 Ported SerialPortLib to support base type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2918 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 20:51:01 +00:00
AJFISH 5ed00ce4ad removed [includes] section from MdePkg and MdeModulePkg .inf files. The includes sections are not needed and are redundant with [packages] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2917 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 16:44:40 +00:00
qhuang8 dfbb4581a4 Add two gEfiComponentName2ProtocolGuid and gEfiDriverDiagnostics2ProtocolGuid in [protocols] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2900 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 08:07:33 +00:00
yshang1 afcf4907be Add EFI Option ROM definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2897 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 07:30:27 +00:00
qwang12 1528fae8dc add a error macro to prevent this file from included for now #error "UEFI 2.1 HII is not fully implemented for now, Please don't include this file now."
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2894 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 06:51:45 +00:00
yshang1 cdffda11f4 Import PeiDxePostCodeLibReportStatusCode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2891 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 06:26:23 +00:00
vanjeff 316172ba50 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2888 6f19259b-4bc3-4df7-8a09-765794883524 2007-06-29 05:37:38 +00:00
yshang1 dd51a99341 Import BaseMemoryLibMmx;
Import PeiMemoryLib;
Import BasePeCoffLib;
Import PeiSmbusLibSmbus2;
Import DxeMemoryLib;
Import HiiLib;
Update UefiLib to support multiple language codes;


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2886 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:29:46 +00:00
klu2 a02e796b5e 1) Modify ScsiIo protocol according to UEFI specification
2) Add UefiScsiLib library instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2875 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 03:27:28 +00:00
vanjeff fd7a76af08 add SerialPortLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2874 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 03:27:02 +00:00
AJFISH 3a98b778ab Updated *.dec files and .h files to support correct include path scheme
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2863 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 20:26:24 +00:00
jwang36 32f148f8a3 1. Added depex file generation
2. Added file type filter per the toolcode/toolchain/toolchain family/etc., and fixed the BaseLib.inf
3. Added unicode file parse support but commented out temporarily because of bugs
4. Fixed the unicode file format in Nt32Pkg/MiscSubClassPlatformDxe
5. Removed duplicated [Ppis.common] in MdePkg.dec
6. Added declaration of gEfiPeiMemoryDiscoveredPpiGuid in Nt32Pkg.dec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2858 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 15:08:08 +00:00
qwang12 ee7947830c add in BasePeCoffLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2849 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 13:34:16 +00:00
qwang12 5b6d8b927c add in BasePeCoffLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2848 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 13:33:25 +00:00
qwang12 d071fb194d Add in BasePeCoff library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2847 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 13:30:16 +00:00
qhuang8 cd736a85e4 Remove GuidCName: gEfiSectionExtractionProtocolGuid
It should belong to IntelFrameworkPkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2818 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 02:32:30 +00:00
AJFISH e9d407abb0 Fixed IPF and X64 like IA-32 for compiler intrinsics
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2817 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 23:11:18 +00:00
AJFISH 479b520d55 Updated to support compiler intrinsics properly. I had to comment out some of the features as they are not currently supported by the build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2816 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 23:02:16 +00:00
AJFISH 842f5579c7 Updated headers to follow coding standard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2815 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 22:53:31 +00:00
yshang1 21998b6778 Add exit boot service event registry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2801 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 09:00:15 +00:00
klu2 89f1008730 Add missing files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2800 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 08:55:31 +00:00
klu2 8a017eaf33 Convert msa to inf for UefiRuntimeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2799 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 08:53:58 +00:00
yshang1 7f18c1638e Clean up Protocol definitions in MdePkg.dec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2798 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 08:45:49 +00:00
yshang1 be28ea150e Import UefiRuntimeLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2788 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 07:23:15 +00:00
yshang1 ebcc8fb7ba Import the UefiRuntimeLib in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2787 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 07:22:18 +00:00
klu2 5413e8e8aa Add missing definition for Time service which defined in UEFI specification 7.3 Time Services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2781 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 06:38:31 +00:00
yshang1 dcd8c7d649 Move #include <IndustryStandard/Pal.h> into IPF specific statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2777 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 06:05:49 +00:00
vanjeff 66b76b194c sync dec with nspd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2774 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 05:45:26 +00:00
vanjeff 6e79dbd5c9 Added gEfiUgaIoProtocolGuid definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2772 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 05:36:02 +00:00
qhuang8 c96769e54d Add new Library Class: CustomDecompressLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2771 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 05:26:03 +00:00
klu2 ff9f122612 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2769 6f19259b-4bc3-4df7-8a09-765794883524 2007-06-27 05:00:33 +00:00
klu2 ecb8241b39 Disable the warning of bitfield
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2768 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 04:59:16 +00:00
yshang1 e30e5a72f9 Update DriverConfiguration2.h to avoid the name conflict with DriverConfiguration.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2766 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 03:43:06 +00:00
klu2 66f0059f35 1) Porting the original WinNtStuff Peim to new Nt32Pkg
2) Adding PeiHobLib to MdePkg 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2765 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 03:41:18 +00:00
yshang1 09f0ddd026 Keep the C name of SIMPLE TEXT OUTPUT PROTOCOL unchanged for backward-compatible with original implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2764 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 03:38:18 +00:00
yshang1 f22a5f4323 Split the DriverConfiguration.h into DriverConfiguration2 and DriverConfiguration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2763 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 03:29:27 +00:00
qwang12 1a06ccf40d add in gEfiPeiMasterBootModePpiGuid and gEfiPeiBootInRecoveryModePpiGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2755 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 10:14:02 +00:00
vanjeff 8693ca5d75 Fixed build issues for DxeCoreHobLib and BaseUefiDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2752 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 09:09:28 +00:00
vanjeff 50615d1f8e Remove prefix EFI_ from some TPL macros reference in some comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2750 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 08:30:09 +00:00
jwang36 7a7f7e47b6 Used "|" as value separator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2741 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 02:48:50 +00:00
AJFISH cf61682357 Fixed typo in function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2735 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 21:13:52 +00:00
jwang36 8fc4fc3a0e 1) Incorporated generating top level makefile. Now platform build is possible (no FD generation).
2) Added GenFw.exe for EFI file generation
3) Changed the destination directory of *.template file to WORKSPACE/Conf
4) Commented out several modules in the MdePkg.dsc file since they cannot be found in the MdePkg package directory.
5) Removed the usage of WORKSPACE_DIR macro in makefile. WORKSPACE is used instead all the way.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2733 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 17:00:40 +00:00
vanjeff 769ead154b added PcdComponentName2Disable, PcdDriverDiagnostics2Disable reference in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2730 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 09:59:18 +00:00
yshang1 e811b22f06 Add UefiDriverModel.c for Installation of driver model protocols .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2725 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 16:34:13 +00:00
yshang1 c7d265a94a Checked in part of MDE library instances following PI and UEFI. It includes:
1) UefiLib adds features of RFC 3066/Iso639 language string and driver model protocols installation.

2) PeiCoreEntryPoint following PI.

3) UefiDriverEntryPoint following UEFI/EFI.

4) PeiServicesTablePointerLib following PI for IPF and x86.

5) Remove many CommonHeader.h. If there is only one C file in module, we should add the common headers in C file instead of creating a new CommonHeader.h.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2723 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 16:22:26 +00:00
yshang1 1a5589a183 Add dependent protocol:"Protocol/DevicePath.h".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2722 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 13:36:00 +00:00
yshang1 4b120077b1 Add DriverDiagnostics2.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2721 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 10:35:20 +00:00
vanjeff 43fcd99927 Cleanup MdePkg.dsc, UefiLib.inf and UefiLib.msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2717 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 09:14:23 +00:00
vanjeff 738ec56559 Import DxeCoreHobLib, DxeHobLib, PeimEntryPoint and PeiServicesLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2714 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 07:42:13 +00:00
vanjeff e386b444c8 Import some Pei and Dxe related instances for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2712 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:57:39 +00:00
yshang1 b6460fcfd9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2711 6f19259b-4bc3-4df7-8a09-765794883524 2007-06-22 06:38:34 +00:00
yshang1 540dfc26a3 Import Pal.h and Sal.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2710 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:37:54 +00:00
yshang1 a1710a6e8a Rename the PalApi.h to Pal.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2709 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:35:33 +00:00
yshang1 adcca86456 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2708 6f19259b-4bc3-4df7-8a09-765794883524 2007-06-22 06:34:09 +00:00
yshang1 5ccad0c0af Delete the IpfDefines.h from MDE package. It should be in IpfCpu package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2707 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:33:47 +00:00
vanjeff e1f414b6a7 Import some basic libraries instances for Mde Packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2704 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 03:21:45 +00:00
vanjeff e053747a04 Import MdePkg.dec and MdePkg.dec. Initial version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2703 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 03:01:46 +00:00
yshang1 146332ae26 Fixed typo in PiPeiCis.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2702 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 02:18:24 +00:00
vanjeff fc982983a9 remove some .msa file reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2698 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-21 09:20:27 +00:00
vanjeff 11a3cf6c1d added MdePkg.spd, this is initial version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2697 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-21 08:51:54 +00:00
yshang1 a6508c051b Update Protocol for backward-compatible with EFI1.1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2696 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-21 07:16:27 +00:00
yshang1 53f2d96e2e Fixed PPI GUID name to follow PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2695 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-21 07:14:45 +00:00
yshang1 e55443986e Update the EFI_PEI_SECURITY2_PPI to follow PI. Also update the EFI_PEI_CORE_ENRTY_POINT definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2693 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-21 02:52:36 +00:00
yshang1 833bd94e28 Add macro EFI_SIZE_TO_PAGES/EFI_PAGES_TO_SIZE in UefiBaseType.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2689 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-20 07:44:50 +00:00
yshang1 935456bbeb Remove the reference of UefiDevicePath.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2688 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-20 07:39:45 +00:00
yshang1 fb3df220f8 Import Library Class from original MDE package. Also I added the EFI_PEI_CORE_ENTRY_POINT definition in PiPeiCis.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2677 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-19 10:55:24 +00:00
yshang1 a7ed1e2ed5 Check in the Industry Standard Files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2676 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-19 10:39:04 +00:00
yshang1 c2f83f0ae1 Checked in the GUIDs introduced in UEFI/PI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2675 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-19 10:29:07 +00:00
yshang1 d1f9500023 Checked in the Protocols introduced in UEFI/PI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2674 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-19 10:12:02 +00:00
AJFISH 00edb2182b Removed tabs and fixed some minor coding style issues. Also fixed typo in EFI_PEI_ENTRY_POINT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2668 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-18 20:28:02 +00:00
yshang1 5879b8754a Add PPI definitions introduced in PI1.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2650 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-13 11:11:23 +00:00
yshang1 959ccb23c6 Move to directory "Include"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2646 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-08 11:31:52 +00:00
yshang1 71d44daf07 Move to sub-directory "include"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2645 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-08 11:29:52 +00:00
yshang1 b4c31aaffa Checked in the new includes of MdePkg, that are ProcessorBind.h, ModuleType.h and Uefi/PI definitions except the PPI/GUID/PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2644 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-08 11:04:31 +00:00
lhauch 586cd1f1f4 Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing builds. Also updated the SPD and FPD files UiNames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2616 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-01 14:49:55 +00:00
qhuang8 c75bbd0e5b Update the Guid Value of Ext SCSI Pass Thru Protocol
Minor update the ASSERT() statement in Switch Stack.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2609 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-31 09:24:58 +00:00
xli24 89ec4b3746 Fix some errors in comments of Status Code include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2602 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-30 03:38:50 +00:00
vanjeff 76f407a69e Remove some unnecessary #if/#ifdef from some header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2598 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-21 03:21:53 +00:00
qouyang ceffbc1900 Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2596 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-15 06:27:11 +00:00
qouyang c392941764 Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2595 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-15 04:44:59 +00:00
gtian efdbc5199e These updates are for IPF low level assembly library checking in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2594 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-14 06:51:02 +00:00
gtian 63afc36022 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2593 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:47:11 +00:00
gtian 4d68c21db3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2592 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:45:05 +00:00
gtian ff756e606b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2591 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:44:39 +00:00
gtian 1ab9159e6a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2590 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:37:46 +00:00
gtian 8e38ef0a9c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2589 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:36:58 +00:00
ajfish d57e9bdca9 Update BaseLib.h to make the spaces between comments constant. Only added blank lines
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2584 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-05 04:16:52 +00:00
xli24 418c6e0918 Fix the DEVICE_PATH_MESSAGING_SAS GUID definition according to UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2557 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 05:57:37 +00:00
qhuang8 28dec501f4 Fix an issue that some image tool will generate PE32+ image with PE32 magic. We now determine magic based on machine type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2547 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 01:42:09 +00:00
qwang12 abb234751e 1) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULL
2) Add DxeCore infix to the module local variable gBS, gST, gRT, gDS in DxeMain.c. This is to solve the name conflict with UefiBootServicesTableLib which is defined in MDE Library Spec. 
3) Add in check for gBS and gST in UefiDebugLibConOut/DebugLib.c and UefiDebugLibStdErr/DebugLib.c and MdePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c. If they are not initialized, the API will just return with a error message.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2546 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-06 06:36:47 +00:00
qwang12 8d7538351f Sync the HII GUID with EDK I code base. Please take note: This GUID is not the same with the one listed in Framework HII Spec 0.92. The HII protocol interface have changed from the one defined in Framework HII spec 0.92. Ergo the HII protocol GUID is updated to reflect the change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2535 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 01:26:00 +00:00
lgao4 13de892cc3 Change BDS to get the default logo picture by default bmp logo guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:24:26 +00:00
yshang1 55bfb04e78 Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:22:45 +00:00
qhuang8 265bfe7cd4 Change the Guid Value of EFI_ISCSI_INITIATOR_NAME_PROTOCOL_GUID.
The original one is 15-byte structure, not a valid Guid structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2530 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 03:20:39 +00:00
yshang1 01d71f9c85 Rename the enum value of EFI_STANDBY_BUTTON_PHASE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2529 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 03:14:30 +00:00
yshang1 1b256c950c Update the MSA for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 02:46:32 +00:00
yshang1 99b64dd977 SMMcis defines "Exit" as the one of phases of EFI_SMM_STANDBY_BUTTON_CONTEXT. The "Exit" conflicts with UefiApplicationEntryPoint library's Exit() in MDE spec and breaks all application build in r9. To fix the issue, I changed the "Exit" to "StandbyButtonExit" in EFI_SMM_STANDBY_BUTTON_CONTEXT temporarily.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2527 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 09:23:26 +00:00
yshang1 a4e9aab95a Updated MSA file for EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 07:13:38 +00:00
yshang1 ef7baf58d0 Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimization of compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 06:25:25 +00:00
qwang12 9471ecb798 Add in OFFSET_OF macro as defined in MDE Library spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2523 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 08:40:56 +00:00
qhuang8 eb9603a0b7 Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 08:15:58 +00:00
qhuang8 db29f969a9 Sync the Guid value of MTFTP protocol in spd file since it has been updated in header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2516 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-30 05:14:52 +00:00
qhuang8 46dd23b81e 1.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access harzard.
2.Sync MTFTP4 Protocol GUID with spec.
3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 07:45:24 +00:00
vanjeff 0f6b6f755b 1. Removed #ifndef to enable Capsule architecture protocol on IPF.
2. Added ASSERT (FLASE) in SwitchStack ().
3. Removed unreached branch from UefiNotTiano.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-28 03:28:13 +00:00
qhuang8 1f74094161 Correct some wrong usage types
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2509 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-27 09:20:55 +00:00
vanjeff c0b162a2c0 1. Removed definition for EFI_1_1 from module ConSplitter
2. Removed old Intel Framework specification extension for Media Firmware file path from Uefi/UefiSpec.h and UefiLib/UefiNotTiano.c
3. Added EFI revision check in UefiLib/UefiNotTiano.c and removed one EFI_SPECIFICATION_VERSION wrapper in Uefi/UefiSpec.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2505 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-26 07:00:30 +00:00
vanjeff cb41bea732 1. Removed AsmSwitchStackAndBackingStore from BaseLib.h
2. Modified SwitchStack definition update to MWG 0.60e.
3. Added BaseLib/Ipf/InternalSwitchStack.c and removed BaseLib/Ipf/Non-existing.c
4. Updated any references of AsmSwitchStackAndBackingStore to SwichStack on IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2499 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-22 03:03:32 +00:00
vanjeff 7af45bf1f0 1. Added PcdNtEmulator and Removed MACRO EFI_NT_EMULATOR
2. Updated *.fpd of all Package.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2481 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 05:36:52 +00:00
vanjeff e5f461a850 1. Remove #ifdef _MSC_EXTENSION_ from all source files
2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 02:33:16 +00:00
qwang12 ddc9ec37af Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2457 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14 02:12:16 +00:00
qwang12 42721684d5 Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2432 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 01:12:51 +00:00
qhuang8 df557cca2f 1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
2. Make performance data for End of BDS is not recorded in Boot Manager Boot


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-08 07:04:05 +00:00
qhuang8 c6345a1321 1. Change the protocol usage type in UefiDriverModelLib
2. Remove a redundant Guid entry in spd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2419 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 07:28:22 +00:00
qwang12 22d9199fe5 Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 06:35:30 +00:00
qhuang8 2c6fae9e7d Clean up MSA for MDE Libs:
1. Remove unreferenced Guid of gEfiStatusCodeDataTypeAssertGuid in PeiReportStatusCodeLib & DxeReportStatusCodeLib.msa
2. Remove dependency of BaseLib for SmmEntryPointerLib & PeiServicesTablePointerLibKr1
3. Add accurate arch support for SecPeiDxeTimerLibCpu & correct PcdFSBClock to "DYNAMIC"
4. Add dependency of gEfiDevicePathProtocolGuid for DevicePathLibDevicePathProtocol
5. Remove dependency of BaseLib & UefiRuntimeServicesTablePointerLib for UefiDriverEntryPointLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2389 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 12:18:12 +00:00
qhuang8 d670549c79 Remove the wrong dependency on PeimEntryPointLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2388 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:32:15 +00:00
qhuang8 0d49d8f681 1. Add two interfaces in PeCoffGetEntryPointLib.h
2. Fix the description of EfiTestChildHandle & EfiTestManagedDevice
3. Clean up BasePciLbPciCf8 & BasePciLibPciExpress to remove the dependency on DebugLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2387 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:12:05 +00:00
qhuang8 f1ad92e867 Add alias EFI_D_XXX to provide backward compatibilities.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2386 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:09:29 +00:00
qhuang8 647db8fd60 Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2385 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:07:47 +00:00
qhuang8 890adc7a25 PcdLib is only referenced by IPF arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2384 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:05:08 +00:00
qhuang8 2e5d68b74a BaseLib is only used by IA32, X64 & IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2383 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:04:24 +00:00
qhuang8 7f0bd7967e Clean up MSA files
Remove unreferenced PCDs & library instances.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2382 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:01:18 +00:00
qwang12 6a352324b9 Update all String related functions in BaseLib for this change introduced in Mde Library Spec 0.60e:
"Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary."

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2375 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 01:47:44 +00:00
xli24 15f83a8852 Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 08:12:05 +00:00
qwang12 d958721a06 1) Added BIT0, BIT1, …, BIT63 to the Base Defines
2) Added MIN() and MAX() macros to the Base Macros
3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions
4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64().

5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64().

6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr()

7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString() 

8) Added EfiGetCurrentTpl() UEFI Library.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 02:53:23 +00:00
vanjeff ff242d4066 updated the comment according to latest version of MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2354 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-06 07:36:38 +00:00
qhuang8 c77f986979 1.Drop the support of UEFI_APPLICATION for UefiDriverLib
2.Change the module type of BaseUefiDecompressLib to BASE
3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib
4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION
5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe
6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 05:54:16 +00:00
vanjeff 4faa50287e 1. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.
2. added BaseTimerlibNullTemplate in MdePkg and SecPeiDxeTimerLibCpu in MdePkg. 
3. modified the related spd and fpd files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 05:36:42 +00:00
xgu3 a8b194b97c 1. PEI core needs to check image machine type
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that 
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 07:18:41 +00:00
qhuang8 f8d88c1ffc Fix a typo in last check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2336 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 09:30:33 +00:00
qhuang8 f5c9674858 Add supported module type & arch filter for all libraries in MdePkg to filter out illegal library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2335 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 09:11:43 +00:00
xli24 617de480bc Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning 1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:54:08 +00:00
vanjeff 41da0f33d9 removed SupModuleList firstly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2319 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 02:44:59 +00:00
qwang12 febc643362 Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 10:25:16 +00:00
xli24 582510249f Make MDE package pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:05:36 +00:00
lgao4 1a8a2ed39a BaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs for this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2307 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 02:45:41 +00:00
jwang36 92a154063a Added DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in EdkModulePkg needs this library otherwise it will break the build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2298 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 14:40:22 +00:00
vanjeff 4cb9d58c9b add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support DXE_SMM_DRIVER drivers, DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2293 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 08:04:04 +00:00
yshang1 6c2c7b7460 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-23 10:10:13 +00:00
yshang1 8c8a13bf5c Updated the function comments in UefiDriverEntryLib to fix EDKT502.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2284 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:36:01 +00:00
klu2 f176220269 Modify the EFI_USB_DATA_DIRECTION according to UEFI specification 2.1 page 708.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2283 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:15:17 +00:00
qhuang8 ca21f1a216 Add two useful functions in UefiLib for the implementation of Component Name, Driver Config, and Driver Diag protocols.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2267 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 11:15:26 +00:00
qwang12 76dbeb3b91 1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition which is not defined in Framework Boot Scirpt Specification V0.91.
2) Add MdePkg/Include/IndustryStandard/SmBus.h which hosts the standard definition defined in System Management Bus Spefication V2.0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2266 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 09:15:52 +00:00
vanjeff 92bb9cf637 supmodulelist not supported by now, i remove it firstly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2261 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 09:53:31 +00:00
lgao4 497ef745f0 Fix PeLoad function can't handle invalid PeImage to skip correct debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2253 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 06:30:16 +00:00
lgao4 582c7220f8 Correct TeImage Header based on PeiCis spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2250 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:24:23 +00:00
lgao4 5b66424456 Correct TeImage file format and Clean up PeiRebase tool to remove unused code and only relocate image.
Move two EFI_DEP_REPLACE_TRUE and DEPEX_STACK_SIZE_INCREMENT macros from MdePkg to EdkModule/DxeMain module, because these two macros are specific implementation, not defined in spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2249 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:13:40 +00:00
xgu3 591ee27e84 To fix,
1. ScrollLock key does not work in USB KB driver
2. PCI_ROOT_BRIDGE_IO.configuration should use OUT for Resources


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2248 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 06:24:49 +00:00
lgao4 f92b6f195c Correctly skip debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2232 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 04:54:20 +00:00
qhuang8 2da41b57c5 UART_FLOW_CONTROL_DEVICE_PATH should be defined for both EFI and UEFI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2228 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 03:10:06 +00:00
bbahnsen fd73932fec Mark some .c files as MSFT only.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2213 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 23:46:32 +00:00
bxing a9a812a0ed 1. Added comments to ASM files
2. Fixed a bug in 64-bit AsmDisablePaging64(), which may cause a #GP exception.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2206 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 06:57:04 +00:00
bbahnsen 526f8a8a3b The header file applies to all architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2202 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 23:14:27 +00:00
qwang12 b244c7dc74 Add in UefiApplicationEntryPoint library class and library instance.
The major difference between UefiApplicationEntryPoint and UefiDriverEntryPoint is that:
1) UEFI application will always be unloaded no matter what is the return status code from the application. Therefore, the library destructors should be called always.
2) UEFI application should not register any callback to evevnt such as EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE and EFI_EVENT_GROUP_EXIT_BOOT_SERVICES.
3) UEFI application does not support module merger like Uefi Driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2199 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 08:17:21 +00:00
lgao4 19231e0eca correct SimpleTextIn protocol definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2188 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 02:19:02 +00:00
tgingold a2b1bf96b3 Use ASM_PFX to optionnaly set the underscore prefix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2179 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:52:39 +00:00
bxing becca880dc Fixed tracker EDKT395
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2154 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 09:06:29 +00:00
vanjeff f3825a180a add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support SMM drivers and RUNTIME drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2146 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 06:13:22 +00:00
qhuang8 13c8460447 Refix the previous issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2143 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 03:51:44 +00:00
qhuang8 f2df6a00a2 Fix a typo in UefiLib. The parameter type of Registration should be "VOID **" instead of "VOID *".
No binary code is impacted.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2142 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 03:35:37 +00:00
klu2 a477a165ff Fix some Linux's build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2138 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 02:48:15 +00:00
mdkinney 1a8bde03fc Update DxeSmmDriverEntryPoint library to only support IA32 and X64 CPU archs
Update MdePkg.fpd to only build the DxeSmmDriverEntryPoint library for the IA32 and X64 CPU archs


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2120 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20 03:11:57 +00:00
mdkinney c529b1250b Add GLOBAL_FUNCTION macro for Itanium
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2116 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 04:01:41 +00:00
mdkinney 4e3f18617e Add FIT types from the SAL Spec to SalApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2112 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 00:22:38 +00:00
mdkinney 9c89ec9819 Only include SmmCis.h if the CPU Arch is IA32 or X64
Only include SalApi.h if the CPU Arch is IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2108 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 20:02:05 +00:00
lgao4 3ec2611d34 Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91. Update DxeCore and Runtime driver to follow new definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2101 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 10:14:24 +00:00
xgu3 ada5e82740 Change the Boot Script storage to fixed length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2096 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 07:36:20 +00:00
wuyizhong 9d3fbdbd47 Fix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2087 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 08:53:44 +00:00
wuyizhong 406adcd15c Merge GOP related code from r8->r9.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 07:09:03 +00:00
mdkinney 513b53b139 Update BaseDebugLibNull to not touch any global variables or PCD settings
Update BasePeCoffLib to include work around for Itanium ELILO images that do not follow the PE/COFF spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2083 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 05:26:13 +00:00
klu2 b96ad3ace8 The EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type, So last check-in is duplicated code. Remove it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2076 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 05:09:33 +00:00
klu2 265c22cc33 Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:43:57 +00:00
qhuang8 1082de3167 Add a new definition according to Pci spec 2.2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2074 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:41:30 +00:00
klu2 77206d75ad Add X64 support for DebugSupport driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2068 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 08:41:28 +00:00
mdkinney 756e4264d3 Move registration and processing of ExitBootServices() events into UefiDriverEntryPoint/DriverEntryPoint.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2056 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:13:52 +00:00
xli24 a7e39a828e Add enumeration type for EfiProcessorFamilyIntelPentiumM, EfiProcessorFamilyIntelCeleronD, EfiProcessorFamilyIntelPentiumD, EfiProcessorFamilyIntelPentiumEx for processor family data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2048 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 03:40:01 +00:00
bbahnsen 6a138c666a Do not check __STDC_VERSION__ for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-04 17:01:58 +00:00
xgu3 1ee7ae6e40 Add Information Opcode in S3 modules.
Information Opcode is a new opcode that allows driver to record any information in script table.
   

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2041 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 09:14:25 +00:00
lgao4 b32a39b328 Output DxeCore Entrypoint in DxeIpl module, and make dxecore module can correctly output >4G module entry point address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2033 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 02:54:20 +00:00
mdkinney 4a32862018 Declare the alignment required for jump Buffers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2021 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 02:41:26 +00:00
mdkinney 20bfd422ed Define GLOABAL_REMOVE_IF_UNREFERENCED for IPF on MSFT tool chains
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2014 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26 04:08:03 +00:00
mdkinney addf9aa46c Fix IPF alignment issue when building a Report Status Code message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2011 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-25 02:07:07 +00:00
xli24 9710b9a67c Add volatile to modify LockValue in ReleaseSpinLock().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2008 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 02:27:09 +00:00
yshang1 733f4094ee To Fix PVCS 429.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2007 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:05:19 +00:00
xli24 2d57c546e0 Add volatile to modify LockValue in AcquireLockOrFail().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2006 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:01:43 +00:00
bbahnsen 02ad42aed8 Port a couple of files to gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2001 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 00:22:20 +00:00
mdkinney 205f41d551 Add PeiServicesTablePointerLibKr1 to the FPD and SPD file for the MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1994 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:42:57 +00:00
mdkinney 9e95f418cc Add PeiServiceTablePointerLib that uses KR1 to save/restore the PEI Services Table Pointer
This library is only valid for Ipf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1993 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:41:04 +00:00
mdkinney 9cbd688b1e Add 64-bit I/O port functions that ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1992 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:39:03 +00:00
mdkinney ea8433c9cf Remove DXE Core Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1991 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:37:34 +00:00
mdkinney 924c490ad3 Remove Peim Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1990 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:36:59 +00:00
vanjeff 83b3efca13 fix one bug on Timer Frequency return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1983 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 06:26:55 +00:00
mdkinney 2043cd261c Remove duplicate <Extern> for the lib constructor and destructor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1979 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 23:13:54 +00:00
mdkinney 7ac2bbc147 Add EFI_DELIVERY_MODE to SalApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1977 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:03:37 +00:00
mdkinney da0559bf73 Disable warning when assigning a function pointer to a data pointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1976 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:02:54 +00:00
bbahnsen dfd52cc1c6 Add Thunk16.S -- needs to be ported from masm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1971 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:54:19 +00:00
bbahnsen a1ef15526b Add gnu x86 assembly sources.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1970 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:48:52 +00:00
bbahnsen 32804425d7 Add an underscore for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1969 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:43:12 +00:00
lgao4 b026832ead Add gcc macro to remove pack() for gcc build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1962 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:19:47 +00:00
lgao4 4a0b6afe5a Add pack(1) for boot scipt structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1960 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 05:49:22 +00:00
bbahnsen e29e52e7c0 Initial port to x86_64 gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1959 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 01:11:41 +00:00
bxing 38b5365e39 Enabled 4G+ memory in thunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1957 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 09:31:03 +00:00
gtian 3673b8bf33 Add IPF support in Base IO Lib, and related change in fpd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1952 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:34:30 +00:00
bbahnsen 1547e08c56 Add ULL to integer literals for gcc support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1946 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:48:07 +00:00
vanjeff 6d864b7a91 Rename PcdPlatformBusSpeed to PcdFSBClock and update help text.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1943 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 05:43:15 +00:00
vanjeff 885dc4d85a rename PcdGenericPlatformBusSpeed to PcdFSBClock to avoid confusing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1940 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 09:27:49 +00:00
vanjeff 8569244ed1 1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
2. Added PcdComponentNameDisable and PcdDriverDiagnosticsDisable for UefiDriverModuleLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1936 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:11:58 +00:00
mdkinney ea1e4c10aa Set the stack alignment for X64 to 16 bytes per the X64 Calling Convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1933 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 06:44:15 +00:00
xli24 c9708dddc1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 6f19259b-4bc3-4df7-8a09-765794883524 2006-11-13 03:40:52 +00:00
vanjeff 0401b900ad added help text for PcdPlatformBusSpeed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1928 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 06:07:39 +00:00
mdkinney b5b60e8b49 Fix ALIGN_POINTER() macro. The pointer (p) passed in must always be converted to (UINTN) prior to performing math operations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1922 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:01:56 +00:00
mdkinney caae4de6b6 Add #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported CPU architectures. This value is sizeof(UINTN) for IA-32, X64, and EBC. It is 16 bytes for IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1920 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 21:26:29 +00:00
jtang12 a6b6ec4d58 Update processor socket type definition to comply with SmBios 2.5 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1916 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 06:42:39 +00:00
jtang12 e4a246f134 Changed definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1910 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:10:54 +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 b51f14f4d6 This check-in add Pci23.h, Pci30.h, EfiPci.h and take those originally put in Pci22.h to their proper position in the new files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1907 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 03:02:33 +00:00
xli24 38af355c85 Ia32/DivS64x64Remainder.c is not tool-chain specific, it supports both gcc and msft, so the ToolChainFamily="MSFT" description is incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1904 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 08:13:19 +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
qwang12 e0759a83b9 Add EfiGpt.h, ElTorito.h, Mbr.h header files which are for EFI GUID Partition table, ElTorito bootable CD fomrat and Legacy Master Boot Record format into Industry Starndard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1893 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 05:42:01 +00:00
xli24 29b89ff0c0 According to MDE Library specification, BaseIoLibIntrinsic Module only supports IA32 and X64, but the MSA description says it supports IA32, X64, IPF, and EBC. Now IPF and EBC have been removed from description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1892 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 03:35:22 +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
ajfish 0ffc5441a7 Updated EFAPI definition for x64 GCC. Original thinking was to add optional EFIAPI support to standard GCC. New thinking is to support EFIAPI as a seperate processor target. This is to reduce validation risk to the main line GCC. Update the definition and comments to match current thinking.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1883 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 18:26:48 +00:00
qhuang8 8aaf5a0d13 Remove the reference to non-exist file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1868 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 02:20:03 +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
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
jtang12 3fc556d665 Add definition for FB DIMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1825 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 05:25:25 +00:00
qhuang8 4bacc21072 Remove the library instance of BaseReportStatusCodeLibNull
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1823 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 04:38:50 +00:00
ajfish c993d0dac4 Did not check in new files correctly the first time!
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. 

Removed the need for processor specific code in the Runtime driver by using MDE Cache Lib. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1822 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 03:58:50 +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
ajfish b077fb7492 Removed duplicate PalCallStatic functions in different libraries. Moved ReadItc and InvalidateInstructionCacheRange to the BaseLib so other libs don't need .s files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1810 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 03:06:05 +00:00
ajfish cd4903c497 Removed duplicate PalCallStatic functions in different libraries. Moved ReadItc and InvalidateInstructionCacheRange to the BaseLib so other libs don't need .s files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1809 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 03:03:45 +00:00
jtang12 7f62acd2fa Added definition of SMBIOS type 15 - System Event Log.
Added some missing field to SMBIOS type 1 - System Manufacturer.
Added some missing field to SMBIOS type 0 - BIOS information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1801 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 03:17:29 +00:00
rsun3 3683e55034 Add two new data hub subclass related definitions per SMBIOS 2.4 spec.
1. memory device type for DDR2
2. System slot type for Pci Express

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1772 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 07:04:53 +00:00
qwang12 2193b507f0 DxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 03:39:55 +00:00
rsun3 2f8df87003 Fix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor is designed to be loaded to ecx:ebx but the high 4 byte of the divisor is forgotten to be loaded to ecx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1693 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 10:09:26 +00:00
bxing 73c47db8c7 Optimized HighBitSetXX() functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1689 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 08:45:59 +00:00
mdkinney 705d3a7756 Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1670 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:56:11 +00:00
mdkinney 9730cac8a1 Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1669 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:50:23 +00:00
mdkinney 32a4d5cecf Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1662 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:07:25 +00:00
mdkinney d8e5077483 Fix GCC build issue
Take advantage of some intrinsics from MSFT build tools


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1661 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:06:00 +00:00
mdkinney 6fe6627470 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@1660 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:04:24 +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 b7089db120 1.Fix .global issue in GAS (EdkT207).
2.Fix Label start with @ (EdkT208).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 10:05:26 +00:00
vanjeff 148ac238cc added ACPI_TIMER_FREQUENCY definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1577 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 09:15:14 +00:00
mdkinney 23086ba84c Optimize the size of the Base Library for the MSFT 32-bit tool chains by taking advantage of inline assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1567 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:04:40 +00:00
mdkinney b053781829 Add GLOBAL_REMOVE_IF_REFERENCED to the declaration of module globals in the Print Library that were still present in the final image even through there were no references to those module globals.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1566 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:01:18 +00:00
vanjeff a8e756dad0 add EFIAPI for those constructor funcitons declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1547 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:07:18 +00:00
vanjeff 34913f248c typecast some return values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 02:36:38 +00:00
bxing f23d790a79 Added an extra GDT entry to the GDT used by thunk code. SS register will always be loaded as flat segment before switching to 16-bit mode, since SS might not be always valid for NULL selector is allowed in 64-bit mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1541 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 16:04:47 +00:00
vanjeff 5117b83be8 update GetPerformanceCounterProperties() declare
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1518 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 01:10:51 +00:00
bxing ed9610eb9c Fixed a bug in WriteBackInvalidDataCache() that always flush cache lines even when the argument Length is zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1504 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-09 02:44:57 +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
jwang36 22a8f52f8e Added two #pragma to disable 4505 & 4206 warnings for MSFT compiler. This is for compiling source files with pre-compiled header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1442 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 01:43:14 +00:00
klu2 7085597507 Fix track EDKT106 & EDKT112: map LibPcdSetPtr function for PatchPcdSetPtr macro function defined in PcdLib library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1381 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 17:04:56 +00:00
bxing ddc316e240 Changed GetPerformanceCounter() to use the most efficient mean to unsigned extend an UINT32 value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1343 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 01:36:09 +00:00
bxing f094c270ee A workaround to a compiler bug that causes the high order 32 bits of GetPerformanceCounter() being indeterminate.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1336 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 09:32:26 +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
bxing 6e028650e7 Fixed a bug causing the high order double word of values returned by GetPerformanceCounter() became -1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1322 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 08:33:00 +00:00
klu2 ca844f3623 Continue to fix EDKT187.
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib.
In this patch. I remove original fixing and correct some MSA file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 16:23:46 +00:00
bxing 681dbac98c Added AsmSwitchStackAndBackingStore() to BaseLib.h for stack switching on IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1305 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:32:47 +00:00
xgu3 64ec22c0f1 Add boot script dispatch opcode 2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1292 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 07:23:37 +00:00
qhuang8 94f446c081 Add PcdPciExpressBaseAddress info to MdePkg.spd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1275 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 09:51:45 +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
yshang1 9136b0e0ba Add more comments in UefiDriverModelLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 05:18:48 +00:00
yshang1 af7964350b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1245 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-14 03:34:45 +00:00
yshang1 b059e41102 Add function headers in UefiDriverModuleLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1244 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 03:33:32 +00:00
ajfish 317f832ef8 Fixed bugs found when this code was ported into R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1240 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11 18:04:56 +00:00
bxing 3a5dcc063c Removed unnecessary MSR access in InternalX86Delay()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1228 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 04:42:10 +00:00
lgao4 a682ecebfe Sync this file with MiscSubClass spec and add some struture alias to use them more conviniently.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1226 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 09:45:32 +00:00
bxing cea9bda05a 1. Added ReadWriteBarrier() before and after each I/O read/write function.
2. Removed all ReadWriteBarrier() function calls in all MMIO functions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1224 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 06:38:30 +00:00
lgao4 fbea738a07 Move FileInfo.h, FileSystemInfo.h, FileSystemVolumeLabelInfo.h from protocol directory to guid directory, because these three files define the related GUID not protcol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1204 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 09:46:03 +00:00
xgu3 4dbd074e66 Modify dispatch opcode for standalone boot script executor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1199 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 07:51:56 +00:00
lgao4 3542a1ea2f Change PcdReportStatusCodePropertyMask default value from 0x7 to 0x6, don't print Progress Code Info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1186 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 11:32:57 +00:00
qhuang8 57315d7035 Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1176 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 04:33:35 +00:00
vanjeff 4a78c00aac 1. cleanup functions header in PeCoffLoaderEx.c
2. fixed link error in EnablePaging64.asm

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1175 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 03:19:19 +00:00
bxing eb227e96bd 1. Updated function headers for all assembly function
2. Optimized register usage in SetMemXX functions in all lib instances
3. Fixed a logical error in CopyMem for all lib instances


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1139 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 07:28:19 +00:00
lgao4 c941b270ea TeImage Signature should be got from Te pointer, not Pe pointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1136 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 06:08:00 +00:00
lgao4 da7dea581d Rename guid variable gEfiSmmPeiSmramMemoryReserve to gEfiSmmPeiSmramMemoryReserveGuid compatible with guid variable CName style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1122 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 13:01:53 +00:00
klu2 aa0dc7b430 Fix a warning issue under CYGWIN_GCC building:
A function cannot be declared as returning a data object having a volatile or const type, but it can return a pointer to a volatile or const object.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1121 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 12:25:28 +00:00
ajfish 236877a6a7 Added back safety check for PE/COFF image walking. I think the safety check is broken in some places (Linux) but we need to investigate more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1108 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:34:08 +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
bxing ebca816989 Added a 64-bit version of EnablePaging64() on X64. AsmEnablePaging64() is the transition code to switch the processor from 32-bit into 64-bit long mode and thus is typically linked with 32-bit images only. However, it's desired to link the transition code into a 64-bit image in some special cases. CPU driver is a good example among those.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1092 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:30:02 +00:00
bxing 452e6c77be Updated function headers according to latest MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1090 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 07:37:25 +00:00
bxing ed384ef31c 1. Updated declaration of timer functions according to latest MWG.
2. Updated coding style.
3. Updated the algorithm used in delay functions to handle timer counter wrap-around.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1089 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 07:33:02 +00:00
ljin6 59a6c17936 Add some comments for translator parameter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1085 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 10:37:42 +00:00
qhuang8 c4898a017e Fix a bug in UefiDevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1084 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 10:15:33 +00:00
qhuang8 9a557fb6c7 Remove the instance of BaseSmbusLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1076 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 12:55:55 +00:00
qhuang8 1f33a17ff1 Adjust coding style for MemoryAllocationLib.
Add function header for an internal function of PciExpressLib
Fix a typo in one comment of UefiLib
Remove BaseSmbusLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1075 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 12:55:05 +00:00
bxing 3f566587ae 1. Updated function headers in all assembly files.
2. Split x86LowLevel.c into a bunch of C files to make images linked with BaseLib smaller.
3. Fixed a few minor bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1066 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 08:47:38 +00:00
yshang1 f14bb97fa1 Change DxeRuntimeDriverLib name to UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1060 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:41:56 +00:00
lgao4 0647c9adf9 Remove BugBug in comments and adjust function header according to code style doc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1055 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 09:08:37 +00:00
vanjeff 151c1ccdcd Modified comment for gDs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1054 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 07:27:57 +00:00
vanjeff 9f73d38da4 added some comments in BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1053 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 04:00:59 +00:00
vanjeff bda7fbcc2f 1.Added EFIAPI for some assembly functions declare
2.Modified some functions header 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1052 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 02:48:06 +00:00
vanjeff 1ea5ca46c7 1. added functions header for BaseUefiDecompressLi
2. added some internal functions header for BaseLib
3. added EFIAPI for some internal assembly files declare

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1050 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 17:37:07 +00:00
klu2 ebfe209ec0 Add specific flag definition according to ACPI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1049 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 14:45:43 +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
klu2 4b9fc76f7b Fix track EDKT104: If a module use PCD, MSA of this module should use PcdLib libraryClass.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1034 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 14:31:03 +00:00