Commit Graph

205 Commits

Author SHA1 Message Date
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
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
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
qwang12 68154a82a8 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@2459 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14 02:15:36 +00:00
qwang12 9db9711c41 pair RaiseTPL with RestoreTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2455 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-13 07:45:05 +00:00
qwang12 1a682c8c37 Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid and gEfiSimpleFileSystemProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_CALLBACK level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2450 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 09:58:28 +00:00
qwang12 a2fa23fee1 Resolve the build break caused by changes to DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2446 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 09:30:08 +00:00
qwang12 17fb73c8e1 1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 07:25:58 +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
lgao4 9778870d04 Correct APPLICATION_EFI ffs key file type from EFI_FV_FILETYPE_DRIVER to EFI_FV_FILETYPE_APPLICATION, and remove depex section from application ffs layout.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2417 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 06:25:35 +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
klu2 c3ebca2cf3 The token for PERF_END macro is CHAR8 but not CHAR16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2407 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 03:24:10 +00:00
vanjeff 4dcf1febf9 clean up MSA file and sync FPD file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2404 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 06:39:39 +00:00
vanjeff 7f0ceb225d clean up MSA/SPD files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2403 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 06:25:05 +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 a25b26bbb7 Remove the combo library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2379 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 05:01:06 +00:00
qhuang8 7aa2023efa Split Nt32OemHookStatusCodeLib to PEI/DXE instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2378 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 05:00:26 +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
xgu3 c7916981cc To fix,
cd ...... works unnormally in shell
USB CBI1 driver has no component name protocol 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 08:35:57 +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
lgao4 b4fd460a67 Nt32TimerLib doesn't support IPF, X64 and EBC, I remove them from this module arch list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2308 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 02:59:51 +00:00
jwang36 e3cc406130 - Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR}

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:25:02 +00:00
bbahnsen 0aa050f014 Fix up file paths.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2302 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 21:33:51 +00:00
qhuang8 8b018de64f Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2273 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 08:04:03 +00:00
xgu3 2bbf72b0ab Fix the issues,
1. NULL Pointer Errors in Variable.c
2. consoleoption Null Ptr Error
3. bootmaint Null Ptr Error
4. EFIAPI missing Crc32SectionExtraction.c  


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2252 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 02:57:57 +00:00
xli24 d02ea95873 Update video card preference policy, together with some memory leaks in Generic BDS Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2234 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 05:34:49 +00:00
xli24 0e7bfce8d0 BDS code calls Hii->FindHandles() with hardcoded length.
New code provides function BdsLibGetHiiHandles() in generic BDS library, which detects actual necessary memory, allocates memory, and finds handles as output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2216 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 06:37:39 +00:00
lgao4 741fb36417 Add dependency for RealAsm file build rules and Use the module name in place of macro STRING_ARRAY_NAME
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2205 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 03:00:37 +00:00
qhuang8 20515cd1aa Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those Unicode String names, which are forbidden to pair with gEfiGlobalVariableGuid according to newest Uefi Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2145 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 05:16:21 +00:00
wuyizhong 72b695f33b Migrate GOP driver from R8.6 for NT32. Add a new PCD "PcdWinNtGop". Setting NT32 platform using GOP driver instead of UGA driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2137 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 02:26:02 +00:00
xli24 4ef4e1eab5 Original BdsLibMatchDevicePaths() excludes end node when comparing 2 devices paths. When a short device path is the part of a long device path, the function would mistakenly recognize them as same device paths.
So it should compare the entire device path, including the end node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2099 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 05:23:10 +00:00
qwang12 7736526c9e 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2095 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 07:03:04 +00:00
qwang12 6874dbd0e2 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:11:47 +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
xli24 c587fa4b28 Support adding boot option from removable media, and removing invalid EFI boot option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2078 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 07:33:23 +00:00
qhuang8 060919cc05 Do not clear debug register. New performance code does not use Debug register to log performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2077 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 07:32:20 +00:00
xli24 02918ed0ab Let specify GUID value for GUID-defined FV region, and remove potential dead loop in Nt32 package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2065 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:02:54 +00:00
qhuang8 477b82766f update fpd to add PcdDxeIplBuildShareCodeHobs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2028 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 08:03:15 +00:00
yshang1 f2d16cde5a Fix bug to support Nt32Pkg source level debug.
MS-LINK would not generate .edata section with /SUBSYSTEM:Extensible Firmware Interface option, so NtPeCoffLoader can not retrieve driver entry by GetProcAddress().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2020 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:55:23 +00:00
qhuang8 78671f585c Update DxeIplPeim setting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2019 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:14:28 +00:00
bbahnsen ba2c737528 rename library to Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1996 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 17:17:04 +00:00
qouyang b609c89b77 Fixed EDKT419.
Removing C Pre-Processing from VfrCompile Tool.
Now the input file for VfrCompile tool should be *.i file which was preprocessed by compiler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1964 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 10:19:07 +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
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
klu2 f588bef047 Add comments for all file tagged with "ToolCode="DUMMY"".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1939 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 08:39: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 e7e9595aaf Remove hard coded constant of 15, and use CPU_STACK_ALIGNMENT instead
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1921 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:00:40 +00:00
dtang2 9e0e49fc76 Bug fix for "Tiano BIOS needs to implement an automatic reboot when BIOS settings are changed"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1913 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 03:12:19 +00:00