summaryrefslogtreecommitdiffstats
path: root/DuetPkg/EfiLdr
Commit message (Collapse)AuthorAgeFilesLines
* DuetPkg: Remove DuetPkgShenglei Zhang2018-12-0614-2757/+0
| | | | | | | | | | | | | | | DuetPkg depends on Legacy BIOS to provide a UEFI environment. It was invented in the era when UEFI environment is hard to find. Since now UEFI is very popular in PC area, we could stop the official support of this package and remove it from the master. https://bugzilla.tianocore.org/show_bug.cgi?id=1322 Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* DuetPkg: Removing ipf which is no longer supported from edk2.chenc22018-06-291-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing rules for Ipf sources file: * Remove the source file which path with "ipf" and also listed in [Sources.IPF] section of INF file. * Remove the source file which listed in [Components.IPF] section of DSC file and not listed in any other [Components] section. * Remove the embedded Ipf code for MDE_CPU_IPF. Removing rules for Inf file: * Remove IPF from VALID_ARCHITECTURES comments. * Remove DXE_SAL_DRIVER from LIBRARY_CLASS in [Defines] section. * Remove the INF which only listed in [Components.IPF] section in DSC. * Remove statements from [BuildOptions] that provide IPF specific flags. * Remove any IPF sepcific sections. Removing rules for Dec file: * Remove [Includes.IPF] section from Dec. Removing rules for Dsc file: * Remove IPF from SUPPORTED_ARCHITECTURES in [Defines] section of DSC. * Remove any IPF specific sections. * Remove statements from [BuildOptions] that provide IPF specific flags. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
* DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefinedAndrew Fish2017-08-111-3/+3
| | | | | | | | | | Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=635 Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <afish@apple.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
* DuetPkg: Fix typos in commentsGary Lin2016-11-154-7/+7
| | | | | | | | | | | | | | | | | | | - TURE -> TRUE - successull -> successfully - Libary -> Library - Incude -> Include - futhure -> future - Predfined -> Predefined - minimue -> minimum - predeined -> predefined - excute -> execute - dirver -> driver - hanlde -> handle - boundry -> boundary Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com>
* DuetPkg DxeIpl and EfiLdr: Add the missing EFIAPI for the functionLiming Gao2016-10-122-0/+2
| | | | | | | | | The function with the variable parameters should have EFIAPI. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* DuetPkg: Fix GCC error to avoid the duplicated global variables in EfiLdrLiming Gao2015-12-182-3/+3
| | | | | | | | | | Move the global variable definitions into source code instead of head filer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19338 6f19259b-4bc3-4df7-8a09-765794883524
* add (UINT8 *) type cast to fix ICC build failure.niruiyu2011-06-291-1/+1
| | | | | | Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11926 6f19259b-4bc3-4df7-8a09-765794883524
* Change DUET DxeIpl to use SerialPort instead of manipulating serial port ↵niruiyu2011-06-235-177/+79
| | | | | | | | | 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
* Add static type cast to fix ICC build failure.niruiyu2010-10-201-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Move EfiLdr Handoff data to stackjljusten2010-10-161-1/+1
| | | | | | | | | | | 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
* DuetPkg: Send EfiLdr messages to serial portjljusten2010-10-162-8/+52
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Fix EFIAPI usage inconsistenciesjljusten2010-10-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524
* remove --image-base option EfiLdr.inf, and use GenFw to do image base relocationklu22010-06-101-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2814-28/+28
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-061-1/+1
| | | | | | modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10342 6f19259b-4bc3-4df7-8a09-765794883524
* Remove over-specified dependencies on IntelFrameworkPkg and ↵xli242010-03-032-3/+1
| | | | | | IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10159 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-251-2/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-241-5/+5
| | | | | | 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
* Fix the issue GCC DUET x64 cannot boot to front page but reset when timer ↵niruiyu2010-01-281-1/+1
| | | | | | | | | | | interrupt is enabled (HSD 203180). I created the correct IDT and GDT which was wrongly created before. Comments were updated to reflect the actual meaning of the code and IDT alignment was set to 8 byte. Some unnecessary alginments were removed. DUET x64 MSFT and GCC both can boot to front page now. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9845 6f19259b-4bc3-4df7-8a09-765794883524
* Fix DUET x64 hang in Video Option ROM.niruiyu2010-01-261-0/+2
| | | | | | The root cause is EfiLdr module was wrongly loaded to address 0x0 corrupting the BDA(0x400) region. The patch set module base address to 0x10000 which aligns to R8 behavior. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9824 6f19259b-4bc3-4df7-8a09-765794883524
* 1. update bat file to generate right bootia32.efi/bootx64.efi file according ↵eric_tian2010-01-191-1/+1
| | | | | | | | | 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
* Fix Duet broken caused by LzmaUefiDecompress's interface is changed in ↵klu22010-01-152-10/+26
| | | | | | IntelFrameworkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9776 6f19259b-4bc3-4df7-8a09-765794883524
* Delete useless files.gikidy2009-05-064-423/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8252 6f19259b-4bc3-4df7-8a09-765794883524
* Ported LZMA to DUET platform.gikidy2009-05-063-26/+73
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8245 6f19259b-4bc3-4df7-8a09-765794883524
* Remove macro usage of EFI32, EFI64 in duet package.klu22009-04-162-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8100 6f19259b-4bc3-4df7-8a09-765794883524
* Remove working modification for debugklu22009-03-152-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7880 6f19259b-4bc3-4df7-8a09-765794883524
* Remove exit from batch fileklu22009-03-152-0/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
* Fix building issue for VS2003 and VS2005 tool chain. The "/GS-" is not ↵klu22009-02-231-2/+1
| | | | | | recognized by VS2003 but need by VS2005, so the CFLAGS should override from tools_def.txt but not replace CFLAGS defined in tools_def.txt. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7586 6f19259b-4bc3-4df7-8a09-765794883524
* Add build option /GS- to pass build.gikidy2009-02-201-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7558 6f19259b-4bc3-4df7-8a09-765794883524
* Use "==" to define build options for USER_DEFINED modulejwang362009-02-201-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7546 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EfiLdr:qhuang82009-02-031-3/+3
| | | | | | Refine code to pass CYGWIN GCC tool chain build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7405 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bugs in decompress implement in EfiLdr, and enable FAT driver in FDF file.klu22009-01-132-18/+45
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7254 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up to update the reference of the these macros:qhuang82008-12-161-1/+1
| | | | | | | | | | | | | 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
* Use BIT8-1 instead of UINT8_MAX.mdkinney2008-12-071-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6895 6f19259b-4bc3-4df7-8a09-765794883524
* Fix bundle of issue for ICC buildklu22008-11-266-12/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
* Patch to remove STATIC modifier. This is on longer recommended by EFI ↵jji42008-10-303-16/+1
| | | | | | 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
* clean up the un-suitable ';' location when declaring the functions.vanjeff2008-09-041-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
* Fix build breaks.mdkinney2008-07-291-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5586 6f19259b-4bc3-4df7-8a09-765794883524
* Support X64 build for DUET platform.klu22008-05-081-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5183 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Fix some casting working in X64 buildingklu22008-05-081-23/+8
| | | | | | 2) Use SetMem/CopyMem function to do structure initialization to avoid X64 compiler call standard C library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5180 6f19259b-4bc3-4df7-8a09-765794883524
* Do not use EntryPoint library for EfiLdr module.klu22008-05-082-2/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5178 6f19259b-4bc3-4df7-8a09-765794883524
* Add more debug print message and fix some issues.klu22008-04-282-1/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5135 6f19259b-4bc3-4df7-8a09-765794883524
* 1, Use PrintLib in Duet loaderklu22008-04-256-522/+579
| | | | | | | 2, Fix missing compress image in final disk image. I think the raw disk image had better be organized as our FD image format. I will discuss this after enabling DUET for R9. 3, Add more debug output in loader. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5128 6f19259b-4bc3-4df7-8a09-765794883524
* The library instance BaseUefiTianoCustomDecompressLib in ↵klu22008-04-253-3/+1049
| | | | | | IntelFrameworkModulePkg is for decompressing GUID section. So it could not be used for EfiLdr module. Just implement TianoDecompress in EfiLdr module itself. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5127 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing module for duet package.klu22008-04-1815-0/+2058
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5088 6f19259b-4bc3-4df7-8a09-765794883524