Commit Graph

50 Commits

Author SHA1 Message Date
Eric Dong 55501e1351 Prevent EBDA area being overwritten, get the size info from the address 0x40E. If can’t get the size info, then use the default value for it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16216 6f19259b-4bc3-4df7-8a09-765794883524
2014-10-15 05:17:41 +00:00
Nikolai Saoukh cec6685c7d Both printed fields are 64 bit long for IA32 too. It is better to print them as such.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Nikolai Saoukh <nms@otdel-1.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16188 6f19259b-4bc3-4df7-8a09-765794883524
2014-09-29 08:48:24 +00:00
lgao4 db4d3fa114 Clean up the private GUID definition in module Level.
Signed-off-by: lgao4
Reviewed-by: rni2


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12385 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20 02:12:45 +00:00
niruiyu fd99d1a91d Fix UnixGcc build failures.
Signed-off-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 06:03:06 +00:00
niruiyu b68b78e66c Change DUET DxeIpl to use SerialPort instead of manipulating serial port directly.
Signed-off-by: niruiyu
Reviewed-by: jyao1

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11876 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23 08:31:18 +00:00
jljusten 01b024f16b DuetPkg DxeIpl: Send result of PrintValue to serial port
PrintValue now uses PrintString so its result will be sent to
the serial port in addition to the screen.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10951 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:51:32 +00:00
jljusten dcb428da9e DuetPkg: Move EfiLdr Handoff data to stack
The EfiLdr image may be overwritten later in the boot process.
This can lead to the Handoff structure being corrupted before
DxeIpl is finished with it.

To help prevent this, we move the Handoff structure to the
stack, and in DxeIpl make a copy of it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10950 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:51:21 +00:00
hhtian b1f700a859 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:39:50 +00:00
niruiyu 4903c013bc Change the PM Timer RegisterBitWidth according to the Flags
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10231 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-11 09:33:40 +00:00
xli24 f7c4d743c9 Remove over-specified dependencies on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10159 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 03:21:43 +00:00
klu2 91a6db797c Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:52:10 +00:00
niruiyu d555d90ff7 Change DUET specific HOB structure to make all HOB 8-byte align to fix the PI-SCT failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10066 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 03:28:18 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
niruiyu 0e047a2a83 Port AcpiResetDxe from EDK to EDKII to enable reset function on DUET above legacy free platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10034 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 09:30:01 +00:00
klu2 9612f0c23c Add license header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9955 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-09 07:57:20 +00:00
mdkinney 4a1db20fac Remove unused definitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9857 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 21:44:35 +00:00
eric_tian e843cdd7d9 1. update bat file to generate right bootia32.efi/bootx64.efi file according to command line parameters.
2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present!
3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9794 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-19 08:28:28 +00:00
vanjeff e5d1b4f48b add correct [Depex] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9058 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-12 06:55:30 +00:00
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
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 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 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
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
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
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
qhuang8 3fd6fdeb0b Remove PeRemove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7808 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 09:16:13 +00:00
klu2 439c34f3fe Fix build broken for variable's header modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7734 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:15:09 +00:00
eric_tian 3709c4cd5b 1. delete Include/Guid/VariableInfo.h
2. move VariableFormat.h into GUID directory and change the “Signature” field of the VARIABLE_STORE_HEADER to gEfiVariableGuid value.
3. merging VARIABLE_INFO_ENTRY structure into the new Include/Guid/VariableFormat.h
4. change gEfiVariableInfoGuid into gEfiVariableGuid.
5. modify FDF files to use new guid value instead of the original signature.
6. all code related to signature is changed to use guid value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7728 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 05:35:08 +00:00
qhuang8 204d0e01f6 Fix build break:
Remove unused NvDataFvHob
Replace it with NvDataFvGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7650 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 12:28:22 +00:00
qhuang8 9008db4a28 Clean up DxeIpl:
1. Remove the assembly by using IoLib & BaseLib in MdePkg
2. Refine code to pass CYGWIN GCC tool chain build 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7404 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:48:56 +00:00
klu2 62d8cc5fbc Add GCC assember for DxeIpl module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7396 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 19:09:21 +00:00
klu2 ef03248cb5 Add GCC assember for DxeIpl module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7395 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 19:09:11 +00:00
klu2 a4f31dafa7 Remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7196 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:18:15 +00:00
klu2 e25803f0f0 1, Enable USB boot for R9's Duet.
2, Work around an RTC issue for DUET under vmware environment.
3, Enable early serial status code output for DxeCore module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7187 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 03:25:24 +00:00
qhuang8 eea53ce14d Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7049 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:31:52 +00:00
xli24 3a0a147375 Clean DuetPkg for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6836 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:56:35 +00:00
klu2 e188a60934 Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 17:59:34 +00:00
jji4 e56dd2ce13 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6302 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:17:19 +00:00
eric_tian d8bee43ce4 Fix build issue in linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5636 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 04:53:33 +00:00
mdkinney 5f87392966 Fix build breaks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5586 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-29 07:30:20 +00:00
klu2 df166ce574 1) DxeIpl should not use UefiDriverEntryPointLib
2) Fix incorrect judgment for ACPI table in legacy region.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5177 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 09:38:31 +00:00
klu2 eb16e24041 Add 8254 module and fix the hob operation for R9 library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5150 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-29 07:50:58 +00:00
klu2 9dce17adb7 Fix a bug for producing status code instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5141 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 09:36:18 +00:00
klu2 ff514e2962 Add more debug print message and fix some issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5135 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 05:23:22 +00:00
klu2 f40bbc08c8 Apply david's patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 04:14:35 +00:00
klu2 c69dd9dfad Porting Duet module from EDKI to EDKII
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5076 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 05:48:13 +00:00
klu2 91aac0e466 Rebase the duet module with new HII modifications.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4927 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 09:07:41 +00:00
klu2 18b8485750 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4910 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:11:21 +00:00
klu2 ca162103da Initialize DuetPkg ...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4416 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-21 08:48:38 +00:00