summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)Author
2011-08-09Fix X64 compile error.lgao4
Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12110 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08clarify the logic of the print length counting functions in both PrintLib ↵jcarsey
library instances. signed-off-by: jcarsey reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12102 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-04Fix X64 compile error.lgao4
Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12086 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.jcarsey
Implement these functions in the UefiLib instance. Add 2 functions to PrintLib library class: SPrintLengthAsciiFormat and SPrintLength. Implement these functions in the BasePrintLib instance and the DxePrintLib2Protocol instance. Signed-off-by: jcarsey Reviewed-by: jljusten Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12081 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02MdePkg: Fixed hang/reset in thunk code when building with GCC X64geekboy15a
Reverted changes of data areas from .long back to .space 4. This was done because the size of .long is based off of .int and may vary. Using a fixed size is required because these values are for patching code. Also note that .space will automatically initialize the data to zero. Not initializing all values to zero was causing the hang/reset. Signed-off-by: geekboy15a Reviewed-by: darylm503 Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12079 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-27For libraries that have multiple module types support, just define a [Depex] ↵lzeng14
section for specified module types that are permitted to have a [Depex] section. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-27GUIDs should go below the correct comment block in MdePkg.dec.lzeng14
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12051 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-20MdePkg: Update CpuSleep to use ARMv7 instruction. andrewfish
The code was using ARMv6 co-processor reg, that is a no-op on ARMv7. WFI is the instruction on ARMv7. signed-off-by: andrewfish reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12035 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19Add header file for KMS.lzeng14
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12025 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-13Change CHAP_RADIUS_AUTH_NODE & CHAP_LOCAL_AUTH_NODE definition in ↵niruiyu
AuthenticationInfo.h to align to the latest spec. Signed-off-by: niruiyu Reviewed-by: tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12013 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12Update structure EFI_IFR_VARSTORE_EFI to follow UEFI spec 2.3.1ydong10
Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12008 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12MdePkg: Fix X64 clang compile issues.andrewfish
Fixed issues with X64 clang, and also make StackSwitch push a zero on the new stack to prevent a stack unwind into memory that is no longer valid. signed-off-by: andrewfish reviewed-by: lgao4 reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12007 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu
valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11985 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-30Fix the comments in the core interface to follow the UEFI Spec regarding how ↵niruiyu
to check an EFI_HANDLE is valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11933 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.jcarsey
signed-off-by:jcarsey Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11917 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Add new "ref5" opcode data structure and ref data type structure.ydong10
Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11912 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23Remove non-ASCII characters.niruiyu
Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11874 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-21Initialize data before using itydong10
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11869 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-18Update the EFI_PCI_ADDRESS macro in PciRootBridgeIo.h to support PCI Express ↵rsun3
extended registers. Signed-off-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11848 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16Update prototype name of Get()/Set() to ↵lzeng14
EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUTHENTICATION_INFO_PROTOCOL_SET, remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get(). Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16Correct ExtendedSize’s type to UINT32.lzeng14
Signed-off-by: lzeng14 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11833 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-15For BaseLib IsNull() function , update retval value comment to match its ↵lgao4
function description. Signed-off-by: lgao4 Reviewed-by: rni2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11825 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Add ABS() macro (Absolute Value) to Base.h in MdePkgmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11818 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Fix incorrect comments in SimpleFileSystem.h.niruiyu
Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11814 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.lgao4
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11813 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-10Add ESAL support libraries to MdePkgmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11784 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.niruiyu
Guarantee no memory corruption in an out of memory condition even in production builds. Signed-off-by: niruiyu Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11775 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08Add new "refresh event group" opcode.ydong10
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11765 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08Add new "Modal form" opcode.ydong10
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11763 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08String Reference Cleanup.lzeng14
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-01Add new definition for XHCI supporterictian
Signed-off-by: erictian Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11721 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-31Update the comments of InstallConfigurationTable to follow UEFI Spec.niruiyu
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11715 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26Fix ICC build break.lgao4
Signed-off-by: lgao4 Reviewed-by: rsun3 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11704 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24Update BasePrintLib to handle the unaligned GUID. lgao4
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11697 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24Per PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU ↵rsun3
Architecture Protocol, EFI_INVALID_PARAMETER should be returned for cases: If Attributes specifies a combination of memory attributes that cannot be set together, then EFI_INVALID_PARAMETER is returned. For example, if both EFI_MEMORY_UC and EFI_MEMORY_WT are set. Signed-off-by: rsun3 Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11694 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to ↵niruiyu
UefiScsiLib. Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11691 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23Add core SMBIOS 2.7.0 and 2.7.1 support.lzeng14
Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11689 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20Add new definition used for new call back return type and new action type.ydong10
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11687 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17Change the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN ↵rsun3
to UINT64 to follow the PI spec. Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11673 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should ↵lzeng14
be 8-bit checksum of the file data, not the entire file, correct the comments. Signed-off-by: lzeng14 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11672 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16Add definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.vanjeff
Signed-off-by: vanjeff Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11655 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-13add those missing device path nodes into the union structure of EFI_DEV_PATH ↵erictian
and EFI_DEV_PTR git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11645 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11622 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Add new status code definition in PI 1.2 Errata B.li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11616 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-041. Add definition for SSP(StorageSecurityCommand Protocol)hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11613 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-041.Move the definitions of SCAN_F11 and SCAN_F12 from SimpleTextIn.h to ↵vanjeff
SimpleTextInEx.h because they are defined in Table - EFI Scan Codes for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. 2.Include SimpleTextIn.h in SimpleTextInEx.h because EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL is an extension of the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. 3.Include SimpleTextInEx.h in UefiSpec.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11612 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04Add the definition of EFI_2_31_SYSTEM_TABLE_REVISION and update ↵vanjeff
EFI_SYSTEM_TABLE_REVISION & EFI_RUNTIME_SERVICES_REVISION & EFI_BOOT_SERVICES_REVISION to EFI_2_31_SYSTEM_TABLE_REVISION. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11610 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03Add BlockIO2 Protocol definition.qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11607 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03Add BlockIO2 Protocol.qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11606 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-271. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI ↵vanjeff
Specification. 2.3.1. 2. Add the declaration for EFI_CERT_SHA224_GUID, EFI_CERT_SHA384_GUID and EFI_CERT_SHA512_GUID. 3. Update GUIDs description per UEFI Specification, 2.3.1. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11592 6f19259b-4bc3-4df7-8a09-765794883524