Commit Graph

148 Commits

Author SHA1 Message Date
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
gikidy ccec4c3969 Port Intel .asm to GAS S
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:22:04 +00:00
gikidy 01f1138afe Linkage errors fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7556 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:16:12 +00:00
gikidy 5ffcd2579f Patch for CpuInterrupt.S from Tristan Gingold.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7555 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:03:44 +00:00
jji4 166451c51c New .S files added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:52:31 +00:00
jji4 9ffd16fb49 syntax checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:51:59 +00:00
jji4 6794a1b951 The asm file for Ia32 has been translated from MASM to GAS.
Build in CYGWINGCC is OK.
It needs to be checked for the logic and debugged for the running.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7552 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 06:04:15 +00:00
jji4 9be1da069f Port Intel .asm to GNU .S
These .S files now are not for compiler but for us to control the version.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7551 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 05:25:12 +00:00
gikidy 819958c65f Port Intel .asm to GNU .S
These .S files now is not for compiler but for us to control the version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7549 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 03:11:41 +00:00
jji4 32f9b796d3 Port Intel .asm to GNU .S
These .S files now is not for compiler but for us to control the version.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7548 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 03:01:49 +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
xli24 6074a6fb4b Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7487 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:55:43 +00:00
qhuang8 8e0e028a28 Update ReportStatusCodeLib mapping: Use DxeCoreReportStatusLibFromHob DXE_CORE and DxeReportStatusCodeLib in IntelFrameworkModulePkg for all other modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7484 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:04:00 +00:00
qhuang8 6dacb8cda9 Add DxeCoreReportStatusCodeLibFromHob library instance. For now, it is dedicated to DxeCore for DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7483 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-09 10:02:28 +00:00
xli24 693e49cad6 Add comments in platform DSC files to remind that binaries are only listed in FDF, not in DSC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7446 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 03:15:09 +00:00
mdkinney e8ba34ff3d Update DUET PCI Bus Driver to use PeCoffLib instead of parsing the PE/COFF image itself
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7439 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:31:45 +00:00
qhuang8 c7b5f50ffa Fix minor coding style issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7434 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 02:13:25 +00:00
qhuang8 269c0ba2d5 Clean up PcRtc:
1. Remove the architecture subdirectory (IPF architecture is not supported any more
2. Merge IA32 source with x64 source to ResetEntry.c in the upper level directory)
3. Pass CYGWIN GCC tool chain.
4. Remove the used DXS file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7412 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:58:26 +00:00
qhuang8 abae655fd2 clean up PciRootBridgeNoEnumerationDxe:
Refine to pass GYGWIN GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7411 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:57:22 +00:00
qhuang8 9e65d5e975 Clean up DuetBdsLib:
Refine to pass CYGWIN GCC tool chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7410 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:56:15 +00:00
qhuang8 6583c3582f Clean up KbcRestDxe:
1. Remove the architecture subdirectory (IPF architecture is not supported any more
2. Merge IA32 source with x64 source to ResetEntry.c in the upper level directory)
3. Remove the used DXS file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7409 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:55:00 +00:00
qhuang8 4b869fed0d Clean up to fix GUID format issues to pass GCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7408 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:51:40 +00:00
qhuang8 61494dad40 Clean up FvbRuntimeService:
Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7407 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:50:51 +00:00
qhuang8 c02d4876db Clean up FSVariable:
Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7406 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:50:03 +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
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
qhuang8 3eb90413ba Clean up DataHubGenDxe:
1. Fix the structure assignment
2. Removed the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7403 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:46:49 +00:00
qhuang8 8c7f0932d6 Clean up CpuIoDxe:
1. Remove the assembly files by using IoLib in MdePkg.
2. Remove the unused DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7402 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:45:16 +00:00
qhuang8 8e6a99100c Remove unused DXS file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7401 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 00:43:31 +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
mdkinney 914826ba1d Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7376 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:38:55 +00:00
qhuang8 cc4678aa94 Fix the path for BDS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7365 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 15:50:44 +00:00
klu2 80f73b51f5 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7355 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:26:35 +00:00
klu2 ba992f96fa 1, Add logo.bmp to fv file for showing it in graphic mode
2, Hard code timeout to 5 second.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:23:21 +00:00
klu2 6ef5ab88d7 For PollMem or PollIo, EFI_SUCESS should be returned when paramter Delay == 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7265 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 02:08:14 +00:00
klu2 9be2c306aa Use ACPI timer for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7264 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 18:39:43 +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
klu2 4176aa9faf Add build steps for duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7234 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:42:41 +00:00
lgao4 8e3fdb95fa Move Varialbe common definitions (GET_PAD_SIZE and HEADER_ALIGN macro) into MdeModulePackage Include VariableFormat.h
And Use PCD to replace macros in source code to reduce confusion.(FixedPcdGet32(PcdMaxVariableSize) replaces MAX_VARIABLE_SIZE, and FixedPcdGet32(PcdMaxHardwareErrorVariableSize) replaces MAX_HARDWARE_ERROR_VARIABLE_SIZE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7230 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:31:30 +00:00
klu2 dc4dc1ded8 1, Remove DxeReportStatus driver, because DxeIpl has published a instance from hob. And new status code library will use this instance from hob.
2, Use gBS->Stall() for MicroSecondDelay() implementation in DuetTimerLib.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7202 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:36:44 +00:00
klu2 f254e82106 Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in tool_def.txt, ASM16 should also be removed from tool_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7198 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:15:35 +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 3d0134ba7b Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In future, boot sector should be ported to
Unix environment.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7195 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:05:34 +00:00
klu2 afbf572a61 Add bootsector module, this module is not a EFI driver or PEIM, but the raw image for boot disk. It is should be built in tiny mode with 16 assembler compiler and linker. And currently only MSFT is supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7194 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 08:41:52 +00:00
lgao4 ac4274ddde Remove /Fa option to cause multithread build failed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7190 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 05:01:54 +00:00
klu2 a64a47bc22 Use ASMLINK macro but *not* ASMLINK16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7189 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:45:39 +00:00
klu2 2a5ef1fcec Use relative path for base tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7188 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:38:58 +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
klu2 cf0206ee8b Add DuetDxeReportStatusCodeLib which will get ReportStatusCode from hob if fail to get protocol. This library could be used for DxeCore module to output early debug message via serial.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7186 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 01:59:59 +00:00