yshang1
4ca0d419a8
To cleanup typo error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2577 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-18 09:32:11 +00:00
yshang1
8350b26d43
To fix the GP convert issue, which results in the GP of registered EsalServices is not correctly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2576 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-18 09:27:05 +00:00
xli24
a0586cb857
Fix the issue that Windows Server 2003 installation fails on Tiger.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2575 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-18 08:32:27 +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
vanjeff
caecffd105
1. Fixed one bug in UpdateDataCheck().
...
2. Reduce one time notify function calling.
3. Fix comments bug in resources degrade function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2573 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-17 13:31:47 +00:00
klu2
9035a49744
Fix the inconsistent guid for terminal driver which is used in GeneralBds libary.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2572 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-16 08:10:56 +00:00
qhuang8
9887e0d069
Use siaddr as the PXE server address first and use option 54 when siaddr is NULL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2571 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-16 05:55:32 +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
vanjeff
bbee9482d7
Fixed some issues for IA32 architecture platform build.
...
1. added UINTN typecast for shift.
2. updated Nt32.fpd and Unix.fpd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2564 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 02:23:10 +00:00
vanjeff
98419ef4b9
1. Added EdkPciIncompatibleDeviceSupportLib in EdkModulePkg, this library is used for PciBus driver and includes 3 Incompatible device lists.
...
2. Used EdkPciIncompatibleDeviceSupportLib in PciBus driver.
3. Redirect all Pci Configuration access to new APIs added in PciLib.c for PciBus driver.
4. Added one PCD PcdIncompatibleDeviceSupportMask in EdkModulePkg.spd to provide mask of PCI devices incompatibility check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2562 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-12 09:07:01 +00:00
klu2
fdbc81c8cd
Fix run broken issue for EdkUnixPkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2560 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 09:19:16 +00:00
xli24
735561c27f
Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocation services in high TPL level.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2556 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 03:15:15 +00:00
vanjeff
396514f590
removed ICC compile issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2553 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-10 07:10:28 +00:00
vanjeff
9c198b4066
Perfected MSA files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2552 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-10 05:09:57 +00:00
lgao4
26aa0c2ff5
Clean up the following module msa files, they are three networt and two PCD modules.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2551 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 07:37:43 +00:00
qwang12
5101d837ed
Remove 3 library instances: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibConOut and EdkUefiDebugLibStdErr in EdkModulePkg.
...
1) EdkUefiDebugLibConOut, EdkUefiDebugLibStdErr should be replaced by respective library instance in MdePkg
2) We will have a replacement implementation for EdkDxeDebugLibReportStatusCode to emulate the EDK I implementation with a gEfiDebugMaskProtocolGuid which allows Developer to Set debug level using SHELL command err.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2550 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:51:50 +00:00
klu2
39d03acf63
A typo in comments that alignment should be 8 for IPF
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2549 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:39:37 +00:00
klu2
72c11e3aaf
Change the alignment of variable from 2 back to 1 for compability of test case.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2548 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 03:36:37 +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
klu2
18fda0cec0
The ALIGNMENT definition has been moved to common header file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2545 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:27:56 +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
lgao4
8d8daecb54
Clean up the following module msa files, they are edkmodule package ftwlit, Crc32SectionExtract, NullMemoryTest, PeiMemoryTest, MonotonicCounter modules.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2542 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:00:46 +00:00
klu2
20798fc576
1) Change the alignment from 1 to 2 for IA32 and X64 arch.
...
2) Move ALIGNMENT macro to common variable.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2538 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 08:12:30 +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
qhuang8
73ebf379a4
1. Advance IP in case of Break(3) in breakpoint exception
...
2. Add stack management algorithm to avoid pool allocation during EBC instruction interpretation.
3. Add multi EBC image support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2519 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-30 08:44:55 +00:00
qhuang8
02dab42847
Variable driver: add checking to make sure flash is properly initialized
...
PxeBc driver: fix the issue that the giaddr is wrongly interpreted to "gateway address"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2515 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 07:48:48 +00:00
vanjeff
c8dd259d61
1. Use MemoryAllocationLib to replace boot services memory services functions in EdkModulePkg.
...
2. Added NULL pointer check before calling FreePool () to fix bugs when free memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2513 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 06:58:38 +00:00
xgu3
4b2e068430
[Source] Useless assigning statement in ata and atapi
...
NT32, WinNT GOP PixelFormat should be BltOnly
NT32, SimpleTxtIn should add F11, F12 support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2511 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 03:42:03 +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
klu2
203cff9245
add new blank line for GCC build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2508 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-27 05:18:34 +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
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
klu2
54be95a116
fix the build broken issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2497 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:35:53 +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
6dcb94c713
Change the TPL lock level to EFI_TPL_NOTIFY. Variable Service is called in ResetSystem runtime service. As there is no restriction stated in UEFI spec about TPL restriction for ResetSystem, so SCT does test it under NOTIFY level. This fix can be temperary. We may revert it back after discussion with Architects..
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2492 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-20 10:04:54 +00:00
vanjeff
9cc655d5a9
Removed #ifdef SNP_DEBUG and used debug lib to output information.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2490 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-20 06:59:54 +00:00
vanjeff
3aaddf9276
1. Removed #ifdef SNP_DEBUG and used debug lib to output information
...
2. Rename PcdPlatformNoCsmSupport to PcdPlatformCsmSupport.
3 Removed #ifdef EFI_NO_CSM and used PcdPlatformCsmSupport.
4. Removed #ifdef ALIGNMENT from C Variable.c and added 2 files Variable/Pei/Ipf/VariableWorker.c and Variable/Pei/VariableWorker.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2487 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-20 02:44:09 +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
klu2
4bdeaa6bb4
Cleanup the msa for PeiVariable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2485 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 09:31:08 +00:00
qhuang8
3c17ed18fa
Fix a critical bug: When reading block succeeds but detecting MBR fails, it should return error code instead of EFI_SUCCESS.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2483 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 09:24:10 +00:00
klu2
bb60dd97af
Fix the issue that the variable Unicode string may be not aligned on 16-bit boundary in flash (it dependent on ALIGNMENT macro in EdkModulePkg\Universal\Variable\Pei\x64\VarMachine.h). The unalignment Unicode string will lead assert of StrCmp, StrCopy, StrLen function in Mde library.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2482 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 09:12:20 +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
lgao4
6626ad113e
Perfect the msa of the following modules, DiskIo, Partition, English and Ebc.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2480 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 02:33:49 +00:00
vprabhal
8f6b43f235
fixed a build error with Intel IPF compiler
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2479 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 00:30:52 +00:00
klu2
137749b7ed
Fix the issue that HiiGetForms does not return correct BufferLength
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2474 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 07:08:48 +00:00
klu2
f4e8c17bc2
Fix the issue of Wide char help strings cannot break into multiple lines correctly
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2473 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 06:30:33 +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
vprabhal
aa156393bf
changed the guid assignment from constant array to hi and low UINT64s (Intel compiler was using a global variable to assign an array which is not OK at run time)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2469 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14 23:45:03 +00:00