Commit Graph

2158 Commits

Author SHA1 Message Date
myronporter a89fa50ccf Clarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval EFI_INVALID_PARAMETER lines. 171 & 321.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10248 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15 17:28:58 +00:00
qhuang8 5209f2a9fb Remove one leftover in protocol definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10244 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15 02:57:43 +00:00
myronporter 809bd7b3c9 Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10237 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 23:19:05 +00:00
myronporter 8c18db2750 Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10236 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 23:09:20 +00:00
myronporter af2dc6a70b Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10235 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 22:19:12 +00:00
geekboy15a 52aa9e136b Updating processor bindings to not use stdint.h. Also added code to verify at compile time that data widths are correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10232 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-11 20:52:54 +00:00
jyao1 21e66ee89f Move SmmCoreSmmServicesTableLib from MdePkg to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10203 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 04:04:36 +00:00
jyao1 b5cc527ea9 Add SmmCore SmmServicesTable library.
This library should be used and only used by SmmCore, (compare with SmmServicesTable Lib is used and only used by SmmDriver)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10202 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 03:52:12 +00:00
qhuang8 1bcef8bdf2 Update MdePkg revision to 1.02
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10201 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 03:21:41 +00:00
qhuang8 233af82b52 Move to SmmServicesTableLib to IA32, x64 arch sub section to align with SmmLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10187 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:36:08 +00:00
xli24 029f9e857e Add SmmLib info to MdePkg.dec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10185 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:23:16 +00:00
hhuan13 06ba53cc28 Remove SMM_CORE from SmmServicesTableLib.inf that is dedicated for DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10183 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 08:32:54 +00:00
qhuang8 90e724b1ec Minor update the package description as MdePkg now contains the definitions in UEFI 2.3 and PI 1.2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10169 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 10:09:39 +00:00
klu2 9dbad162da Removing "Ex" in PI PCD_PPI/PROTOCOL's interface according to PI 1.2 latest update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10167 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 08:53:41 +00:00
qhuang8 a1749b8045 Fix some minor coding style issue for doxygen document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10156 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 08:53:02 +00:00
jchen20 6b12cc470b remove the Framework version of EFI_S3_RESUME2_PPI defintion which is already added to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10153 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 06:21:08 +00:00
ljin6 c4f4112b7c Remove some comments according to the latest UEFI Spec 2_3_Errata_B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10152 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 03:13:22 +00:00
rsun3 7942fd2a65 Remove comments about in-consistency between code and UEFI/PI spec because UEFI 2.3 Errata B and PI 1.2 Errata A spec were published.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10143 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:03:46 +00:00
vanjeff bce46f7e10 remove some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10141 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:00:28 +00:00
jchen20 202c9c8d38 add the PI version of EFI_S3_RESUME2_PPI defintion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10139 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 07:16:54 +00:00
vanjeff 8f79ed8124 roll back some changing since it was not complete.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10136 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:52:48 +00:00
vanjeff d6b58d3219 updated definitions of PCD PPI/Protocol per latest UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10134 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:14:46 +00:00
mdkinney be04587c86 Remove assumption that the transition code for transitioning from 64-bit to 32-bit mode is 64 bytes. Instead compute the size based on the implementation in the ASM file.
Update logic to align new 32-bit stack on a 4 byte boundary
Update logic to prevent one slot overlap between the transition code and the new stack.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10133 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 05:35:20 +00:00
lgao4 2bf0d83532 Add the fixed checksum value 0xAA of FFS header according to the latest PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10124 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 23:53:41 +00:00
xli24 53f3249595 Update SEC Platform Information PPI according to PI 1.2 errata A.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10118 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 15:37:52 +00:00
gdong1 7fedcf9d2a Update comments by UEFI approved Errata revision 'B'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10117 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 10:57:24 +00:00
qhuang8 0ff3221872 Remove notice as it gets to publish in newest PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10114 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 11:42:57 +00:00
lgao4 a1e98f78be According to the latest UEFI 2.3 errata B, the following changes are made:
1.EFI_IMAGE_EXECUTION_INFO structure.Signature field.
2.HiiConfigAccess.ExtractConfig function comments
3.HiiConfigRouting.ExtractConfig, BlockToConfig and GetAltConfig function comments.
4.Remove not in public UEFI spec comments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10113 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:27:59 +00:00
xli24 ded5aa23eb Correct description for return status code of PEI service AllocatePages(), according to PI 1.2 errata A.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10111 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:16:55 +00:00
xli24 9eec5948ab Refine parameter description according to PI 1.2 errata A.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10110 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:56:52 +00:00
xdu2 4ccd9566c1 Remove notice for PXE_OPFLAGS_GET_MEDIA_STATUS and PXE_STATFLAGS_GET_STATUS_NO_MEDIA_xxx, these definitions are available in latest UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10107 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:09:40 +00:00
hhuan13 79a42176c6 Move EFI_SMRAM_DESCRIPTOR into PiMultiPhase.h. Since the top level includes in the other packages all include PiPei.h or PiDxe.h, and PiPei.h and PiDxe.h both include PiuMultiPhase.h, EFI_SMRAM_DESCRIPTOR will be declared for SMM Access 2 Protocol and the SmramMemoryReserve GUIDed HOB.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10105 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 06:09:57 +00:00
klu2 0126845e7d Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10071 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:26:33 +00:00
lgao4 2573712e01 Enhance SetupBrowser to support new UEFI HiiFormMap feature
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 10:10:59 +00:00
lgao4 e13288c248 Correct Copyright year format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10054 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 01:42:12 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
klu2 28b5f7c062 Disable interrupt when changing IDTR register.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10046 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 07:32:20 +00:00
qhuang8 f18f2882e9 Temporarily remove the C implementation of some GCC assembly files in MdePkg. They are kept in repository and will be re-evaluate later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10045 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 04:56:55 +00:00
klu2 450ec0ed87 Correct the table's version according to PI/UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10033 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 03:31:44 +00:00
mdkinney 95572bd1b8 Remove SMM_CORE as a supported module type for the MemoryAllocationLib instance that uses UEFI Boot Services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10008 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-15 18:16:05 +00:00
mdkinney 1b45a67165 Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10002 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 06:00:11 +00:00
mdkinney c819c01665 Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10001 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:59:31 +00:00
mdkinney 53b85bcbf0 1) Remove dependency on the UEFI Boot Services Table Library so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
2) Remove redundant include of <PiDxe.h>
3) Clean up constructor to use InSmm() library function instead of duplicating logic.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:49:44 +00:00
mdkinney 112af4265f Remove constructor from this library. This library already has SMM CPU I/O 2 in its [Depex], so any module using this library will not be dispatched until the SMM CPU I/O 2 Protocol is installed into the SMM handle database and also copied into the SMM Services Table.
The worker functions in this library have also been updated to simply use the instance of the SMM CPU I/O 2 Protocol that is present in the SMM Services Table.

