mirror_edk2.git
13 years agoRefine SMM USB Dispatch Protocol definition.
xli24 [Thu, 2 Jul 2009 07:16:44 +0000 (07:16 +0000)]
Refine SMM USB Dispatch Protocol definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8720 6f19259b-4bc3-4df7-8a09-765794883524

13 years agocode clean up for Security.h.
rsun3 [Thu, 2 Jul 2009 05:58:27 +0000 (05:58 +0000)]
code clean up for Security.h.

1. Incorrect comment style preceding _EFI_PEI_SECURITY_PPI.  The comments in the file have the format used to describe a function, and should have the format for a structure.
2.  Latest PEI CIS (0.91) indicates the param should be:
IN OUT BOOLEAN     *DeferExecution
whereas in the H file it's:
IN OUT BOOLEAN     *StartCrisisRecovery

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8719 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine CPU I/O Protocol definition.
xli24 [Thu, 2 Jul 2009 05:27:47 +0000 (05:27 +0000)]
Refine CPU I/O Protocol definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8718 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect element description of EFI_SMM_PERIODIC_TIMER_DISPATCH_CONTEXT.
xli24 [Thu, 2 Jul 2009 03:33:49 +0000 (03:33 +0000)]
Correct element description of EFI_SMM_PERIODIC_TIMER_DISPATCH_CONTEXT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8717 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the unknown characters.
gikidy [Thu, 2 Jul 2009 02:41:14 +0000 (02:41 +0000)]
Remove the unknown characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8716 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRemove the unknown characters.
lgao4 [Thu, 2 Jul 2009 02:35:04 +0000 (02:35 +0000)]
Remove the unknown characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8715 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd the missing LEGACY_USED definition.
lgao4 [Thu, 2 Jul 2009 02:31:56 +0000 (02:31 +0000)]
Add the missing LEGACY_USED definition.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8714 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix bugs in last code scrub.
rsun3 [Thu, 2 Jul 2009 02:01:29 +0000 (02:01 +0000)]
Fix bugs in last code scrub.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8713 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix Build failure
lgao4 [Thu, 2 Jul 2009 01:52:32 +0000 (01:52 +0000)]
Fix Build failure

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8712 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate comments for coding style.
jljusten [Thu, 2 Jul 2009 00:47:58 +0000 (00:47 +0000)]
Update comments for coding style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8711 6f19259b-4bc3-4df7-8a09-765794883524

13 years agotabs were set incorrectly in previous check in
lgr [Wed, 1 Jul 2009 21:35:11 +0000 (21:35 +0000)]
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

13 years agoChange single quote to use standard ascii character.
jljusten [Wed, 1 Jul 2009 18:18:10 +0000 (18:18 +0000)]
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

13 years agoUpdate BASE_ARG() macro to pass static analysis tools. This change should not cause...
mdkinney [Wed, 1 Jul 2009 18:05:03 +0000 (18:05 +0000)]
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

13 years agoPer code review, Update Doxygen comments - add the missing info from spec with the...
lgr [Wed, 1 Jul 2009 16:03:32 +0000 (16:03 +0000)]
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

13 years agoPer code review, Update Doxygen comments - add /// comments to protocol struct
lgr [Wed, 1 Jul 2009 15:59:08 +0000 (15:59 +0000)]
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

13 years agoPer code review, Update Doxygen comments - add /// comments from spec to data and...
lgr [Wed, 1 Jul 2009 15:57:13 +0000 (15:57 +0000)]
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

13 years agoPer code review, Update Doxygen comments - restore reference to framework spec in...
lgr [Wed, 1 Jul 2009 15:55:08 +0000 (15:55 +0000)]
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

13 years agoUpdate the Tpm12.h to the TCG TPM spec 1.2 revision
zliu3 [Wed, 1 Jul 2009 13:25:11 +0000 (13:25 +0000)]
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

13 years agoEnhance function macro EFI_PEI_PCI_CFG_ADDRESS defined in MdePkg/Include/Ppi/PciCfg2...
lgao4 [Wed, 1 Jul 2009 09:59:33 +0000 (09:59 +0000)]
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

13 years agoFix code bug to cause deal loop when no floppy device.
lgao4 [Wed, 1 Jul 2009 06:57:25 +0000 (06:57 +0000)]
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

