Commit Graph

8114 Commits

Author SHA1 Message Date
lgao4 55db3d4442 Remove the unknown characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8715 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 02:35:04 +00:00
lgao4 f0d6194dfa Add the missing LEGACY_USED definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8714 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 02:31:56 +00:00
rsun3 2101c62ad0 Fix bugs in last code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8713 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 02:01:29 +00:00
lgao4 c453660804 Fix Build failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8712 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 01:52:32 +00:00
jljusten ac9868ecb8 Update comments for coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8711 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 00:47:58 +00:00
lgr 412fb9ef2d tabs were set incorrectly in previous check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8709 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 21:35:11 +00:00
jljusten b4420c3607 Change single quote to use standard ascii character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8708 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 18:18:10 +00:00
mdkinney 2229029afc Update BASE_ARG() macro to pass static analysis tools. This change should not cause any changes in behavior
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8707 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 18:05:03 +00:00
lgr 04dd6cc01a Per code review, Update Doxygen comments - add the missing info from spec with the description,
params and retvals that vary for each value in the mode enums.  
Correct some func parameter modifiers and retvals

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8706 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 16:03:32 +00:00
lgr ef775b0f1d Per code review, Update Doxygen comments - add /// comments to protocol struct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8705 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 15:59:08 +00:00
lgr 053d977438 Per code review, Update Doxygen comments - add /// comments from spec to data and protocol struct.
Add some missing retval's to func comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8704 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 15:57:13 +00:00
lgr c3b35b6099 Per code review, Update Doxygen comments - restore reference to framework spec in header, add /// comments from spec to data and protocol structs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8703 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 15:55:08 +00:00
zliu3 1919913f7b Update the Tpm12.h to the TCG TPM spec 1.2 revision
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8702 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 13:25:11 +00:00
lgao4 de1fad6887 Enhance function macro EFI_PEI_PCI_CFG_ADDRESS defined in MdePkg/Include/Ppi/PciCfg2.h to generate the correct Address for PI PciCfg PPI when bus number is larger than 127 and reg is less than 256. And Enhance function macro EFI_PEI_PCI_CFG_ADDRESS to handle that reg is larger than and equal to 256.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8701 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 09:59:33 +00:00
lgao4 61efb259fb Fix code bug to cause deal loop when no floppy device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:57:25 +00:00
klu2 e8c42f8a7d Synchronize the binary with modification at build tool project r1634. The modification is adjusting the regular expression to handle more "#include" case when build tool calculate the dependency for source file. This modification has been tested under UNIX and MSFT tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8699 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:44:37 +00:00
gikidy 9a1eee2339 Fix date/time not work for the return value of RtcRead not need type convert.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8698 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:05:41 +00:00
rsun3 d6321d6ef9 Isa Floppy driver code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8697 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 05:48:44 +00:00
vanjeff b63f669a8a 1. Remove SetVecotor() in SetMode().
2. Change initialized legacy interrupt mask value to 0xffff to disable all interrupts at the beginning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8696 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 05:25:38 +00:00
mdkinney 78d6366d68 Add Null implementation of the Legacy Region Protocol
This module may be used on platforms that do not have the ability to manage the legacy regions or as a template module for implementing support for legacy regions




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8695 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 03:42:47 +00:00
eric_tian c2c1e4504b sync tracker 210250&210253 of R8 into R9, which fix the issue of iSCSI CHAP Secret UI allows the minimum number of 13 characters while the spec only requires 12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8694 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 00:47:09 +00:00
mdkinney 064d5de378 Add Null implementation of the Reset System Library that generated an ASSERT() on all reset APIs.
This library can be used as a template to implement a Reset System Library for a specific platform.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8693 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 00:03:38 +00:00
mdkinney c553db4b78 Adjust the behavior of the MdePkg Print Library class to produce a consistent style of EOL characters.
Previously, the Print Library class would translate '\n' to '\n\r'.

With this update, the following EOL translations are performed:
1) '\r' to '\r'
2) '\r\n' to '\r\n'
3) '\n' to '\r\n'
4) '\n\r' to '\r\n'


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8692 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 23:13:06 +00:00
jljusten 40f2c45434 * Modify various PCI register settings for OVMF.
* Clear the screen following connect-all so the logo does not
  appear over the shell text.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8691 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 15:57:35 +00:00