The dependency on the UEFI Boot Services Table Library has also been removed so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9999 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:47:00 +00:00
xdu2 993702aa7b Add media status relative definition to UEFI PXE header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9993 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12 08:45:07 +00:00
mdkinney 0628eb2c76 Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed.
There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib.  If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9982 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 03:55:26 +00:00
lgao4 d6a82eaf8d Update HiiString Protocol and HiiSetString Api in HiiLib
1. Reserve the unique string identifier for all languages in the package list. 
2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9954 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-09 07:12:35 +00:00
xdu2 c5c3e7e25c Add EFI_NO_MEDIA status code to network APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9917 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 04:37:11 +00:00
qhuang8 ca142c9e1e Remove the unnecessary header files inclusion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9914 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 02:59:58 +00:00
erictian 5ee9264acc wrap ASSERT_LOCKED macro with MDEPKG_NDEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9907 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02 03:21:46 +00:00
qhuang8 cb6cb44c1a Minor update to fix typos and update the file to use \r\n as end of line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9901 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 13:03:17 +00:00
li-elvin 3507ab19e4 Update SMBIOS.h to SMBIOS 2.6.1 version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9892 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 02:52:45 +00:00
qhuang8 a0720bb82b Add missing dependency expression for some library instances in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9891 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 02:48:17 +00:00
mdkinney 9fddf05b7e Remove extra #Include
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9890 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 00:34:13 +00:00
gdong1 75dad611c8 Move the definitions defined for User Manager protocol from UserCredential.h to UserManager.h to align with UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9861 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 10:26:04 +00:00
mdkinney 254d6680cc Add missing [Depex]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9860 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 04:51:57 +00:00
ljin6 5fb89a0b2f Add PXE Tag Definitions for IA32/X64/Arm/IPF architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9847 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 08:10:59 +00:00
mdkinney 0bce7349f5 Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9840 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 22:59:52 +00:00
qhuang8 710a340911 Fix incorrect array size
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9835 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 04:21:19 +00:00
qhuang8 ea6898b902 Clean up MdePkg source to correct some coding style issues, etc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9832 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 03:25:28 +00:00
qhuang8 2d36815641 Fix incorrect Edk revision number in last commit
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9819 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:18:33 +00:00
qhuang8 c3117889c4 Add change log for the incompatible changes in MdePkg in Edk r9817.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9818 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:16:13 +00:00
qhuang8 4777d7fc9e Scrub EFI_ATA_IDENTIFY_DATA and EFI_ATAPI_IDENTIFY_DATA to strict follow ATA-8 spec in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9817 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:14:54 +00:00
qhuang8 00b0796e07 Fix typo in Monotonic Counter GUID macro name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9806 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 07:49:05 +00:00
tye1 6e19836f22 Define EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over IPv6.
It's not consistent with the current UEFI2.3 spec, but it's supposed to updated in the next version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9802 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 03:15:50 +00:00
lgao4 89b11f0557 Correct the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9771 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:59:54 +00:00
qhuang8 cded62189e Add type-cast to fix build break for IA32 arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9768 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:38:31 +00:00
AJFISH 42db19acc1 Fix gcc warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9765 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 00:01:20 +00:00
AJFISH 225290eba7 Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 23:39:29 +00:00
mdkinney 7c1c4dcf78 Clean up format of comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9762 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 22:57:30 +00:00
mdkinney 0b70a697a6 Clean up comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9759 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 21:45:28 +00:00
rsun3 8c6d73fb6b Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9743 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 05:38:04 +00:00
mdkinney 758fd817cf Fix formatting
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9740 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:48:36 +00:00
mdkinney 80ae2a5874 Clean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
Minor clean up to PeiIoLibCpuIo.inf




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9739 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:43:31 +00:00
mdkinney 8fc71decbe Change SMM CPU I/O to SMM CPU I/O 2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9735 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:20:04 +00:00
mdkinney 66b631f5e0 Remove extra reference to SmmCpuIo.h
Minor clean ups to INF



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9733 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 02:25:24 +00:00
eric_tian 8fe69f133e disable ICC compiler warning #593: variable was set but never used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9705 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-11 02:29:54 +00:00
jchen20 11f4ce066d the 1st paramter of the function prototype lost the "CONST" keyword which is not complied with Spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9637 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:11:01 +00:00
xli24 41335d2244 Publish definition of MCA/INIT/PMI Protocol & ESAL, as introduced in PI 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9616 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:20:37 +00:00
vanjeff e8ade0efd0 replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9615 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:10:56 +00:00
davidhuang b7c5912af1 PI 1.1 SMM Feature Check-in
1. Add SmmServicesTableLib library class/instance.
2. Add SmmIoLibCpuIo/SmmPciLibPciRootBridgeIo library instance.
3. Update some library INF to support SMM_CORE module type.
4. Update dec/dsc to include new modules.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9590 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:44:33 +00:00
qhuang8 8f635c36ad Fix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL terminated the final destination string when Length is equal to the length of Source string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9588 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 01:50:10 +00:00
gdong1 d14d2707ea Add variable definitions of user identification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9581 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 04:48:19 +00:00
davidhuang f711436ba5 1. Fix a bug encounter in build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9577 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 08:06:29 +00:00
davidhuang d64527e50d To avoid naming conflicts between PI SMMBASE2 Protocol/FRAMEWORK SMM Base Protocol
1. Change PI definition EFI_SMM_COMMUNICATE  to EFI_SMM_COMMUNICATE2
2. Change PI definition EFI_SMM_INSIDE_OUT to EFI_SMM_INSIDE_OUT2
3. Change PI definition EFI_SMM_GET_SMST_LOCATION to EFI_SMM_GET_SMST_LOCATION2

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9575 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 07:59:09 +00:00
eric_tian c9ec70470d Introduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code size when compiler optimization is disabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9560 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-14 06:26:27 +00:00
rsun3 65d02573b8 Improve status codes returned for functions of EFI_TCG_PROTOCOL. Note that after change, status codes returned for functions of EFI_TCG_PROTOCOL do not exactly match those defined in the TCG EFI Protocol 1.20 Final Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9552 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 04:32:30 +00:00
xli24 d69f66d6e3 Add return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9551 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 02:59:04 +00:00
qhuang8 8546d5a694 Add missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9550 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 01:08:51 +00:00
lgao4 c083f7caef Directly use FALSE when BootPolicy is FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9540 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08 05:28:03 +00:00
eric_tian 56385d4987 1. fix the wrong description, change "target the buffer" to "the target buffer"
2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9530 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:48:53 +00:00
eric_tian 6741aad96b according to IA32 intel architecture spec, mwait instuction needs not the operands.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9527 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:15:00 +00:00
eric_tian 0e121f5551 fix GCC build issue, mWait instruction need not the operands.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9526 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:31:44 +00:00
lgao4 3f27582684 Add the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9521 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:04:34 +00:00
AJFISH 1afe0401f4 Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9520 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-06 02:01:54 +00:00
mdkinney f7753a96ba Add SetMemN() and ScanMemN() to the BaseMemoryLib class and all BaseMemoryLib implementations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9517 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-05 18:48:52 +00:00
klu2 c6204371fd Prompt the PI specification version to 1.20 and UEFI specification version to 2.30, for PEI_SERVICES_TABLE, DXE_SERVICES_TABLE, EFI_BOOT_SERVICES_TABLE, EFI_RUNTIME_SERVICES_TABLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9513 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:10:28 +00:00
lgao4 e191bb1430 Add more check for local FileInfo variable before it is used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9506 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-02 10:13:24 +00:00
davidhuang f981c39b38 1. Fix a bug. (Changing EFI_SMM_SYSTEM_TABLE -> EFI_SMM_SYSTEM_TABLE2 for SmmBase2.h)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9505 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-02 07:05:21 +00:00
lgao4 95dd343a4b Make MEDIA DEVICE PATH on 2 byte aligned to avoid the access to unaligned device path node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9503 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-01 10:29:39 +00:00
jcarsey ad5ecf12d2 typo in comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9498 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-01 00:22:46 +00:00
jchen20 8c803876e3 Add PI complied S3 implementation. Move the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from protocol directory to Pi directory since the S3 related Library need these definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9490 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 05:24:31 +00:00
lgao4 847166140a Add new GetFileBufferByFilePath API into DxeServicesLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9486 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-26 00:44:07 +00:00
klu2 441ff98cba Fix a typo bug that miss &
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9475 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 11:01:07 +00:00
klu2 0c561f4175 Explicitly cast PCD_CALLBACK to EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK) to avoid warning. PCD_CALLBACK in EDKII implementation is compatible with EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9474 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 08:09:58 +00:00
klu2 ec735bb205 1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
2, DxePcdLib use EFI_PCD_PROTOCOL defined in PI 1.2 to handle dynamicEx type PCD request.
3, There is no change for dynamic type PCD.
4, Refine the INF's comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9473 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-24 03:29:57 +00:00
jljusten a32c6dcf3e MdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location
EFI_AP_PROCEDURE was defined equivalently in two locations:
1. MdePkg/Include/Pi/PiSmmCis.h
2. MdePkg/Include/Protocol/MpService.h

