summaryrefslogtreecommitdiffstats
path: root/DuetPkg
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ↵rsun32012-04-121-13/+32
| | | | | | | | | | ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved. Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Fan Jeff <jeff.fan@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13189 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Updated platform DSC files to add CPU Exception Library instances.vanjeff2012-03-162-2/+5
| | | | | | | Signed-off-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13106 6f19259b-4bc3-4df7-8a09-765794883524
* Improve robustness when scanning PCI Option ROM.rsun32012-03-144-31/+90
| | | | | | | | Signed-off-by: rsun3 Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13095 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector: fix a bug in st32_64.S that the size for GDTR.limit is ↵rsun32012-01-181-1/+1
| | | | | | | | wrong. Signed-off-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12934 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector: fix bugs in .S files so that 32-bit and 64-bit DUET can ↵rsun32012-01-136-57/+58
| | | | | | | | | | | | boot to Shell with boot sector binaries built by GCC. There is also a bug in bs32.asm/bs32.S that the space between the code and the 0xAA55 ending signature is not enough to hold the 2 debug strings. It is fixed by shortening the strings. Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12930 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.rsun32012-01-105-46/+62
| | | | | | | | | | Partly contributed by Sergey Isakov [isakov-sl@bk.ru]. Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12921 6f19259b-4bc3-4df7-8a09-765794883524
* Update the Package version.niruiyu2011-12-133-5/+5
| | | | | | | Signed-off-by: niruiyu Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12838 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector: Add missing .code16 directive into ↵rsun32011-11-244-5/+7
| | | | | | | | | start16.S/start32.S/Gpt.S/Mbr.S. Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12773 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng142011-11-211-2/+2
| | | | | | | | | 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12748 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg BootSector:rsun32011-11-1614-44/+33
| | | | | | | | | | Update start.asm(S)/start16.asm(S)/start32.asm(S)/efi32.asm(S) under DuetPkg\BootSector to follow the IA32 recommendations on switching to protected mode: Immediately following the MOV CR0 instruction, execute a far JMP or far CALL instruction. (This operation is typically a far jump or call to the next instruction in the instruction stream.) Signed-off-by: rsun3 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12723 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000690, word "Ide Bus driver" has been replaced with ↵erictian2011-11-152-122/+400
| | | | | | | | | "Driver entity". Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12703 6f19259b-4bc3-4df7-8a09-765794883524
* Avoid using code name in comments.niruiyu2011-10-191-4/+4
| | | | | | | Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12550 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up the private GUID definition in module Level.lgao42011-09-2010-35/+76
| | | | | | | | Signed-off-by: lgao4 Reviewed-by: rni2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12385 6f19259b-4bc3-4df7-8a09-765794883524
* Fix DUET X64 build error.li-elvin2011-09-051-0/+1
| | | | | | | | Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12277 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in ↵lgao42011-08-292-2/+2
| | | | | | | | Duet, Unix and Emulator platform. Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12218 6f19259b-4bc3-4df7-8a09-765794883524
* Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to ↵xdu22011-08-251-2/+38
| | | | | | | | | time in unit of nanoseconds. Signed-off-by: xdu2 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build error.lzeng142011-07-011-1/+1
| | | | | | Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11942 6f19259b-4bc3-4df7-8a09-765794883524
* Fix CreateBootDisk.bat not using config variablesniruiyu2011-07-013-21/+57
| | | | | | | Signed-off-by: Pete Batard Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11941 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build error.lzeng142011-07-011-1/+1
| | | | | | Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11940 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build error.lzeng142011-07-011-1/+1
| | | | | | Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11939 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
* Fix UnixGcc build failures.niruiyu2011-06-272-3/+3
| | | | | | Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
* Change DUET DxeIpl to use SerialPort instead of manipulating serial port ↵niruiyu2011-06-2315-574/+180
| | | | | | | | | 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
* Solve a wrong pointer reference in QueryVariableInfo().erictian2011-04-271-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11594 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the local LegacyBiosMpTable.h. It has been defined in MdePkg.lgao42011-03-171-281/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11408 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-102-0/+2
| | | | | | | | | | | | | adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11369 6f19259b-4bc3-4df7-8a09-765794883524
* Add AHCI support for DUET.lzeng142011-03-087-12/+1515
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11353 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Update create boot disk script to not modify bootsect.comjljusten2010-12-061-3/+4
| | | | | | | Previously the script would modify DuetPkg/BootSector/bin/bootsect.com. Now a temporary file is used in place of bootsect.com. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11122 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during bootjljusten2010-12-062-2/+2
| | | | | | | | | PcdResetOnMemoryTypeInformationChange is required to be set to TRUE for ACPI S4 support. These platforms do not support ACPI S4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11120 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64jljusten2010-12-061-0/+1
| | | | | | | | The C ellipses parameters are passed to functions differently by default with GCC 4.4. To make sure they are properly sent to VariableGetBestLanguage, we add 'EFIAPI' to this function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11119 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in GetLangFromSupportedLangCodes()niruiyu2010-11-251-0/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11092 6f19259b-4bc3-4df7-8a09-765794883524
* Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is ↵niruiyu2010-11-243-75/+297
| | | | | | | | set before PlatformLangCodes/LangCodes. Pre-allocate pool for runtime phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11088 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxejljusten2010-10-2210-5265/+5
| | | | | | | | | | | | UefiCpuPkg/CpuDxe provides all the critical features needed for DUET. Therefore, to reduce code duplication, DUET can use the generic UEFI CPU DXE driver. The one notable lost feature is that DUET's CPU DXE would call legacy video INT 10 to make sure the exception information could be displayed on the screen. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10974 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Add DXE APRIORI for 8259 driverjljusten2010-10-221-0/+5
| | | | | | | | | | | | | | | DUET's CpuDxe driver is directly dependent on the 8259. This forces the 8259 driver to run before the CPU DXE driver. This is required so the 8259 driver will initialize and mask all 8259 interrupts before the CPU DXE driver allows interrupts to be enabled. The UefiCpuPkg CPU DXE driver is not dependent on the 8259 directly. Therefore, in order to use the UefiCpuPkg CPU DXE driver with DUET, we add the APRIORI file to force the 8259 driver to run early before the CPU DXE driver runs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10973 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 DxeIpl: Send result of PrintValue to serial portjljusten2010-10-161-4/+9
| | | | | | | PrintValue now uses PrintString so its result will be sent to the serial port in addition to the screen. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10951 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Move EfiLdr Handoff data to stackjljusten2010-10-162-2/+6
| | | | | | | | | | | 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-164-10/+54
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Add build32.sh and build64.shjljusten2010-10-162-0/+229
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10948 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg CreateBootDisk.sh: Enable building a DUET floppy imagejljusten2010-10-161-6/+34
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if definedjljusten2010-10-161-2/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Fix EFIAPI usage inconsistenciesjljusten2010-10-164-21/+23
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg, MdeModulePkg: Fix several enum comparionsjljusten2010-10-133-5/+5
| | | | | | | | | | These comparisons were not comparing an enum variable with a member of the same enum type. GCC 4.5 generated a warning for these comparison operations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10932 6f19259b-4bc3-4df7-8a09-765794883524
* remove --image-base option EfiLdr.inf, and use GenFw to do image base relocationklu22010-06-102-6/+19
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
* fix GCC X64 build brokenklu22010-06-051-1/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10568 6f19259b-4bc3-4df7-8a09-765794883524
* fix X64 build brokenklu22010-06-051-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10567 6f19259b-4bc3-4df7-8a09-765794883524
* Fix minor format issue in file headerqhuang82010-05-131-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10486 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-28156-299/+299
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524