Commit Graph

398 Commits

Author SHA1 Message Date
erictian 80d6c273d4 According to PI errata 0000690, word "Ide Bus driver" has been replaced with "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-11-15 09:42:16 +00:00
niruiyu 25d7031fea Avoid using code name in comments.
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-10-19 05:37:15 +00:00
lgao4 db4d3fa114 Clean up the private GUID definition in module Level.
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-20 02:12:45 +00:00
li-elvin 38e47f79c4 Fix DUET X64 build error.
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-09-05 09:46:55 +00:00
lgao4 df1b7575ba Fix the incorrect usage for PCD PcdResetOnMemoryTypeInformationChange in 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-29 13:36:03 +00:00
xdu2 b9610b9cb5 Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to 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-08-25 05:59:17 +00:00
lzeng14 271c79012d Fix ICC build error.
Signed-off-by: lzeng14

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11942 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 04:59:47 +00:00
niruiyu 7708d08195 Fix CreateBootDisk.bat not using config variables
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-01 04:48:45 +00:00
lzeng14 976f617719 Fix ICC build error.
Signed-off-by: lzeng14

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11940 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 03:56:19 +00:00
lzeng14 61a02ac974 Fix ICC build error.
Signed-off-by: lzeng14

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11939 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 03:47:26 +00:00
niruiyu 8de06925cc add (UINT8 *) type cast to fix ICC build failure.
Signed-off-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11926 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-29 07:15:58 +00:00
niruiyu fd99d1a91d Fix UnixGcc build failures.
Signed-off-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 06:03:06 +00:00
niruiyu b68b78e66c Change DUET DxeIpl to use SerialPort instead of manipulating serial port 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-06-23 08:31:18 +00:00
erictian 452f020794 Solve a wrong pointer reference in QueryVariableInfo().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11594 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27 05:49:26 +00:00
lgao4 a70dbff785 Remove the local LegacyBiosMpTable.h. It has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11408 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-17 06:30:50 +00:00
mdkinney f4845fc1c1 Update DebugLib to provide support for "err" command in the EFI Shell to 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-10 22:32:32 +00:00
lzeng14 27f3015903 Add AHCI support for DUET.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11353 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 05:42:37 +00:00
jljusten 8df0bd287c DuetPkg: Update create boot disk script to not modify bootsect.com
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-06 06:06:54 +00:00
jljusten 7709cf48e4 DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot
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-06 06:05:41 +00:00
jljusten e1adae6084 DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
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-12-06 06:04:38 +00:00
niruiyu 462979afc2 Fix a bug in GetLangFromSupportedLangCodes()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11092 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-25 07:16:31 +00:00
niruiyu d7f791184b Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is 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-11-24 03:23:30 +00:00
jljusten b8781a7771 DuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxe
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-22 01:08:16 +00:00
jljusten 0587c9825c DuetPkg: Add DXE APRIORI for 8259 driver
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-22 01:07:58 +00:00
niruiyu b4f9bc4dc2 Add static type cast to fix ICC build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-20 09:38:35 +00:00
jljusten 01b024f16b DuetPkg DxeIpl: Send result of PrintValue to serial port
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-16 18:51:32 +00:00
jljusten dcb428da9e DuetPkg: Move EfiLdr Handoff data to stack
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-16 18:51:21 +00:00
jljusten 6fc74eaa63 DuetPkg: Send EfiLdr messages to serial port
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:51:09 +00:00
jljusten 65e9e35245 DuetPkg: Add build32.sh and build64.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10948 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:55 +00:00
jljusten 5c1138b0f0 DuetPkg CreateBootDisk.sh: Enable building a DUET floppy image
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:43 +00:00
jljusten 9046a2f9d3 DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:33 +00:00
jljusten 0492698ac6 DuetPkg: Fix EFIAPI usage inconsistencies
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:16 +00:00
jljusten 815119f3d9 DuetPkg, MdeModulePkg: Fix several enum comparions
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-10-13 07:08:29 +00:00
klu2 63c89e0468 remove --image-base option EfiLdr.inf, and use GenFw to do image base relocation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-10 08:54:18 +00:00
klu2 7830363c37 fix GCC X64 build broken
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10568 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-05 11:06:17 +00:00
klu2 12c1395b15 fix X64 build broken
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10567 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-05 11:01:28 +00:00
qhuang8 636844a517 Fix minor format issue in file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10486 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13 01:08:37 +00:00
hhtian b1f700a859 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:39:50 +00:00
lgao4 55111a8ce9 1. Remove DataHubGen drive, which is replaced by SmbiosGen.
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-22 02:43:23 +00:00
niruiyu 41cbd4810e Add the missing MemoryTest driver to let memory above 4G be discovered in Shell memmap.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10356 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12 01:19:04 +00:00
klu2 f43b0774f2 Remove old module which no one consume it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10349 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 02:08:56 +00:00
lgao4 5009ddf930 Update the modules with the different module GUID to avoid the different 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-04-06 02:56:09 +00:00
lgao4 a47d46378e Remove RELEASE tag from DuetPkg DSC, because DuetPkg post build script only support DEBUG tag.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10321 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-29 09:49:53 +00:00
niruiyu 571f4f52d4 Remove the work around as the Fat driver's lock issue was found and fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10304 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-23 00:39:54 +00:00
lgao4 b2e5957efe Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common [LibraryClasses] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10301 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21 13:14:47 +00:00
lgao4 59a4bd4037 Add RELEASE target
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10298 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21 02:06:59 +00:00
klu2 fa4aade06e Add [Depex] section for DUETFwh DXE_DRIVER. A DXE_DRIVR must has [depex] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10294 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-20 18:08:31 +00:00
erictian ff19726366 variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
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
2010-03-18 08:57:05 +00:00
klu2 ab9cb4b1fd Separate IA32/X64 architecture into two DSC file to avoid the their output mixup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 02:36:52 +00:00
niruiyu 39301e939d Remove FD section from DuetPkg.fdf and move the BlockSize/NumBlocks declaration from FD to FV.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10252 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 05:22:23 +00:00