This change moves the definition to a common file:
* MdePkg/Include/Pi/PiDxeCis.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9470 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 23:16:04 +00:00
qhuang8 7bbae07531 Simplify the @attention statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9467 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 01:50:52 +00:00
qhuang8 e3f903d547 Minor update the comments style for LegacyRegion2 protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9466 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-23 01:48:49 +00:00
mdkinney cbca8de588 1) Add new BaseLib API GetPreviousNode()
2) Clarify comment for the value returned from GetNextNode() if the end of list is reached.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9464 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-21 21:57:11 +00:00
mdkinney e1da91ad12 Add reserved field to SAL_UPDATE_PAL_DATA_BLOCK so it is padded out to 64-bytes to match the SAL Specification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9463 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 23:31:52 +00:00
jljusten 5d967a7fba Protocol/SmmCpuIo.h: Fix build warning on GCC
A new type was not being defined, so the typedef was unneccesary.
GCC warning: "useless storage class specifier in empty declaration"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9462 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 22:16:14 +00:00
qhuang8 23bb88ecb5 Add LegacyRegion 2 protocol definition in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9459 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 05:38:28 +00:00
rsun3 a2bb197e80 Rename PI SMM definitions which has same name with those of Framework SMM spec but with different content (Note these renamings are not yet in public PI spec or errata now); Remove common definitions shared between PI and Framework Spec from include files for Framework SMM Spec, and change includes files for Framework SMM Spec to include PI SMM include files. The goal is to allow a module include both PI and Framework SMM definitions without conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9453 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 03:21:02 +00:00
qhuang8 3227f99545 Fix some unicode characters in source file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9442 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 04:14:42 +00:00
qhuang8 25a1f91d48 Add PI 1.2 CPU I/O 2 protocol definitions. This is boot time only protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9440 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 04:10:33 +00:00
xli24 255f993d70 Fix parameter name in function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9439 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 15:12:11 +00:00
xli24 5a9403b8f3 Following 3 updates are for spec update published in PI 1.2.
1. Rename EFI_PEI_NEXT_VARIABLE_NAME2 to EFI_PEI_GET_NEXT_VARIABLE_NAME2, as PI 1.2 specifies.
2. Add return status description for PEI Service FfsGetVolumeInfo.
3. Update parameter description for EFI_PEI_READ_ONLY_VARIABLE2_PPI.NextVariableName().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9438 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 15:00:28 +00:00
klu2 6a8e44d9c6 Add ASM_PFX() for exposed symoble from assemble to C
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9435 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 06:52:34 +00:00
xdu2 df8d0595dc Update function description to be consistent with code definition: HEX_RADIX => RADIX_HEX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 01:46:51 +00:00
rsun3 f57525fabe There should be no CONST modifier for the This parameter of EFI_SMM_ACCESS2_PROTOCOL.Open()/Close()/Lock() because LockState or OpenState field of the EFI_SMM_ACCESS2_PROTOCOL may be changed during these functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9432 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-16 06:36:22 +00:00
rsun3 92f0867613 typedef
VOID
(EFIAPI *EFI_AP_PROCEDURE) (
  IN  VOID                              *Buffer
  );
