Commit Graph

282 Commits

Author SHA1 Message Date
klu2 99032c4556 Pass X64 GCC building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7741 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 09:24:57 +00:00
klu2 b0e441b554 Update step for FAT32 usb.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7740 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 08:04:03 +00:00
klu2 fe74f17339 fix building issue for linux tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7739 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 07:31:42 +00:00
klu2 f1294e4a56 Refine the comments for BiosVideo thunk driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7738 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 07:12:53 +00:00
klu2 0d92cdc200 Update BiosVideo driver to produce GOP protocol but not UgaDraw protocol which is retired from UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7737 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 04:47:53 +00:00
klu2 fd677afe31 Should use UINTN for architecture register.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7736 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:39:04 +00:00
klu2 024a9e1dcf Fix building issue for linux toolchain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7735 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 18:32:46 +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
klu2 7da78b1f09 1, Port BiosVideoThunkDxe driver from edk to edk2;
2, The LegacyBiosThunk driver has been merged to BiosVideoThunkDxe driver, because only BiosVideo use legacy thunk now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7733 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 17:28:44 +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
gikidy c42d374322 1. Use /Map to generate map files;
2. Add code to process bin files split.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7726 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 03:41:50 +00:00
klu2 20193e01ca Should use code16 for 16-bit assembler, otherwise 32-bit prefix will be added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7721 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 14:41:56 +00:00
klu2 0375ec8d8f boot sector use 16-bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 12:54:41 +00:00
klu2 57b6de773d in 16-bit code, cs:[] require prefix because sengment size is set 32 bits. so use $ to reference string tag directly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7719 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 12:52:17 +00:00
klu2 6efe5f9605 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7709 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:20:33 +00:00
gikidy 43d4555b08 Add GNUmakefile for Linux GCC to build BootSector;
Now the makefile only for pass build and source control. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7700 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 03:41:41 +00:00
gikidy fd549a4db9 1. Add GNUmakefile for Linux GCC to build BootSector;
2. Modified some S files to pass ld phase.
Now the makefile only for pass build and source control. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7699 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 03:39:15 +00:00
klu2 002774aab4 Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7658 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:53:29 +00:00
klu2 113173812b uncomment usb related modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7652 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 14:14:05 +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
klu2 736e3559ba Fix some broken file path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7648 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 11:29:03 +00:00
lgao4 0e4cb657f6 Don't produce FvbExtension Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7631 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 06:35:26 +00:00
jljusten 7632bfcccc Update paths for items which moved from DuetPkg to PcAtChipsetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7620 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:45:34 +00:00
jljusten c46d031318 DuetPkg/Library/DuetSerialIoLib => PcAtChipsetPkg/Library/SerialIoLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7618 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:36:26 +00:00
jljusten cff10e3e4e PcRtc: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7616 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:33:20 +00:00
jljusten 84042d3ea7 KbcResetDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7615 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:32:16 +00:00
jljusten 81727f38ed IsaAcpiDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7614 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:30:53 +00:00
jljusten b6eec000f7 8254TimerDxe: DuetPkg => PcAtChipsetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7613 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 22:28:36 +00:00
jljusten 4a6a21cfe0 CpuIoDxe driver was moved to UefiCpuPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7610 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 20:17:50 +00:00
jljusten 8b2ba4d882 Moving DuetPkg/CpuIoDxe to UefiCpuPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7608 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 19:56:13 +00:00
klu2 1d0cab2ec2 Merge tristan's patch:
while compiling with GCC I have found two issues in PcatPciRootBridge.c:

* when vendor id is read, the code read 2 * 2 bytes into a buffer of 2 bytes.
  The 'buffer overflow' crashed efi.

* when pci configuration header is read, the code read by chunks of 4 bytes,
  but the buffer is aligned on 2 bytes.  According to the compilation options,
  the reads may fail (and the failure is ignored).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7602 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:05:41 +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
