summaryrefslogtreecommitdiff
path: root/DuetPkg
AgeCommit message (Collapse)Author
2011-11-21According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng14
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
2011-11-16DuetPkg BootSector:rsun3
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
2011-11-15According to PI errata 0000690, word "Ide Bus driver" has been replaced with ↵erictian
"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
2011-10-19Avoid using code name in comments.niruiyu
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
2011-09-20Clean up the private GUID definition in module Level.lgao4
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
2011-09-05Fix DUET X64 build error.li-elvin
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
2011-08-29Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in ↵lgao4
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
2011-08-25Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to ↵xdu2
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
2011-07-01Fix ICC build error.lzeng14
Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11942 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01Fix CreateBootDisk.bat not using config variablesniruiyu
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
2011-07-01Fix ICC build error.lzeng14
Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11940 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01Fix ICC build error.lzeng14
Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11939 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-29add (UINT8 *) type cast to fix ICC build failure.niruiyu
Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11926 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27Fix UnixGcc build failures.niruiyu
Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23Change DUET DxeIpl to use SerialPort instead of manipulating serial port ↵niruiyu
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
2011-04-27Solve a wrong pointer reference in QueryVariableInfo().erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11594 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-17Remove the local LegacyBiosMpTable.h. It has been defined in MdePkg.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11408 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney
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
2011-03-08Add AHCI support for DUET.lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11353 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06DuetPkg: Update create boot disk script to not modify bootsect.comjljusten
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
2010-12-06DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during bootjljusten
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
2010-12-06DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64jljusten
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
2010-11-25Fix a bug in GetLangFromSupportedLangCodes()niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11092 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-24Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is ↵niruiyu
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
2010-10-22DuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxejljusten
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
2010-10-22DuetPkg: Add DXE APRIORI for 8259 driverjljusten
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
2010-10-20Add static type cast to fix ICC build failure.niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16DuetPkg DxeIpl: Send result of PrintValue to serial portjljusten
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
2010-10-16DuetPkg: Move EfiLdr Handoff data to stackjljusten
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-16DuetPkg: Send EfiLdr messages to serial portjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16DuetPkg: Add build32.sh and build64.shjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10948 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16DuetPkg CreateBootDisk.sh: Enable building a DUET floppy imagejljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if definedjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16DuetPkg: Fix EFIAPI usage inconsistenciesjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13DuetPkg, MdeModulePkg: Fix several enum comparionsjljusten
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
2010-06-10remove --image-base option EfiLdr.inf, and use GenFw to do image base relocationklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-05fix GCC X64 build brokenklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10568 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-05fix X64 build brokenklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10567 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13Fix minor format issue in file headerqhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10486 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28Update the copyright notice formathhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-221. Remove DataHubGen drive, which is replaced by SmbiosGen.lgao4
2. Remove the unused DataHub driver from DutePkg DSC/FDF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10392 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12Add the missing MemoryTest driver to let memory above 4G be discovered in ↵niruiyu
Shell memmap. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10356 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09Remove old module which no one consume it.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10349 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06Update the modules with the different module GUID to avoid the different ↵lgao4
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-03-29Remove RELEASE tag from DuetPkg DSC, because DuetPkg post build script only ↵lgao4
support DEBUG tag. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10321 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-23Remove the work around as the Fat driver's lock issue was found and fixed.niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10304 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to ↵lgao4
Common [LibraryClasses] section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10301 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21Add RELEASE targetlgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10298 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-20Add [Depex] section for DUETFwh DXE_DRIVER. A DXE_DRIVR must has [depex] ↵klu2
section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10294 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:erictian
1. EFI_INVALID_PARAMETER as a return value of SetVariable() to indicate it does not support this feature. 2. EFI_NOT_FOUND will be a return value of QueryVariableInfo() to indicate it does not support this feature. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10280 6f19259b-4bc3-4df7-8a09-765794883524