Commit Graph

536 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
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
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 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 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
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 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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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 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 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
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
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
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 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
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
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
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
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
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
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
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 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
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 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 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
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 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
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 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 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
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
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
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
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
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
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 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
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