qhuang8 b4e83ab76d Update DuetPkg to include DxePcdDriver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7582 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:22:04 +00:00
qhuang8 d894c8a331 Remove unused DuetDxeReportStatusCodeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7581 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:21:25 +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
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
lgao4 54cdf471a0 Correct Compiler option /FAcs to /FAsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7180 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 02:12:37 +00:00
klu2 5b8adaa558 Fix bug that Duet BDS fail to get PciExpressAddress from guid hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7155 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 08:26:28 +00:00
klu2 82ec45f1ef Enable debug print for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7134 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 07:55:02 +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
vanjeff 1833218d93 1. added functions header for MACROS in PCI22.h.
2. move IS_PCI_GFX to modules, since it not defined in PCI spec.
3. added comments for some structure in ElTorito.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6928 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 06:40:02 +00:00
mdkinney e1cdd2eba5 Remove use of 'VOLATILE'. Use 'volatile' instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6896 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:36:29 +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
mdkinney e6ab7ead99 Remove use of EFI_BOOTSERVICE and EFI_RUNTIMESERVICE. This is not managed through module types.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6894 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:34:12 +00:00
mdkinney a75ff28aac Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6889 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:26:45 +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
vanjeff 8ad4884016 remove DEFIO_PCI_ADDRESS from MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6805 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:57:46 +00:00
klu2 2b7d16cf8c Pass ICC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6761 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:11:41 +00:00
klu2 9c83c97ac2 Fix ICC building issue for DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6749 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 04:37:39 +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
xli24 8cb5c72b30 Remove BootSector from DSC of DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6734 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:51:07 +00:00
xli24 dba5c4542c Fix the build failure of DuetBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6733 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:21:58 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
jljusten 7c04a67908 Resolved several warnings generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6685 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:57:13 +00:00
jljusten 8e53d24672 Resolved several warnings generated by GCC.
In PcatPciRootBridge.c -> GetPciExpressBaseAddressForRootBridge,
fixed a hang condition if the PCI Express Base Address HOB is
not present.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6684 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:55:02 +00:00
jljusten d4f59c13fb Fix warning generated by GCC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6683 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:49:37 +00:00
jljusten 69da1e7c48 Fix warning generated by GCC. This warning could have been resolved
with additional parenthesis, but I think the logic was previously
incorrect.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6682 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:47:14 +00:00
qhuang8 f5f965703b Add dependency of MdeModulePkg since HiiLib has been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6540 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 15:33:57 +00:00
qhuang8 765ee7b9c6 Update DUET DSC file for library class/instances renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6531 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:41:38 +00:00
qhuang8 f4dd9f2610 Rename PalCallLib to PalLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6520 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:15:16 +00:00
klu2 8e1ac15ab8 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6460 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:50:13 +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
mdkinney 7829726671 Implement Read() and Poll()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6294 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 05:30:00 +00:00
mdkinney a5f2a20513 Fix bug walking list of ACPI descriptors searching for bus ranges.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6290 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 03:59:47 +00:00
xli24 a7e883d867 Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package dependency issue, and update all DSC files accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6286 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 09:36:06 +00:00
klu2 9fe0e26707 Fix hard code base tool path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6284 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 06:49:52 +00:00
mdkinney a397f1b06e Use Pci.h instead of Pci23.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6249 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:55:10 +00:00
mdkinney 33730c76eb Remove DXS file. The dependency expression has been moved into the INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6244 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:13:53 +00:00
mdkinney 2952f72d6d Update 8254 Timer driver to use IoLib instead of CPU I/O Protocol
Also change the default tick rate from 54 ms to 10 ms.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6243 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:12:53 +00:00
mdkinney 0f25cc149a Update Metronome driver to use the IoLib instead of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6242 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:11:49 +00:00
mdkinney 03c110536d Fix duplicate symbol in this driver.
"GLOBAL_REMOVED_IF_UNREFERENCED" must never be used with an "extern" declaration.  It can only be used with the declaration of the actual global variable.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6241 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:11:11 +00:00
vanjeff bc14bdb317 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 2008-10-27 01:52:32 +00:00
xli24 aa79e01541 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6223 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:16:31 +00:00
klu2 d4344b17bc Fix build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6077 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 04:41:45 +00:00
klu2 289598a313 Add usblib library class mapping.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6076 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 03:14:11 +00:00
klu2 29cb3577a3 Add MSFT support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6068 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-29 06:24:10 +00:00
klu2 77df4b6732 Miss tool chain tag in CPU.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6067 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-29 06:12:05 +00:00
eric_tian 4e4b448bc5 change "\" sign to "/" sign that is comply with INF spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6056 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-28 01:51:20 +00:00
vanjeff 71bd74cbf2 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6050 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:49:50 +00:00
vanjeff 04c99fbf40 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6028 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 06:23:54 +00:00
vanjeff 49eb07e451 Changing source filename to match name changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6014 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 03:13:37 +00:00
vanjeff 8caa82b00d Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6013 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 03:04:48 +00:00
vanjeff 22602d6a89 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6012 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 03:04:08 +00:00
vanjeff be7e3c1c7d Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6011 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 03:03:26 +00:00
vanjeff 6b1a0ce198 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5998 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:44:08 +00:00
vanjeff fb3d194e59 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5997 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:36:06 +00:00
vanjeff 8c316de4dc Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5996 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:35:25 +00:00
vanjeff 2cce3f27e2 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5995 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:33:48 +00:00
vanjeff dfcc322940 Renamed remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5994 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 02:33:18 +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
vanjeff e53a6ea90e remove EFI_EVENT_ alias, replace them with EVT_
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 07:42:38 +00:00
vanjeff 8ee3a19908 Updated EFI_FVB_ATTRIBUTES to EFI_FVB_ATTRIBUTES_2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5800 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-03 08:55:55 +00:00
qhuang8 05e2f68f0b Switch DxeCore to use DxeCoreMemoryAllocationLib for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5745 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 00:49:56 +00:00
klu2 bbef2ffb57 Fix issue that wrong use Guid and Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5735 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 11:52:34 +00:00
eric_tian 8ac3278f08 Add condifition for passing ELFGCC building...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5640 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:03:01 +00:00
eric_tian a618ea6aea convert blank to tab
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5639 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 01:52:24 +00:00
eric_tian 1b233351f3 use tab but not blank to do not break GNU make parsing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5637 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 05:27:10 +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 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