summaryrefslogtreecommitdiffstats
path: root/DuetPkg
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 1. Remove DataHubGen drive, which is replaced by SmbiosGen.lgao42010-04-227-568/+0
| | | | | | 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
* Add the missing MemoryTest driver to let memory above 4G be discovered in ↵niruiyu2010-04-121-0/+1
| | | | | | Shell memmap. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10356 6f19259b-4bc3-4df7-8a09-765794883524
* Remove old module which no one consume it.klu22010-04-092-191/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10349 6f19259b-4bc3-4df7-8a09-765794883524
* Update the modules with the different module GUID to avoid the different ↵lgao42010-04-065-5/+5
| | | | | | modules with the same module GUID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10342 6f19259b-4bc3-4df7-8a09-765794883524
* Remove RELEASE tag from DuetPkg DSC, because DuetPkg post build script only ↵lgao42010-03-292-2/+2
| | | | | | support DEBUG tag. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10321 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the work around as the Fat driver's lock issue was found and fixed.niruiyu2010-03-231-4/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10304 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to ↵lgao42010-03-212-58/+144
| | | | | | Common [LibraryClasses] section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10301 6f19259b-4bc3-4df7-8a09-765794883524
* Add RELEASE targetlgao42010-03-212-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10298 6f19259b-4bc3-4df7-8a09-765794883524
* Add [Depex] section for DUETFwh DXE_DRIVER. A DXE_DRIVR must has [depex] ↵klu22010-03-201-0/+2
| | | | | | section. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10294 6f19259b-4bc3-4df7-8a09-765794883524
* variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:erictian2010-03-181-2/+13
| | | | | | | 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
* Separate IA32/X64 architecture into two DSC file to avoid the their output ↵klu22010-03-186-41/+280
| | | | | | mixup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524