jljusten 85f8bc32d4 Do not update the GL-GD5446 DRAM Control register during
InitializeGraphicsMode.  The update of this register would
cause the xorg-cirrus driver to mis-detect the size of
video memory for the QEMU cirrus video device.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8690 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 15:57:33 +00:00
jljusten 8c5c1f32a5 Do not draw anything during DrawLogo.
Previously a series of diagonal color lines would be drawn to the
screen, and then quickly replaced by the boot logo.  Now the
screen will remain black until the boot logo is shown.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8689 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 15:57:31 +00:00
jljusten 86fef5b4d7 Add MdeModulePkg/Universal/PrintDxe driver to OVMF.
Move many libraries to Libraries.common section.

Add basic UEFI_APPLICATION libraries to allow applications
to be easily added to OVMF builds.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8688 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 15:57:29 +00:00
eric_tian 653ef62ee9 add error handler to pass K8 check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8687 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 07:29:19 +00:00
xli24 a56678b8ce Add null instance of SmmLib in IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8686 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 06:59:33 +00:00
gikidy d569cbb0d1 Fix system memory map issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8685 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 05:47:12 +00:00
klu2 5540f4aa18 Should not use integer as boolean value for judgment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8684 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 02:15:24 +00:00
klu2 184f7d83d7 Refine the member name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8683 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 01:55:22 +00:00
klu2 201e40668d Refine the member name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8682 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 01:55:21 +00:00
jcarsey b82bfcc17f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8681 6f19259b-4bc3-4df7-8a09-765794883524 2009-06-29 16:28:23 +00:00
vanjeff 894d038a8d add security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8680 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 09:19:25 +00:00
eric_tian f2a064736d add assertion to pass K8 check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8679 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 09:09:59 +00:00
xli24 1fa282ec23 Add check for memory allocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8678 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 07:29:39 +00:00
gikidy d14faa5275 Update the SCSI Disk Driver to not mount drives on physical only SCSI channels
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8677 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 05:58:14 +00:00
xli24 248e14f111 Fix the bug that necessary call of SetVectorBase() is missing in the SetMode() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8676 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 04:41:20 +00:00
gikidy 39941daf90 Fix incorrect error handling when PXE boot timeout.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8675 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 03:42:33 +00:00
vanjeff 9c10bff352 fixed ecc and k8 issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8674 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 03:21:03 +00:00
darylm503 5ba364466d Update Copyright. Delete erroneous "Module Name" line.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8673 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 19:44:34 +00:00
darylm503 8d129536f9 Updated copyright. Deleted erroneous "Module Name" line. Changed preceding macro, enum, and structure comments to Doxygen style. Changed existing structure member comments to Doxygen style. Cleaned up some comment blocks to conform to the coding specification. Changed @bug comments on structure members to the postfix style so that the correct members are documented. Removed duplicate, orphan, EFI_TO_COMPATIBILITY16_BOOT_TABLE comment and move remaining comment to the correct location. Add descriptive comment to terminating #endif.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8672 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 19:36:51 +00:00
darylm503 c7ab4e83a6 Changed Copyright to 2006-2009 to reflect original through current revisions. Deleted the Module Name line. Changed "Firmware Volume Block Attributes" comments to Doxygen Style and grouped the #defines together under that comment. EFI_FVB_CAPABILITIES macro Values were not aligned. Alignment made it unclear whether this was a simple or parameterized macro. Enhanced comments to make this clear. Re-aligned the EFI_TEST_FFS_ATTRIBUTES_BIT macro to make it easier to read. Added an identifying comment to the terminating #endif.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8671 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 19:09:39 +00:00
rsun3 0a2dfa1996 Coding style clean-up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8670 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:40:09 +00:00
lgao4 91c681977b Update code style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:39:21 +00:00
jchen20 9b90631549 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524 2009-06-26 07:14:08 +00:00
gikidy ef13cf23ee Enhance error handle of BuildDevicePath for it is possible to receive other errors.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8667 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 06:29:00 +00:00
gikidy a244f400e5 Verified some definitions of DataHubRecord.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8666 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 06:16:33 +00:00
vanjeff ae358cb21b Clean up ECC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8665 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 03:33:17 +00:00