Commit Graph

334 Commits

Author SHA1 Message Date
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 230319040a Enable BootTimeOut and ConsoleMode (80x25/100x30) setting save/restore in Duet Setup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10039 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-22 06:03:08 +00:00
mdkinney 09163a4d9d Fix build breaks
Update EfiAcpiResetSystem() to match function prototype for EFI_RESET_SYSTEM
Add CpuDeadLoop() in all paths, so EfiAcpiResetSystem() can never return to be compliant with UEFI Spec, even when ASSERT() statements are disabled.
Change DEBUG() messages from EFI_D_ERROR to DEBUG_INFO because they are not error messages.
Simplify implementation from 4 files down to 2 files.
Use IoAndTheOr16() and MmioAndTheOr16() instead if IoRead/Write16() and MmioRead/Write16()



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10035 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 20:46:36 +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
niruiyu c943ee0336 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport should be TRUE in DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10031 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-20 07:10:16 +00:00
niruiyu 73bea262b1 DUET BDS clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9988 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 06:34:15 +00:00
klu2 787ef908e4 Add device path DXE driver in Duet FDF file to compliant with UEFI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9961 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 02:33:40 +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
niruiyu 86c8520c1e Add EBC driver to Duet platform so that EBC option ROM can get dispatched.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9948 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-08 05:43:12 +00:00
mdkinney d4577dceca Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
Do some minor clean ups to INF files
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9872 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-30 00:13:41 +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
gikidy 9f485cc7cd File header added.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9846 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 03:14:11 +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 5270672ca9 Re-enable BoisVideoThunk driver in DUET because the BiosVideoThunk hang issue was fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9844 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 02:16:33 +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
mdkinney fa8a1af2eb Use GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance is required
Remove extra references to gEfiHobListGuid in INF files.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9797 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 01:52:31 +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 f4d7c87220 Seems the BiosVideo thunk does not work recently, temporary disable it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9781 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-16 08:32:38 +00:00
mdkinney 2b963c0793 Add SmbiosDxe module that is required by BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9779 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 21:11:55 +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
eric_tian a8a863a2b3 add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9748 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 07:25:27 +00:00
mdkinney b149a6100f Update Copyright date
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9729 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 00:24:41 +00:00
mdkinney fa7df1d692 Clean up MetronomeDxe INF file. This module uses the IoLib, so the dependency on the CPU I/O Protocol can be removed from this INF file. If the IoLib that layers on top of a CPU I/O Protocol is used, then the dependency will be inherited from the lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9728 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 00:13:55 +00:00
xli24 74bafbaed9 Refer to OEM status code hook library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9644 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:57:26 +00:00
xli24 102e70874b Refer to status code library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9634 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:09:20 +00:00
xli24 1d7dfebf38 Add package dependency for gEfiStatusCodeDataTypeDebugGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9618 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-28 02:55:12 +00:00
klu2 5e973c9630 Correct license's header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9594 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 15:35:51 +00:00
eric_tian 81c5255cdf add error handling for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9582 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 07:16:37 +00:00
gikidy 4b37cc04b7 Update ReadMe file for we use the binaries of boot sector directly instead of building it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9559 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-14 03:09:49 +00:00
klu2 1c8bea11af Fix a obvious bug for judge whether the PPB support ISA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9557 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-12 08:55:02 +00:00
xli24 3a5ac5bff0 Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9534 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 12:51:53 +00:00
xli24 b6d793e37c Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9533 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 12:48:53 +00:00
lgao4 8273af4ea1 Add DxeSecurityManagementLib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9489 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 01:33:07 +00:00
davidhuang 21020c7c8b 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9454 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:00:54 +00:00
klu2 169fa21031 Correct the shell script file type as executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 07:04:47 +00:00
qhuang8 b0b961c8f9 Use to use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9299 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:47:41 +00:00
klu2 595c3b6cf7 Add Ehci driver for handle USB 2.0 device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9282 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 09:27:40 +00:00
klu2 df6434f27a Rollback patch temporary until receive legal approve.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-17 02:16:30 +00:00
klu2 e7b2c17aad Apply patch from Patrick Georgi. Correct build tool path to stable version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-15 02:18:21 +00:00
qhuang8 208628f805 Remove .rept directive to improve portability.
we might have to replace them with copies.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9171 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 03:20:20 +00:00
qhuang8 b29a823d91 Detab in DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 02:51:09 +00:00
qhuang8 08b1f48660 Use .fill directive to improve portability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-21 01:50:48 +00:00
qhuang8 9811c39250 Use .p2align directive instead of ambiguous .align directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 09:15:11 +00:00
qhuang8 f3eb213152 Make end of line consistent for DuetPkg. There is no other update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9149 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 06:44:42 +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
eric_tian 626790e9be update include file to use IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9034 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 02:35:12 +00:00
klu2 d3a12d776c Use PcAtChipsetPkg's IdeControllerDxe driver and retire the one in DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9017 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 02:57:17 +00:00
klu2 93d4ce9181 Add IDE support for edk2 Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9000 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 07:36:29 +00:00