13 years agoSynchronize the binary with modification at build tool project r1634. The modificatio...
klu2 [Wed, 1 Jul 2009 06:44:37 +0000 (06:44 +0000)]
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

13 years agoFix date/time not work for the return value of RtcRead not need type convert.
gikidy [Wed, 1 Jul 2009 06:05:41 +0000 (06:05 +0000)]
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

13 years agoIsa Floppy driver code scrub.
rsun3 [Wed, 1 Jul 2009 05:48:44 +0000 (05:48 +0000)]
Isa Floppy driver code scrub.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8697 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1. Remove SetVecotor() in SetMode().
vanjeff [Wed, 1 Jul 2009 05:25:38 +0000 (05:25 +0000)]
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

13 years agoAdd Null implementation of the Legacy Region Protocol
mdkinney [Wed, 1 Jul 2009 03:42:47 +0000 (03:42 +0000)]
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

13 years agosync tracker 210250&210253 of R8 into R9, which fix the issue of iSCSI CHAP Secret...
eric_tian [Wed, 1 Jul 2009 00:47:09 +0000 (00:47 +0000)]
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

13 years agoAdd Null implementation of the Reset System Library that generated an ASSERT() on...
mdkinney [Wed, 1 Jul 2009 00:03:38 +0000 (00:03 +0000)]
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

13 years agoAdjust the behavior of the MdePkg Print Library class to produce a consistent style...
mdkinney [Tue, 30 Jun 2009 23:13:06 +0000 (23:13 +0000)]
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

13 years ago* Modify various PCI register settings for OVMF.
jljusten [Tue, 30 Jun 2009 15:57:35 +0000 (15:57 +0000)]
* 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

13 years agoDo not update the GL-GD5446 DRAM Control register during
jljusten [Tue, 30 Jun 2009 15:57:33 +0000 (15:57 +0000)]
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

13 years agoDo not draw anything during DrawLogo.
jljusten [Tue, 30 Jun 2009 15:57:31 +0000 (15:57 +0000)]
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

13 years agoAdd MdeModulePkg/Universal/PrintDxe driver to OVMF.
jljusten [Tue, 30 Jun 2009 15:57:29 +0000 (15:57 +0000)]
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

13 years agoadd error handler to pass K8 check
eric_tian [Tue, 30 Jun 2009 07:29:19 +0000 (07:29 +0000)]
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

13 years agoAdd null instance of SmmLib in IntelFrameworkPkg.
xli24 [Tue, 30 Jun 2009 06:59:33 +0000 (06:59 +0000)]
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

13 years agoFix system memory map issue.
gikidy [Tue, 30 Jun 2009 05:47:12 +0000 (05:47 +0000)]
Fix system memory map issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8685 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoShould not use integer as boolean value for judgment.
klu2 [Tue, 30 Jun 2009 02:15:24 +0000 (02:15 +0000)]
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

