Commit Graph

272 Commits

Author SHA1 Message Date
gikidy d569cbb0d1 Fix system memory map issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8685 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 05:47:12 +00:00
klu2 ea7beacbea Fix build warning of implicitly pointer casting
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8651 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 19:12:35 +00:00
eric_tian 86608df412 remove the self-implementation on checksum() in this module by using BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8638 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 02:32:30 +00:00
klu2 e88f305671 This patch includes:
1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code.
2) Correct the shell binary file path which is changed by recently.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-22 03:01:53 +00:00
gikidy 7e7e7fec0a Corrected bad declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8553 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-15 05:15:51 +00:00
lgao4 c2bd20a514 Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid,
gEfiMiscProducerGuid, which are not consumed by any module. 
They can be replaced by gEfiCallerIdGuid. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8540 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:09:51 +00:00
mdkinney 20fac4432d Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8492 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:43:47 +00:00
mdkinney 0c1e1762b3 Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode.  That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8488 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:13:55 +00:00
mdkinney df93b0ff9a Move gEfiPciOptionRomTableGuid from IntelFrameworkModulePkg to the DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8483 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 21:32:38 +00:00
mdkinney bc61c01ae5 Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8438 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 22:42:58 +00:00
mdkinney fd89439238 1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.  
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8433 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 21:18:30 +00:00
gikidy ae3d1e91ef Replaced ASM_GLOBAL with .global, and add start label for some files to avoid link warnings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8416 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 03:25:36 +00:00
mdkinney b5a8e95c5e This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update all implementations of ReportStatusCodeExtractDebugInfo() to use an argument of type BASE_LIST instead of VA_LIST.
2) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8407 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:54:11 +00:00
rsun3 53fafef5c6 change ISO 639-2 language codes to RFC 4646 codes in .UNI files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8380 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 09:57:27 +00:00
mdkinney 94853f20f3 Terminate the Capability List traversal if the Capability Pointer is less than 0x40, or the Capability Pointer is not aligned on a 32-bit boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8375 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 22:25:38 +00:00
xli24 ced10e2ed2 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:26:52 +00:00
xli24 d5172f911d 1. Remove .extern from GCC assembly.
2. Define macro for .global/.globl in GCC assembly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:42:59 +00:00
qhuang8 e779654316 Remove the duplicated EdidActive.h & EdidDiscovery.h in DuetPkg. MdePkg has already defined these two files with the exactly same contents.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8257 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 01:23:49 +00:00
gikidy 754f83b752 Delete useless files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8252 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 09:46:04 +00:00
gikidy 11d909a4b1 1. Open USB related and logo support FVs, remove some useless FVs.
2. Update PostBuild.sh for LZMA support under Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8250 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 09:03:11 +00:00
gikidy 8b85412a1d Ported LZMA to DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8245 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 03:44:47 +00:00
qhuang8 de42c02756 Fix a bug that L"PlatformLang" must be a null-terminated ASCII string according to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8233 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 05:56:36 +00:00
gikidy 607e91f5a2 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8221 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:00:27 +00:00
eric_tian 21946ba86b fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8203 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 08:05:00 +00:00
eric_tian a24b4043cd improve platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8197 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-29 02:42:01 +00:00
gikidy 986825f093 Add a note for Duet build under Linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8127 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 02:33:08 +00:00
gikidy 0141c7019c Steps for build Duet under Linux environment added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8121 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 06:14:23 +00:00
lgao4 c1a83b5325 Remove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8120 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:47:02 +00:00
klu2 72be1c7a37 Remove macro usage of EFI32, EFI64 in duet package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8100 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 06:27:51 +00:00
klu2 6c8e40caa9 Fix BiosVideo thunk bug about invalid legacy region area.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8099 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 04:46:18 +00:00
klu2 f8b30ae529 add return if no valid architecture
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8094 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:36:20 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
vanjeff 05c7cb5d8e Per UEFI spec, SetMode() should clear screen anyway with black color.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8081 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 08:40:40 +00:00
lgao4 87cac63ddd Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8067 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:12:19 +00:00
qhuang8 f05b1c14ec Fix the bug that debug output fails to print hex value to screen. Remove module internal SPrint() and use UnicodeSPrintAsciiFormat() in print library instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8057 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-10 06:52:02 +00:00
klu2 8141eea5fa Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8043 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:19:15 +00:00
klu2 c0e741ef23 Add comments for introducing startup sequence for DUET boot disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8042 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 06:16:52 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
klu2 15fcbcbee0 Remove some drivers to save image size
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8001 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 08:53:13 +00:00
gikidy 6976b5cdf8 Add code for floppy format process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7993 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 06:38:37 +00:00
rsun3 3751c4cf94 Retire FrameworkHiiLib library class. Remove FrameworkHiiLib library instance now and will be added later if necessary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7988 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 02:41:33 +00:00
klu2 8941b53e59 Fix building warning for mismatching paramter pointer type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7981 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 06:04:55 +00:00
klu2 bda1bdbbf0 Add more comments for override PCD and library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7962 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 15:18:10 +00:00
klu2 d6ca2c1eb5 1, cleanup DSC file, use NULL library instance for DebugLib and
ReportStatusCodeLib in global commen section. And use overriden library 
instance in DxeCore for sample.
2, cleanup FDF file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7960 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 14:58:34 +00:00
qhuang8 40b499c613 Add header file "SerialStatusCode.h" inclusion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7956 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 14:29:29 +00:00
klu2 d26b17e3c7 Also output information to serial
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7952 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 09:10:47 +00:00
klu2 3ffa0f1f8a Fix name conflict for GetVariable defined in UefiLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7947 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 06:48:03 +00:00
gikidy 536c563dd9 Add a parameter for process boot disk create.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7933 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 09:23:21 +00:00
klu2 3a4e990ec4 Remove single module's compression from FDF. We could get smaller size when compressing whole image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7903 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-18 06:21:27 +00:00
gikidy 7bc4989f1d Fix build break for EFI_SMBIOS_TABLE_GUID name has been changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7894 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 02:07:29 +00:00