Commit Graph

137 Commits

Author SHA1 Message Date
xli24 2d835bff29 Update gHobList in DXE core when GCD relocates hob list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3540 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 05:45:55 +00:00
vanjeff 93b0fbc8a1 Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
Changed old event definitions reference to these new event definitions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 08:54:54 +00:00
qhuang8 06fb8ffd07 MdePkg:
1. Add AcpiTable & ComponentName2 Protocol definitions.
2. Add HardwareErrorVariable GUID definition.
EdkModulePkg: 
1. Update DxeCore to let InsatllConfigurationTable() signal the event group whenever a table entry is inserted, modified or deleted.
2. Update ConPlatform to let Simple Text In and Out  not share a stop function .

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2625 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-04 09:36:42 +00:00
lgao4 7689c0808e Remove autogen.h from all dxs files, because autogen.h file has been included by global compiler option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2574 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-18 03:58:23 +00:00
qhuang8 56056c7cd8 1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for data transfer.
2. PxeBc: Fix array out bound error and add code to check the validation of the IP and subnet mask addresses.
3. DxeIpl: Make sure FV HOB is not corrupted by checking FV signature.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2570 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-16 05:20:06 +00:00
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
xgu3 5d10269c06 To fix
USB Keyboard driver should add F11, F12 support
DxeIpl should not hardcode 36bit address

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2543 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:04:12 +00:00
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
qwang12 e2180ee88c Add return EFI_INVALID_PARAMETER if pointer type parameter for UEFI and Tiano Decompress protocol function is NULL. The check is necessary. The protocols is built based on library instance of the Decompress Library. The Library class in MDE library spec 0.60e only define to do ASSERT for NULL pointer input.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2501 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-22 10:36:04 +00:00
klu2 c91c4f470e Need no zero pool for improving performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2500 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-22 09:34:49 +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 ce8bd86e8f 1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
2. Removed #ifdef EFI_SPECIFICATION_VERSION from all c files for all modules
3. Added comments for file VariableWorker.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2495 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 01:27:01 +00:00
qwang12 b06af5d71e Change the EfiAquireLock with RaiseTPL as the call to Boot Service UnloadImage can be nested in another call to UnloadImage. So RaiseTPL is proper (EfiAcquireLock will ASSERT when these this API are nested in the call chain) in this situation to server the sychronization purposes.
The same change has been done to Boot Service Exit with the same reason applied.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2486 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-19 09:05:41 +00:00
qwang12 d126eaecb0 Add a lock to protect the critical region in UEFI Boot Service API: Exit() and UnloadImage from re-entrance from different TPL level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2437 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 06:26:10 +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
vanjeff 59e9a3659f 1.replace macros EFI32 with MDE_CPU_IA32
2.replace macros EFIX64 with MDE_CPU_X64
3.replace macros EFI64 with MDE_CPU_IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2411 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 05:38:05 +00:00
qwang12 bc2693a840 Clean up MSA file of the checked in modules which include:
1) remove unused library class
2) remove unreferenced GUIDs


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2401 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 07:00:31 +00:00
lgao4 d6992908a6 Make DxeIpl loop find the required section type in peiprocessfile functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2395 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 08:30:53 +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
xli24 7b7f863bfa Fix an issue in page allocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2364 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 03:52:20 +00:00
tgingold 2f714ebf9a fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2362 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:26 +00:00
tgingold 84e73ac219 fix a typo in a comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2361 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:37:03 +00:00
jchen20 420c3edfc6 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2358 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:52 +00:00
jchen20 78bd039b86 Fix the runtime memory map change issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2357 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-08 05:47:18 +00:00
xli24 3401c092e4 Make EDK Module Package pass Intel IPF compiler with /Ox switch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 02:50:13 +00:00
lgao4 ca43e86ee7 Add PeiCore function declaration in PeiMain.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2344 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-01 03:56:34 +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
xli24 92dda53e9f Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 04:57:46 +00:00
xli24 cc08c54944 Remove private data structure in PEI core entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2318 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 01:49:18 +00:00
xli24 1cc8ee7861 Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:15:58 +00:00
bbahnsen fae0da0d2c Fix several capitalization issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 19:59:43 +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
tgingold b28d0bd1d2 Fix filename case (Ipf instead of ipf)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2244 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 23:19:14 +00:00
tgingold 1e5fcd5f00 Use / as path separator
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2243 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 23:18:19 +00:00
xli24 957407060b Display error message when HOB creation fails due to lack of memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2220 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 08:56:38 +00:00
zliu3 66d8c20686 1) Changed the file including as '#include "Ipf\IpfCpuCore.i"' for Intel compiler supporting
2) Added the Intel IPF Compiler setting in the tools_def.template

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2195 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 14:13:56 +00:00
bxing a3ab2a47d9 Integrated FV memory map into R9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2158 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-31 09:55:05 +00:00
lgao4 af9e69ff19 Add debug info when allocate pages failed in PeiMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2141 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 10:43:20 +00:00
lgao4 e75ac0cce3 Add debug info when decompress failed in DxeIpl and allocate pages failed in PeiMain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2140 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 10:00:18 +00:00
jwang36 1d67f00e73 Fixed the issue in which local variable "Status" is used but not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2132 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 09:56:35 +00:00
qhuang8 e2d56e0a59 Optimize to preallocate big bigs to avoid latter allocations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2131 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 08:11:47 +00:00
rsun3 3d109491d6 In original DxeIpl64 PEIM, Creating page table is performed before sending End Of PEI Phase signal in order to improve performance. But after merging DxeIpl and DxeIpl64, Creating page table is performed after sending End Of PEI Phase signal, which has great negative impact on Woodcrest based platforms, which rely on turning on PEI FV cache to compensate Woodcrest's bad flash access performance.
This fix revert to the way of original DxeIpl64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2129 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 03:13:56 +00:00
bbahnsen e641608bcc Remove some non-existent files from msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2111 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 00:09:48 +00:00
mdkinney ce4bed083d Remove commented out inclusion of SalApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2110 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 22:46:25 +00:00
mdkinney 020a9a5b78 Only include SAL related definitions if the CPU Arch is IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2109 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 20:03:44 +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 4629ca40b7 Fix the bug that could make gMemoryTypeInformation unavailable when gMemoryTypeInformation is filled to EfiMaxMemoryType.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2080 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 02:06:19 +00:00
lgao4 4afc6a7bf2 (1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:32:26 +00:00
bbahnsen 19ca33cba1 Fix static data initializer syntax for array of union.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2043 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 19:03:58 +00:00
zliu3 53f491d326 Added the StatusCode protocol installation for the IPF architecture; removed the CapsuleArchProtocol checking for the IPF architecture
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2036 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 13:29:14 +00:00