13 years agoRefine the member name.
klu2 [Tue, 30 Jun 2009 01:55:22 +0000 (01:55 +0000)]
Refine the member name.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8683 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine the member name.
klu2 [Tue, 30 Jun 2009 01:55:21 +0000 (01:55 +0000)]
Refine the member name.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8682 6f19259b-4bc3-4df7-8a09-765794883524

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8681 6f19259b...
jcarsey [Mon, 29 Jun 2009 16:28:23 +0000 (16:28 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8681 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoadd security check.
vanjeff [Mon, 29 Jun 2009 09:19:25 +0000 (09:19 +0000)]
add security check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8680 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoadd assertion to pass K8 check.
eric_tian [Mon, 29 Jun 2009 09:09:59 +0000 (09:09 +0000)]
add assertion to pass K8 check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8679 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd check for memory allocation.
xli24 [Mon, 29 Jun 2009 07:29:39 +0000 (07:29 +0000)]
Add check for memory allocation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8678 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate the SCSI Disk Driver to not mount drives on physical only SCSI channels
gikidy [Mon, 29 Jun 2009 05:58:14 +0000 (05:58 +0000)]
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

13 years agoFix the bug that necessary call of SetVectorBase() is missing in the SetMode() function.
xli24 [Mon, 29 Jun 2009 04:41:20 +0000 (04:41 +0000)]
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

13 years agoFix incorrect error handling when PXE boot timeout.
gikidy [Mon, 29 Jun 2009 03:42:33 +0000 (03:42 +0000)]
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

13 years agofixed ecc and k8 issues.
vanjeff [Mon, 29 Jun 2009 03:21:03 +0000 (03:21 +0000)]
fixed ecc and k8 issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8674 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate Copyright. Delete erroneous "Module Name" line.
darylm503 [Fri, 26 Jun 2009 19:44:34 +0000 (19:44 +0000)]
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

13 years agoUpdated copyright. Deleted erroneous "Module Name" line. Changed preceding macro...
darylm503 [Fri, 26 Jun 2009 19:36:51 +0000 (19:36 +0000)]
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

13 years agoChanged Copyright to 2006-2009 to reflect original through current revisions. Delete...
darylm503 [Fri, 26 Jun 2009 19:09:39 +0000 (19:09 +0000)]
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

13 years agoCoding style clean-up.
rsun3 [Fri, 26 Jun 2009 08:40:09 +0000 (08:40 +0000)]
Coding style clean-up.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8670 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate code style.
lgao4 [Fri, 26 Jun 2009 08:39:21 +0000 (08:39 +0000)]
Update code style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b...
jchen20 [Fri, 26 Jun 2009 07:14:08 +0000 (07:14 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoEnhance error handle of BuildDevicePath for it is possible to receive other errors.
gikidy [Fri, 26 Jun 2009 06:29:00 +0000 (06:29 +0000)]
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

13 years agoVerified some definitions of DataHubRecord.
gikidy [Fri, 26 Jun 2009 06:16:33 +0000 (06:16 +0000)]
Verified some definitions of DataHubRecord.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8666 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoClean up ECC.
vanjeff [Fri, 26 Jun 2009 03:33:17 +0000 (03:33 +0000)]
Clean up ECC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8665 6f19259b-4bc3-4df7-8a09-765794883524

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8664 6f19259b...
jchen20 [Fri, 26 Jun 2009 03:28:05 +0000 (03:28 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8664 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCode scrub for IdeBusDxe driver
jchen20 [Fri, 26 Jun 2009 03:23:08 +0000 (03:23 +0000)]
Code scrub for IdeBusDxe driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8663 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCode scrub for PCI Bus module and PciIncompatibleDeviceSupportLib module.
vanjeff [Thu, 25 Jun 2009 13:47:45 +0000 (13:47 +0000)]
Code scrub for PCI Bus module and PciIncompatibleDeviceSupportLib module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8662 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoupdate the comments on Event
eric_tian [Thu, 25 Jun 2009 09:09:21 +0000 (09:09 +0000)]
update the comments on Event

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8661 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect DriverSample ConfigAcess protocol ExtractConfig interface.
lgao4 [Thu, 25 Jun 2009 09:08:30 +0000 (09:08 +0000)]
Correct DriverSample ConfigAcess protocol ExtractConfig interface.
Correct SetupBrowser to set default value for default sting ID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8660 6f19259b-4bc3-4df7-8a09-765794883524

13 years agocode scrub on Ps2MouseDxe/Ps2MouseAbsolutePointer module
eric_tian [Thu, 25 Jun 2009 08:42:53 +0000 (08:42 +0000)]
code scrub on Ps2MouseDxe/Ps2MouseAbsolutePointer module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8659 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoClean up Library LzmaCustomDecompressLib, PeiRecoveryLib and driver SectionExtraction
lgao4 [Thu, 25 Jun 2009 08:40:49 +0000 (08:40 +0000)]
Clean up Library LzmaCustomDecompressLib, PeiRecoveryLib and driver SectionExtraction

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8658 6f19259b-4bc3-4df7-8a09-765794883524

13 years agocode scrub on Ps2MouseDxe module
eric_tian [Thu, 25 Jun 2009 08:27:12 +0000 (08:27 +0000)]
code scrub on Ps2MouseDxe module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8657 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoExtend the max number of interface to 128 and correct the display of eth name.
gikidy [Thu, 25 Jun 2009 06:18:32 +0000 (06:18 +0000)]
Extend the max number of interface to 128 and correct the display of eth name.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8656 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUse UNI file string to display Boot Option for language localization.
gikidy [Thu, 25 Jun 2009 04:44:45 +0000 (04:44 +0000)]
Use UNI file string to display Boot Option for language localization.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8655 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofix build failure.
eric_tian [Thu, 25 Jun 2009 03:15:56 +0000 (03:15 +0000)]
fix build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8654 6f19259b-4bc3-4df7-8a09-765794883524

13 years agochange the enum field name convention to pass ECC
eric_tian [Thu, 25 Jun 2009 03:14:12 +0000 (03:14 +0000)]
change the enum field name convention to pass ECC

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8653 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoroll back r8590 patch
eric_tian [Thu, 25 Jun 2009 02:07:10 +0000 (02:07 +0000)]
roll back r8590 patch

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8652 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix build warning of implicitly pointer casting
klu2 [Wed, 24 Jun 2009 19:12:35 +0000 (19:12 +0000)]
Fix build warning of implicitly pointer casting

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8651 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoadd assertion to ensure ACPI table is checksumed.
eric_tian [Wed, 24 Jun 2009 09:44:32 +0000 (09:44 +0000)]
add assertion to ensure ACPI table is checksumed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8650 6f19259b-4bc3-4df7-8a09-765794883524

13 years agodo checksum before installing IBFT.
eric_tian [Wed, 24 Jun 2009 09:39:47 +0000 (09:39 +0000)]
do checksum before installing IBFT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8649 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix the potential issue that using integrate as BOOLEAN value in judgment.
klu2 [Wed, 24 Jun 2009 08:41:14 +0000 (08:41 +0000)]
Fix the potential issue that using integrate as BOOLEAN value in judgment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8648 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUse INTN to case the result of subtract
klu2 [Wed, 24 Jun 2009 07:50:36 +0000 (07:50 +0000)]
Use INTN to case the result of subtract

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8647 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoExplicit to judge whether Index is out of boundary.
klu2 [Wed, 24 Jun 2009 07:42:19 +0000 (07:42 +0000)]
Explicit to judge whether Index is out of boundary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8646 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd NULL checking for input parameter.
klu2 [Wed, 24 Jun 2009 07:04:45 +0000 (07:04 +0000)]
Add NULL checking for input parameter.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8645 6f19259b-4bc3-4df7-8a09-765794883524

13 years ago1) Add blank before @file to follows doxygen style.
klu2 [Wed, 24 Jun 2009 06:29:12 +0000 (06:29 +0000)]
1) Add blank before @file to follows doxygen style.
2) Adjust function order to avoid pre-declaration for function prototype.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8644 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine comments
klu2 [Wed, 24 Jun 2009 06:21:49 +0000 (06:21 +0000)]
Refine comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8643 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine comments.
klu2 [Wed, 24 Jun 2009 06:13:43 +0000 (06:13 +0000)]
Refine comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8642 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoThis patch includes:
klu2 [Wed, 24 Jun 2009 05:49:49 +0000 (05:49 +0000)]
This patch includes:
1) Update and refine functions/header files comments
2) Try to use LinkedList library instance produced by BaseLib but not access linked list via pointer directly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8641 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate code style and comments
lgao4 [Wed, 24 Jun 2009 05:33:36 +0000 (05:33 +0000)]
Update code style and comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8640 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRefine the comments for IntelFrameworkPkg/Include/Protocol/DataHub.h
klu2 [Wed, 24 Jun 2009 03:01:38 +0000 (03:01 +0000)]
Refine the comments for IntelFrameworkPkg/Include/Protocol/DataHub.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8639 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove the self-implementation on checksum() in this module by using BaseLib.
eric_tian [Wed, 24 Jun 2009 02:32:30 +0000 (02:32 +0000)]
remove the self-implementation on checksum() in this module by using BaseLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8638 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoremove the self-implementation on checksum() in this module by using BaseLib.
eric_tian [Wed, 24 Jun 2009 02:30:53 +0000 (02:30 +0000)]
remove the self-implementation on checksum() in this module by using BaseLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8637 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCode scrub for IdeBusDxe driver
jchen20 [Wed, 24 Jun 2009 02:21:05 +0000 (02:21 +0000)]
Code scrub for IdeBusDxe driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8636 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate structure's comments to doxygen style.
klu2 [Wed, 24 Jun 2009 02:18:54 +0000 (02:18 +0000)]
Update structure's comments to doxygen style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8635 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoRestore Include/Library/ShellCEntryLib.h. Cleanup function and
jljusten [Tue, 23 Jun 2009 21:40:29 +0000 (21:40 +0000)]
Restore Include/Library/ShellCEntryLib.h.  Cleanup function and
function prototype comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8634 6f19259b-4bc3-4df7-8a09-765794883524

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8633 6f19259b...
jcarsey [Tue, 23 Jun 2009 21:15:07 +0000 (21:15 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8633 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix a syntax error. There was an extra closing parenthesis: ')'
jljusten [Tue, 23 Jun 2009 18:30:45 +0000 (18:30 +0000)]
Fix a syntax error.  There was an extra closing parenthesis: ')'

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8632 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSet the SMI port in the ACPI FACP table to 0. This signals to the
jljusten [Tue, 23 Jun 2009 18:30:44 +0000 (18:30 +0000)]
Set the SMI port in the ACPI FACP table to 0.  This signals to the
ACPI Operating System that a transition from SMI to SCI mode is not
required.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8631 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoMake 0xa0000 - 0xb0000 I/O memory.
jljusten [Tue, 23 Jun 2009 18:30:43 +0000 (18:30 +0000)]
Make 0xa0000 - 0xb0000 I/O memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8630 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix some potential buffer overflow issue.
klu2 [Tue, 23 Jun 2009 09:36:17 +0000 (09:36 +0000)]
Fix some potential buffer overflow issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8629 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofixed Unix GCC build issue.
vanjeff [Tue, 23 Jun 2009 09:31:41 +0000 (09:31 +0000)]
fixed Unix GCC build issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8628 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoFix potential buffer overflow issue.
klu2 [Tue, 23 Jun 2009 08:57:31 +0000 (08:57 +0000)]
Fix potential buffer overflow issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8627 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoAdd more checking to avoid the buffer overflow.
klu2 [Tue, 23 Jun 2009 08:42:38 +0000 (08:42 +0000)]
Add more checking to avoid the buffer overflow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8626 6f19259b-4bc3-4df7-8a09-765794883524

13 years agorefine VariablePei driver to unify the algorithm of access VariableIndexTable among...
eric_tian [Tue, 23 Jun 2009 08:30:04 +0000 (08:30 +0000)]
refine VariablePei driver to unify the algorithm of access VariableIndexTable among various archs.
1. record the distance of two neighboring VAR_ADDED type variables rather than the offset of each variable. As the field recording this info is UINT16 width, the latter causes in IA32/X64 platform, it can only cache those variables from offset 0 to offset 2^16; in IPF platform, from offset 0 to offset 2^18(extend the scope by left-shift the offset two bits).
when taking the former algorithm, the max range of caching variable is from offset 0 to offset 122*(2^16)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8625 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoClean up meta data and code scrub for PCI Bus module.
vanjeff [Tue, 23 Jun 2009 07:19:00 +0000 (07:19 +0000)]
Clean up meta data and code scrub for PCI Bus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8624 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSynchronize the binary with build tools' source at r1630 which fix the issue that...
klu2 [Tue, 23 Jun 2009 05:42:02 +0000 (05:42 +0000)]
Synchronize the binary with build tools' source at r1630 which fix the issue that the dependency of some header files is missed in Gnu makefile

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8623 6f19259b-4bc3-4df7-8a09-765794883524

13 years agofixed one bug causing "sct -u" failure when running at twice or more times.
vanjeff [Mon, 22 Jun 2009 07:55:37 +0000 (07:55 +0000)]
fixed one bug causing "sct -u" failure when running at twice or more times.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8622 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoCorrect the code format.
lgao4 [Mon, 22 Jun 2009 06:02:05 +0000 (06:02 +0000)]
Correct the code format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8621 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoThis patch includes:
klu2 [Mon, 22 Jun 2009 03:01:53 +0000 (03:01 +0000)]
This patch includes:
1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code.
2) Correct the shell binary file path which is changed by recently.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524