Commit Graph

53 Commits

Author SHA1 Message Date
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 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
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
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
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
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
dtang2 7228815241 Bug fix for "Unplug U Disk during exploer using File Explorer cause tiano halt"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1906 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 02:36:29 +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
dtang2 cb44bbdb8e 1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses AcpiReclaimMemory";
2. Bug fix for "[FT] in new BDS, add a long item in Boot Option will cause an empty line appear";
3. Bug fix for "In "SetBootNextValue" page,description does not display properly"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1889 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:40:21 +00:00
lhauch 169c7e46b3 Fixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case in the comment fields
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1879 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 15:58:57 +00:00
lhauch a0a1e5aa35 Fixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case in the comment fields
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1878 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 15:58:02 +00:00
vanjeff 038693298e rename ACPI, PCI, END and LPC to DP_ACPI, DP_PCI, DP_END and DP_LPC, for ACPI, PCI, END and LPC are too generic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1827 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 08:30:24 +00:00
mdkinney c4bbb32b30 Fix VS 2005 compatibility issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1668 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:13:51 +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
vanjeff 61249ae523 Merger DriverBinding and ComponentName into one <extern> section for all *.msa files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:25:07 +00:00
lgao4 0992e55989 changed EdkModulePkg GUID from the original B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1552 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:32:31 +00:00
lgao4 8cc59d2c51 Move the generic ConPlatform module from EdkNt32Pkg to EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1524 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 05:03:05 +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
wuyizhong 35a9542410 Remove #include STRING_DEFINES_FILE from C file. Using ForceInclude to include ${BASE_NAME}StrDefs.h header file. Remove flag /DSTRING_DEFINED_FILE=${BASE_NAME}StrDefs.h. Move flags /DSTRING_ARRAY_NAME=${BASE_NAME}Strings from FPDs to BuildMacro since this flag will be used only unicode files exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1311 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 09:45:22 +00:00
klu2 eefb8b0559 Fix
1) the PCD value for PcdWinNtFileSystem in Nt32.fpd file,
2) help text for PcdWinNtVirtualDisk in EdkNt32Pkg.spd
3) the value for PcdWinNtPhysicalDisk in Nt32.fpd file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1309 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 08:21:14 +00:00
xgu3 4224ac2087 Fix BDS boot from file . and .. fail assertion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1237 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 12:53:55 +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
jwang36 3fc9d866c4 Enforced case-sensitive on the file names;
Corrected file and/or path names in some msa files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@949 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:21:14 +00:00
klu2 970af4d360 Roll back my original change, someone check in self's code lead my before's check in lost.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@940 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 02:17:22 +00:00
lgao4 e42dab898f Add missing files(uni) in this msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@933 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 00:31:45 +00:00
qhuang8 1fe4ef1bd8 1. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.
2.	Update .msa files to add some missing files files in MdePkg 
3.	Add Help text to Mde Library related PCDs.
4.	Fix some bugs in CpuId.S and CpuIdEx.S.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:15:40 +00:00
yshang1 7fda265d2f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@910 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 11:15:11 +00:00
alfred 15f3b1d49d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@907 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:43:02 +00:00
bxing 7867eb23e8 Updated <Abstract> and <Description> sections in MSA files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@900 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 09:20:21 +00:00
klu2 f7ba355582 Fix the <HelpText> for PCD used by EdkNt32Pkg and EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@891 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:33:02 +00:00
klu2 6cb11bff40 Add reference for all unicode file into MSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@886 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 03:09:26 +00:00
klu2 33900fd703 Remove unused code for misc sub smbios table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@883 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:56:44 +00:00
lgao4 5094fb09f8 Add necessary files (such as *.h) in module msa and remove unused msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@882 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:00:30 +00:00
qouyang 53b8619385 Change UINAME to CName of GUID/PPI/Protocol in all Msa file and change tool to support it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@863 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:14:25 +00:00
lgao4 15b06e58b0 Redefine SPEC and Release Version to 0x20000
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@826 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 14:37:11 +00:00
jwang36 44050d53af Obsoleted by new schema and new build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@821 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 09:28:33 +00:00
qhuang8 add13dc217 DebugLib:
Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info.
	Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout.
	DevicePathLib:
	Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated.
	PeiServicesLib:
	Adjust coding style and fix a minor comment error.
	PciLib:
	Adjust assert() condition to sync with MWG 0.57
	BaseMemoryLib:
	Adjust assert() for ScanMemXX (), ScanGuid()
	Rename UefiMemoryLib to DxeMemoryLib
	PrintLib:
	Change the return value of all print services to exclude the NULL-terminator.
	Misc:
	Slightly adjust the coding style in hob.c in PeiCore module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:17:04 +00:00
klu2 5dc355398e Modify MSA file for correcting <TokenSpaceGuidCName>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@713 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-02 19:09:30 +00:00
jwang36 5b2a7957d9 removed unnecessary name space declarations in some top level elements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:31:48 +00:00
wuyizhong 2d52720093 Change NT32 to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@678 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:51:10 +00:00
qhuang8 24e25d11c0 • BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
	Modify some defects in function header.
•	PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
•	Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
	Remove tabs in all .c and .h files in MdePkg.
	Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
	Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@626 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 10:18:28 +00:00
qwang12 c2155f6576 Remove the dead files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@610 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 09:07:36 +00:00
qwang12 58f1099f3d 1) remove some dead code from WinNtBusDriver.c
2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec.
3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled.
4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java.
5) Opimized to merge elements in all tables in PCD database for make the code compact.
6) Did a tighter check on how dynamic PCD entry is referenced in each module.
7) Update the PCD driver/PEIM and PCD database generation verion to 2.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 04:30:23 +00:00
klu2 95945c7635 Transfer old <PCDs> in MSA to <PcdCoded>:
1) Add <PcdCoded> definition for library module SA in transition schema.
2) Add <PcdCoded> in all MSA instead of original <PCDs>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 15:11:33 +00:00
qwang12 2a505eac61 1) Sync PcdPpi guid with PCD arch spec.
2) Correct macro PatchPcdSetPtr


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 12:03:36 +00:00
lhauch 54de7486cf Updated MSA by putting Specification element at the end of the header section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:42:12 +00:00