Buffer should be IN, OUT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9430 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-16 06:25:05 +00:00
xdu2 8f97f91154 1. Add UEFI 2.2 VLAN device path definition to MdePkg
2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9421 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-12 10:40:58 +00:00
vanjeff 3393e2915a fixed the wrong format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9420 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-12 08:03:10 +00:00
vanjeff 96bf829615 fixed the wrong format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9419 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-12 08:02:14 +00:00
tye 0424593539 1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9412 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 07:05:49 +00:00
vanjeff fa05b97b8f add EFI IPSEC protocol and EFI IPSEC Config protocol definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9410 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 06:14:57 +00:00
klu2 9136fc3ce3 Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9400 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 08:44:56 +00:00
qhuang8 5bd462695a Add new protocol definition of FVB2 defined in PI1.2 and change GUID value of FVB to be that of FVB2.
This is a source level compatible change, but not binary level. We might need to rebuild some old binary modules to work with newer version of MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9394 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:10:55 +00:00
vanjeff 61acaac87f 1. rolled back Hob library to remove new API - BuildCapsuleHob() and related implementation in MdePkg.
2. implemented BuildCvHob() in PeiHobLib/HobLib.c.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9389 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-04 06:51:07 +00:00
xli24 f8dddfdecf Describe update of default status code PCD values in change log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9387 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 07:57:49 +00:00
xli24 312d9360ca Add description comments for status code PCDs with macros defined in PI 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9386 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 04:22:44 +00:00
xli24 86b9d38d0f The value of PcdStatusCodeValueSetVirtualAddressMap is changed from 0x03101004 to 0x03111004, which equals EFI_SOFTWARE_EFI_RUNTIME_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9385 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 04:13:25 +00:00
xli24 fb662e7019 2 PCD values of status code are updated:
1. PcdStatusCodeValueBootServiceExit. Its value is changed from 0x3100019 to 0x3101019, which equals EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES.
2. PcdStatusCodeValuePeiHandoffToDxe. Its value is changed from 0x3031001 to 0x3021001, which equals EFI_SOFTWARE_PEI_CORE | EFI_SW_PEI_CORE_PC_HANDOFF_TO_NEXT. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9384 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-02 03:22:51 +00:00
vanjeff b6b55af34c UEFI Capsule HOB updating includes:
1. add BuildCapsuleHob() in HobLib.h
2. add related APIs implementation in hob library instances.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9378 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:53:32 +00:00
xdu2 234dfbf857 Update to align with UEFI 2.3 spec: rename "UEFI_CONFIG_LANG2" to be "UEFI_CONFIG_LANG_2"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9366 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 06:05:35 +00:00
klu2 39ef213c85 1, Correct the name of PCD_PPI_CALLBACK to EFI_PCD_PPI_CALLBACK
2, Fix some minor typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9353 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-21 08:52:53 +00:00
qhuang8 6d642190b6 Rename one field in "EFI_ATA_STATUS_BLOCK" to make it a legal C structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9352 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-21 01:58:17 +00:00
davidhuang 1f7ff5ab68 1. Impl PI 1.2 PCI part. Major changes include:
a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9348 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-20 03:43:42 +00:00
mdkinney ab00035d0a GLOBAL_REMOVE_IF_UNREFERENCED must be defined to nothing for EBC
This corrects a bug introduced on August 18, 2009 when ARM support was added


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9342 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-16 00:29:28 +00:00
mdkinney 2816e216c2 Do not update the ImageBase in the PE/COFF header if Adjust is 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9341 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-15 17:21:22 +00:00
mdkinney 01e1171ebd Do not apply relocation fixups if the Adjust value is zero, which means the image is XIP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9333 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-08 16:45:40 +00:00
mdkinney 5cfafa075a Check to see if the section size of non-zero before failing a load operation due to a NULL base or end address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9326 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-01 23:48:00 +00:00
qhuang8 6f906c3944 Change RETURN_STATUS type to UINTN, thus EFI_STATUS is defined as UINTN to align with recent UEFI 2.3 spec update.
Impaction:
There should be no impact unless code has been written that tests a constant or variable of type EFI_STATUS to be less than 0, or tested it against a negative value. This most likely have not been done.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9324 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-30 06:12:54 +00:00
vanjeff 4009f91688 Add the EFI PCI Override Protocol definitions introduced in PI 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9322 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-29 07:10:56 +00:00
eric_tian fbf926add9 sync comments on data structure to follow latest UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9309 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 08:56:33 +00:00
rsun3 f60515255d Add HII animation related definitions into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9308 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 06:19:13 +00:00
qhuang8 25a0aa5d93 Update definition aligned to UEFI2.3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9307 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 06:08:28 +00:00
eric_tian eaf75bf4b8 sync the latest spec changes with code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9306 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-23 01:54:04 +00:00
qhuang8 60bd4ccd45 Remove tabs in MdePkg source code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9302 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:49:53 +00:00
qhuang8 79a36e6fe7 Fix small issues in SimpleFileSystem.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9298 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 02:33:21 +00:00
lgao4 f620c8894d Update definition aligned to UEFI2.3
1. TapeIo TAPE_HEADER is rename to EFI_TAPE_HEADER
2. Add IN modifier for parameter Direction and Type of TapeIo.TapeSpace
3. HII package header EFI_HII_DEVICE_PATH_PACKAGE is renamed to EFI_HII_DEVICE_PATH_PACKAGE_HDR.
4. HII package header EFI_HII_FORM_PACKAGE is renamed to EFI_HII_FORM_PACKAGE_HDR.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9297 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 01:35:39 +00:00
qhuang8 fa3e7746bb Remove some unicode characters in MdePkg source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9296 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:44:09 +00:00
qhuang8 29c18ab53f Clarify some definitions in HII Configure Routine Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9288 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:14:32 +00:00
qhuang8 8e7b8fb4d6 Clarify Signature field in EFI_PARTITION_ENTRY structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9287 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:13:47 +00:00
qhuang8 add9c350e7 Add UEFI 2.2 and UEFI 2.3 signature.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9286 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:12:38 +00:00
qhuang8 e189264e48 Remove the restrain on the Year field in EFI_TIME structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9285 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:12:04 +00:00
qhuang8 41c333aa68 Clarify Attribute field in EFI_PARTITION_ENTRY
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9284 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:11:08 +00:00
qhuang8 66d550f999 1. Fix incorrect definition of UEFI_CONFIG_LANG and UEFI_CONFIG_LANG_2. They should be zero-terminated ascii string.
2. Rename EFI_IFR_EQ_ID_LIST to EFI_IFR_EQ_ID_VALUE_LIST
3. Add EFI_HII_PACKAGE_ANIMATIONS package type 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9283 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:09:05 +00:00
vanjeff 807a798b0c align some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9281 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-18 02:25:29 +00:00
vanjeff 3a7afaf648 Add some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9280 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-18 02:19:18 +00:00
vanjeff abbfadd791 Updated network related definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9279 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-17 02:37:58 +00:00
htao 533403e696 add SR-IOV support in EDK II.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9270 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 09:33:14 +00:00
klu2 fd53905e69 Add @par at file header to indicate the specification version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9268 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 07:52:56 +00:00
lgao4 0cd118f779 1. Add new HII IFR opcode introduced in UEFI2.2 and UEFI2.3
They are EFI_IFR_FORM_MAP, EFI_IFR_READ, EFI_IFR_WRITE,  EFI_IFR_GET, EFI_IFR_SET, EFI_IFR_MAP, EFI_IFR_SECURITY.
2. Add new data type introduced in UEFI2.2 and UEFI2.3
EFI_IFR_TYPE_ACTION, EFI_IFR_TYPE_UNDEFINED, 
EFI_IFR_TYPE_BUFFER.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9261 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:41:01 +00:00
lgao4 3831f3e9a9 Fix the bug in PeiServicesInstallFvInfoPpi() implementation that can't set the reliable ParentFvName and ParentFileName when install FvInfo PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9255 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 08:24:05 +00:00
qhuang8 eaa8a23486 1. Add a new Capsule initiate reset flag
2. Clarify return value for UEFI runtime service UpdateCapsule

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9253 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 07:19:44 +00:00
vanjeff 252b9c7a9f 1. add EFI Firmware Management protocol definition in MdePkg.
2. update comments in EapManagement.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9251 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-09 02:47:39 +00:00
eric_tian 54f594e449 add AtaPassThruProtocol into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9250 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-09 01:57:27 +00:00
qhuang8 bcdff90d2c Remove obsolete description to avoid confusion. DevicePathLib class does not implicitly depend on BaseLib now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9247 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:36:34 +00:00
vanjeff 5cba121d30 add modifier EFIAPI for library interfaces.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9246 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:29:48 +00:00
vanjeff eb4a14b9e1 refine functions comments to add new description for remaining devicepath in UEFI 2.3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9244 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 03:14:19 +00:00
klu2 be35570d9c Add PCD protocol/ppi defined in PI 1.2, which is different with early PCD protocol/ppi that it only support DynamicEx type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9243 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 01:56:30 +00:00
vanjeff 5899caf003 Clarify the UEFI/EFI specification version in file header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9238 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:22:38 +00:00
rsun3 1dbfa45f13 Add into MdePkg definitions for the SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9235 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:09:55 +00:00
rsun3 55b19d7fe4 Add into MdePkg definitions for the SMM Power Button Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9233 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:52:42 +00:00
rsun3 acee7e74f3 Add into MdePkg definitions for the SMM Standby Button Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9232 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:39:51 +00:00
rsun3 b6e51fd53e Add into MdePkg definitions for the SMM General Purpose Input (GPI) Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9231 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:15:22 +00:00
rsun3 1a42a56f9a Add into MdePkg definitions for the SMM USB Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9230 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 07:34:19 +00:00
rsun3 2b2cb0e8c3 Add into MdePkg definitions for the SMM Periodic Timer Dispatch Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9229 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 06:31:07 +00:00
rsun3 76ab2dc37d Add into MdePkg definitions for the SMM Sx Dispatch Protocol as defined in PI 1.2 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9228 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 05:12:26 +00:00
rsun3 83632987dc Add into MdePkg definitions for the SMM Software Dispatch Protocol as defined in PI 1.2 Specification Volume 4 System Management Mode Core Interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9227 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 02:37:02 +00:00
lgao4 bd86cb0292 1. Add TCG MOR (Memory Overwrite request) definition from TCG Platform Reset Attack Mitigation Specification.pdf.
2. Add WIN certificate definition from 2.3.
3. Add the signed Image verification definition from UEFI 2.3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9226 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 09:23:28 +00:00
rsun3 395a656ffc Add into MdePkg definitions for the SMM PCI Root Bridge IO protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9225 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 07:56:54 +00:00
rsun3 d0778dd754 Add into MdePkg definitions for the EFI SMM CPU Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9224 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 06:36:06 +00:00
rsun3 5a3cb5fdb4 Add into MdePkg definitions for the EFI SMM Status Code Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9223 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 03:47:14 +00:00
eric_tian d674ed538f UEFI 2.3 Specification should be updated to move these status code definitions into Appendix D, so all the EFI_STATUS codes are defined in a single place in the specifications, and that will help avoid status code collisions as new status codes may be defined over time.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9222 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 02:33:15 +00:00
qhuang8 8facd18f30 Split AsmReadKr7() and AsmWriteKr7() from AccessKr.s file since these two APIs are frequently used to store/fetch PeiServicesTable pointer for IPF platform. Some compiler/linker with /Od is not smart enough to remove used KR registers access APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9219 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 14:57:18 +00:00
rsun3 709f55c023 Add into MdePkg definitions for EFI SMM Communication Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9218 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:58:24 +00:00
rsun3 82eea366b7 Add into MdePkg definitions for the DXE SMM Ready To Lock protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9217 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:29:46 +00:00
rsun3 fc8f8b257b Add into MdePkg definitions for SMM Ready To Lock protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9216 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:19:16 +00:00
rsun3 978da3096d Add into MdePkg definitions for EFI SMM Configuration Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9215 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 06:41:02 +00:00
rsun3 e3aad9b3d0 Add into MdePkg definitions for the EFI SMM Control2 Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9214 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 06:08:02 +00:00
rsun3 8442c53e2b Add into MdePkg definitions for the EFI SMM Access2 Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9213 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 05:35:03 +00:00
rsun3 2a452a560b Add into MdePkg definitions for EFI SMM Base2 Protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9212 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 03:15:40 +00:00
rsun3 04c5d169fc Add into MdePkg the common definitions in the Platform Initialization Specification version 1.2 VOLUME 4 System Management Mode Core Interface version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9211 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 02:47:57 +00:00
rsun3 0495739faa Add into MdePkg definitions for the SMM Cpu I/O Protocol defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9208 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 03:23:38 +00:00
rsun3 ea4220e3e9 Add comments indicating in-consistency between code and the UEFI 2.3 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9206 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 01:41:29 +00:00
vanjeff badd7e61a8 Added definitions of EFI EAP Protocol, EFI EAP Management Protocol and EFI FTPv4 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9200 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 09:15:18 +00:00
vanjeff e77d8dd3ce minimum updating.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9198 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 02:22:37 +00:00