niruiyu
b4f9bc4dc2
Add static type cast to fix ICC build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-20 09:38:35 +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
jljusten
6fc74eaa63
DuetPkg: Send EfiLdr messages to serial port
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:51:09 +00:00
jljusten
0492698ac6
DuetPkg: Fix EFIAPI usage inconsistencies
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:16 +00:00
klu2
63c89e0468
remove --image-base option EfiLdr.inf, and use GenFw to do image base relocation
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-10 08:54:18 +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
lgao4
5009ddf930
Update the modules with the different module GUID to avoid the different modules with the same module GUID.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10342 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06 02:56:09 +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
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
fee4cb816c
Fix the issue GCC DUET x64 cannot boot to front page but reset when timer 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
2010-01-28 03:07:36 +00:00
niruiyu
d9dd98f0dc
Fix DUET x64 hang in Video Option ROM.
...
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
2010-01-26 09:23:24 +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
klu2
3ae5030e9c
Fix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFrameworkModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9776 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 12:39:20 +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
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
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
9f214f6fca
Remove working modification for debug
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7880 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 12:00:03 +00:00
klu2
49794755ba
Remove exit from batch file
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 11:49:12 +00:00
klu2
24f5b8022f
Fix building issue for VS2003 and VS2005 tool chain. The "/GS-" is not 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
2009-02-23 03:35:29 +00:00
gikidy
f735177861
Add build option /GS- to pass build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7558 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 09:29:01 +00:00
jwang36
6054c68c3e
Use "==" to define build options for USER_DEFINED module
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7546 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 02:09:39 +00:00
qhuang8
ffdc186777
Clean up EfiLdr:
...
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
2009-02-03 00:49:30 +00:00
klu2
f8e01ca87b
Fix bugs in decompress implement in EfiLdr, and enable FAT driver in FDF file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7254 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 07:41:23 +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
mdkinney
15a2944afc
Use BIT8-1 instead of UINT8_MAX.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6895 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:35:34 +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
vanjeff
ed66e1bc0d
clean up the un-suitable ';' location when declaring the functions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +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
c5dfb4770b
Support X64 build for DUET platform.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5183 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 06:22:31 +00:00
klu2
394bbc5930
1) Fix some casting working in X64 building
...
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
2008-05-08 04:11:25 +00:00
klu2
c51b1cb6a4
Do not use EntryPoint library for EfiLdr module.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5178 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 02:23:39 +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
3da85e633e
1, Use PrintLib in Duet loader
...
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
2008-04-25 09:30:24 +00:00
klu2
8c1ba7f5e5
The library instance BaseUefiTianoCustomDecompressLib in 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
2008-04-25 05:42:56 +00:00
klu2
9071550e86
Add missing module for duet package.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5088 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 03:09:54 +00:00