Commit Graph

114 Commits

Author SHA1 Message Date
klu2 ba992f96fa 1, Add logo.bmp to fv file for showing it in graphic mode
2, Hard code timeout to 5 second.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-20 03:23:21 +00:00
klu2 6ef5ab88d7 For PollMem or PollIo, EFI_SUCESS should be returned when paramter Delay == 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7265 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-14 02:08:14 +00:00
klu2 9be2c306aa Use ACPI timer for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7264 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 18:39:43 +00:00
klu2 f8e01ca87b Fix bugs in decompress implement in EfiLdr, and enable FAT driver in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7254 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 07:41:23 +00:00
klu2 4176aa9faf Add build steps for duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7234 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:42:41 +00:00
lgao4 8e3fdb95fa Move Varialbe common definitions (GET_PAD_SIZE and HEADER_ALIGN macro) into MdeModulePackage Include VariableFormat.h
And Use PCD to replace macros in source code to reduce confusion.(FixedPcdGet32(PcdMaxVariableSize) replaces MAX_VARIABLE_SIZE, and FixedPcdGet32(PcdMaxHardwareErrorVariableSize) replaces MAX_HARDWARE_ERROR_VARIABLE_SIZE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7230 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:31:30 +00:00
klu2 dc4dc1ded8 1, Remove DxeReportStatus driver, because DxeIpl has published a instance from hob. And new status code library will use this instance from hob.
2, Use gBS->Stall() for MicroSecondDelay() implementation in DuetTimerLib.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7202 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 09:36:44 +00:00
klu2 f254e82106 Usb ASM but *not* ASM16, the tool chain of ASM is same as ASM16 in tool_def.txt, ASM16 should also be removed from tool_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7198 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 02:15:35 +00:00
klu2 a4f31dafa7 Remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7196 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:18:15 +00:00
klu2 3d0134ba7b Add dummy GnuMakefile to pass UNIXGCC building for boot sector module. In future, boot sector should be ported to
Unix environment.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7195 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 09:05:34 +00:00
klu2 afbf572a61 Add bootsector module, this module is not a EFI driver or PEIM, but the raw image for boot disk. It is should be built in tiny mode with 16 assembler compiler and linker. And currently only MSFT is supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7194 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 08:41:52 +00:00
lgao4 ac4274ddde Remove /Fa option to cause multithread build failed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7190 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 05:01:54 +00:00
klu2 a64a47bc22 Use ASMLINK macro but *not* ASMLINK16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7189 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:45:39 +00:00
klu2 2a5ef1fcec Use relative path for base tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7188 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 04:38:58 +00:00
klu2 e25803f0f0 1, Enable USB boot for R9's Duet.
2, Work around an RTC issue for DUET under vmware environment.
3, Enable early serial status code output for DxeCore module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7187 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 03:25:24 +00:00
klu2 cf0206ee8b Add DuetDxeReportStatusCodeLib which will get ReportStatusCode from hob if fail to get protocol. This library could be used for DxeCore module to output early debug message via serial.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7186 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-06 01:59:59 +00:00
lgao4 54cdf471a0 Correct Compiler option /FAcs to /FAsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7180 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 02:12:37 +00:00
klu2 5b8adaa558 Fix bug that Duet BDS fail to get PciExpressAddress from guid hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7155 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-30 08:26:28 +00:00
klu2 82ec45f1ef Enable debug print for Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7134 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 07:55:02 +00:00
qhuang8 eea53ce14d Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7049 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:31:52 +00:00
vanjeff 1833218d93 1. added functions header for MACROS in PCI22.h.
2. move IS_PCI_GFX to modules, since it not defined in PCI spec.
3. added comments for some structure in ElTorito.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6928 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 06:40:02 +00:00
mdkinney e1cdd2eba5 Remove use of 'VOLATILE'. Use 'volatile' instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6896 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:36:29 +00:00
mdkinney 15a2944afc Use BIT8-1 instead of UINT8_MAX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6895 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:35:34 +00:00
mdkinney e6ab7ead99 Remove use of EFI_BOOTSERVICE and EFI_RUNTIMESERVICE. This is not managed through module types.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6894 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 22:34:12 +00:00
mdkinney a75ff28aac Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6889 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:26:45 +00:00
xli24 3a0a147375 Clean DuetPkg for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6836 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:56:35 +00:00
vanjeff 8ad4884016 remove DEFIO_PCI_ADDRESS from MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6805 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 08:57:46 +00:00
klu2 2b7d16cf8c Pass ICC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6761 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:11:41 +00:00
klu2 9c83c97ac2 Fix ICC building issue for DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6749 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 04:37:39 +00:00
klu2 e188a60934 Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 17:59:34 +00:00
xli24 8cb5c72b30 Remove BootSector from DSC of DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6734 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:51:07 +00:00
xli24 dba5c4542c Fix the build failure of DuetBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6733 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 07:21:58 +00:00
vanjeff 519f076a47 1.retried graphics library class from MdePkg
2.retried graphics library instance from MdeModulePkg
3.Move EnableQuietBoot(), DisableQuietBoot() and LockKeyboards() into GenericBdsLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6691 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 05:49:59 +00:00
jljusten 7c04a67908 Resolved several warnings generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6685 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:57:13 +00:00
jljusten 8e53d24672 Resolved several warnings generated by GCC.
In PcatPciRootBridge.c -> GetPciExpressBaseAddressForRootBridge,
fixed a hang condition if the PCI Express Base Address HOB is
not present.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6684 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:55:02 +00:00
jljusten d4f59c13fb Fix warning generated by GCC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6683 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:49:37 +00:00
jljusten 69da1e7c48 Fix warning generated by GCC. This warning could have been resolved
with additional parenthesis, but I think the logic was previously
incorrect.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6682 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-23 23:47:14 +00:00
qhuang8 f5f965703b Add dependency of MdeModulePkg since HiiLib has been moved to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6540 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 15:33:57 +00:00
qhuang8 765ee7b9c6 Update DUET DSC file for library class/instances renaming.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6531 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:41:38 +00:00
qhuang8 f4dd9f2610 Rename PalCallLib to PalLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6520 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:15:16 +00:00
klu2 8e1ac15ab8 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6460 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:50:13 +00:00
jji4 e56dd2ce13 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6302 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:17:19 +00:00
mdkinney 7829726671 Implement Read() and Poll()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6294 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 05:30:00 +00:00
mdkinney a5f2a20513 Fix bug walking list of ACPI descriptors searching for bus ranges.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6290 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 03:59:47 +00:00
xli24 a7e883d867 Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package dependency issue, and update all DSC files accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6286 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 09:36:06 +00:00
klu2 9fe0e26707 Fix hard code base tool path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6284 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 06:49:52 +00:00
mdkinney a397f1b06e Use Pci.h instead of Pci23.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6249 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:55:10 +00:00
mdkinney 33730c76eb Remove DXS file. The dependency expression has been moved into the INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6244 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:13:53 +00:00
mdkinney 2952f72d6d Update 8254 Timer driver to use IoLib instead of CPU I/O Protocol
Also change the default tick rate from 54 ms to 10 ms.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6243 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:12:53 +00:00
mdkinney 0f25cc149a Update Metronome driver to use the IoLib instead of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6242 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:11:49 +00:00