Commit Graph

2515 Commits

Author SHA1 Message Date
lgao4 6048a5b01b Update comments to corrects SignatureSize for each SignatureType.
Signed-off-by: lgao4
Reviewed-by: vanjeff


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12488 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30 05:52:13 +00:00
vanjeff f85e38bf89 Add the definitions of Common Platform Error Record (defined in Appendix N Common Platform Error Record, UEFI 2.3.1).
Signed-off-by: vanjeff
Reviewed-by: lgao4





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12487 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30 02:28:19 +00:00
ydong10 4ae2e63ca4 Refine code to follow coding style.
Signed-of-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12346 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 05:30:53 +00:00
hhtian 4223e4f4c9 Minor copyright format update
Signed-off-by: hhtian

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12334 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 07:48:35 +00:00
xdu2 16a48731fc MdePkg: Add missing implementation of GetTimeInNanoSecond() to TimerLib library instance DxeTimerLibEsal.
Signed-off-by: xdu2
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12297 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-08 01:34:24 +00:00
ydong10 5c4513344a Refine code to follow coding style.
Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12281 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05 14:17:47 +00:00
niruiyu 09e1962905 Add the definition of new format of IPv4 device path node, FibreEx device path node.
Signed-off-by: niruiyu
Reviewed-by: tye
Reviewed-by: jjin9


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12275 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05 04:49:22 +00:00
li-elvin 6088db3802 Move generic IA32_SEGMENT_DESCRIPTOR definition to BaseLib.h.
Signed-off-by: li-elvin
Reviewed-by: mdkinney


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12265 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 11:37:50 +00:00
ydong10 6709bbd17f Add check before use to make code run more safer.
Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12262 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 07:51:45 +00:00
jljusten fe69ac847a MdePkg: Add S3 library interfaces and base implementations
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12222 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:16:28 +00:00
xdu2 b9610b9cb5 Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds.
Signed-off-by: xdu2
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 05:59:17 +00:00
ydong10 83f1f16a83 Refine code to follow coding style.
Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12196 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 10:10:33 +00:00
erictian 71f6080748 Remove CONST modifier to be spec compliance
Signed-off-by: erictian
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12193 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 09:37:08 +00:00
erictian da910a42c0 remove some const modifier to spec compliance.
Signed-off-by: erictian
Reviewed-by: jshi19

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12184 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-23 14:31:40 +00:00
lzeng14 884f9295c5 Add the missing SMBIOS_TABLE_TYPE42 pointer in SMBIOS_STRUCTURE_POINTER.
Signed-off-by: lzeng14
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12183 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-23 11:25:06 +00:00
niruiyu 3e5cfe98e9 Simplify the SmmPeriodicSmiLib to call AllocatePool() for every entry in the SMI periodic handler list.
Signed-off-by: niruiyu
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12173 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-19 01:37:47 +00:00
vanjeff b6ed10751d Added 3 new EFI Resources Attributes defined in PI 1.2 Specification, Errata B.
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12156 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18 02:01:51 +00:00
hhuan13 ab0eecec6e 1. Add Uefi231 secure boot related definitions
Signed-off-by: hhuan13
Reviewed-by: tye, qlong

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12143 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-16 07:16:02 +00:00
niruiyu 569224f9de Use linked list to replace the current array solution to store the periodic SMI handlers to support more than 8 periodic SMI handlers.
Signed-off-by: niruiyu
Reviewed-by: xdu2

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12127 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15 01:55:41 +00:00
lgao4 41342801ff Fix X64 compile error.
Signed-off-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12110 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09 06:29:47 +00:00
jcarsey 6bae492fb4 clarify the logic of the print length counting functions in both PrintLib 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-08 20:50:31 +00:00
lgao4 48c0731857 Fix X64 compile error.
Signed-off-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12086 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-04 06:33:49 +00:00
jcarsey f405c0674a Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
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-02 23:33:06 +00:00
geekboy15a 3c47fe65ed MdePkg: Fixed hang/reset in thunk code when building with GCC X64
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-08-02 22:29:50 +00:00
lzeng14 3397c6f590 For libraries that have multiple module types support, just define a [Depex] 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-27 08:54:57 +00:00
lzeng14 05c82e51e1 GUIDs should go below the correct comment block in MdePkg.dec.
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-27 08:19:30 +00:00
andrewfish f7c8bd9f9d MdePkg: Update CpuSleep to use ARMv7 instruction.
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-20 17:47:44 +00:00
lzeng14 76336e4e2a Add header file for KMS.
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-19 06:31:58 +00:00
niruiyu 9abd3166ec Change CHAP_RADIUS_AUTH_NODE & CHAP_LOCAL_AUTH_NODE definition in 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-13 05:35:20 +00:00
ydong10 d23610ebbc Update structure EFI_IFR_VARSTORE_EFI to follow UEFI spec 2.3.1
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-12 07:15:42 +00:00
andrewfish bab427db7d MdePkg: Fix X64 clang compile issues.
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-12 03:01:34 +00:00
niruiyu d9de792182 Fix the comments to follow UEFI Spec regarding how 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@11985 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 03:44:35 +00:00
niruiyu 18bd7e858d Fix the comments in the core interface to follow the UEFI Spec regarding how 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-30 03:34:42 +00:00
jcarsey d3e0289ccf Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.
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-28 15:01:53 +00:00
ydong10 2ed77d0de5 Add new "ref5" opcode data structure and ref data type structure.
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-28 06:39:26 +00:00
niruiyu 8b67c4c879 Remove non-ASCII characters.
Signed-off-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11874 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23 01:30:52 +00:00
ydong10 18ad26da31 Initialize data before using it
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-21 02:24:46 +00:00
rsun3 2a5c468026 Update the EFI_PCI_ADDRESS macro in PciRootBridgeIo.h to support PCI Express 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-18 04:52:20 +00:00
lzeng14 8a18c8c24e Update prototype name of Get()/Set() to 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-16 10:09:38 +00:00
lzeng14 044a53c12a Correct ExtendedSize’s type to UINT32.
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-16 07:07:12 +00:00
lgao4 1955808d94 For BaseLib IsNull() function , update retval value comment to match its 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-15 02:45:58 +00:00
mdkinney 8b157410c1 Add ABS() macro (Absolute Value) to Base.h in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11818 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 20:25:36 +00:00
niruiyu 77df6ed94e Fix incorrect comments in SimpleFileSystem.h.
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-13 05:14:21 +00:00
lgao4 a0e1b12735 Add the missing default definition of EFIAPI in Ia32/ProcessorBind.h.
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-13 03:58:18 +00:00
mdkinney 863be5d010 Add ESAL support libraries to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11784 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-10 18:58:08 +00:00
niruiyu ef2635c399 Change BuildGuidHob and BuildGuidDataHob to return NULL upon failure.
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-09 02:51:00 +00:00
ydong10 dfc66bb938 Add new "refresh event group" opcode.
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-08 07:47:26 +00:00
ydong10 26a65e5c80 Add new "Modal form" opcode.
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-08 07:24:20 +00:00
lzeng14 4f0779023c String Reference Cleanup.
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-08 05:53:18 +00:00
erictian ae127ef0c3 Add new definition for XHCI support
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-06-01 05:12:19 +00:00
niruiyu bfe0572bb0 Update the comments of InstallConfigurationTable to follow UEFI Spec.
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-31 03:14:30 +00:00
lgao4 4b0f378c19 Fix ICC build break.
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-26 04:53:24 +00:00
lgao4 244bff4e14 Update BasePrintLib to handle the unaligned GUID.
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-24 02:08:31 +00:00
rsun3 4ec21e8b50 Per PI 1.2 errata B spec, for SetMemoryAttributes() service of CPU 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-24 01:56:29 +00:00
niruiyu b8a62661e4 Add BlockIO revision 3 definition. Add new API ScsiInquiryCommandEx to 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-23 07:45:40 +00:00
lzeng14 7ddba202a5 Add core SMBIOS 2.7.0 and 2.7.1 support.
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-23 03:24:12 +00:00
ydong10 d4cb06e122 Add new definition used for new call back return type and new action type.
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-20 02:56:26 +00:00
rsun3 ef3f88727a Change the type of the IoData field of EFI_SMM_SAVE_STATE_IO_INFO from UINTN 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-17 10:04:08 +00:00
lzeng14 bf099261d9 According to PI_1_2_Errata_B, EFI_FFS_INTEGRITY_CHECK.Checksum.File should 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-17 08:56:03 +00:00
vanjeff 66b96f9213 Add definition of SCAN_PAUSE for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
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-16 01:49:42 +00:00
erictian 960212a3e4 add those missing device path nodes into the union structure of EFI_DEV_PATH and EFI_DEV_PTR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11645 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-13 06:17:10 +00:00
mdkinney 7758b0a03f Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11622 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 21:42:19 +00:00
li-elvin 31c21fd3d2 Add new status code definition in PI 1.2 Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11616 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 03:19:25 +00:00
hhuan13 c777fc45b5 1. Add definition for SSP(StorageSecurityCommand Protocol)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11613 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 02:37:23 +00:00
vanjeff 2be21afb3a 1.Move the definitions of SCAN_F11 and SCAN_F12 from SimpleTextIn.h to 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-04 01:06:43 +00:00
vanjeff aee17e890d Add the definition of EFI_2_31_SYSTEM_TABLE_REVISION and update 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-04 01:01:42 +00:00
qianouyang b58675785e Add BlockIO2 Protocol definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11607 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03 18:50:46 +00:00
qianouyang 490b5ea10b Add BlockIO2 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11606 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03 10:31:41 +00:00
vanjeff f704fc850d 1. Change guid name from EFI_CERT_X509 to EFI_CERT_X509_GUID, per UEFI 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
2011-04-27 02:41:10 +00:00
qianouyang a33f9a786d Add the correct GUID for EFI_IPSEC2_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11575 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 09:59:55 +00:00
lgao4 7eb2c64d34 Update the description of Loaded Image Protocol Unload function to follow the UEFI2.3.1 Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11560 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:33:25 +00:00
niruiyu f6ea51e5ac Update the comments for SizeofPartitionEntry field to follow the UEFI Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11543 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-14 07:04:59 +00:00
ydong10 bf579d355d Typo for the old patch enhance code style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11446 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-29 08:57:21 +00:00
ydong10 a47c681fc0 Refine code to make code follow the coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11419 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 05:36:54 +00:00
lgao4 8679b1c22b Add the missing LegacyBiosMpTable.h per MultiProcessor Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11407 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-17 06:30:21 +00:00
ydong10 a77badbb42 Refine code to follow coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11400 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-15 00:53:52 +00:00
ydong10 6e80bc62cc Enhance inf to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11393 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:46:05 +00:00
vanjeff 1ff0b1eb6d Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI per PI Spec, 1.2 Errata B. This was one incompatible change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11384 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 01:45:11 +00:00
mdkinney d8ccb37a65 Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
1) Add new DebugPrintErrorLevelLib instances to DSC files.






git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11383 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11 17:47:00 +00:00
vanjeff baa6894a7a Update some progress codes name per the PI Spec, 1.2 Errata B. This was one incompatible change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11380 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11 02:09:23 +00:00
mdkinney 2891fc8b2d Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
1) Define new DebugPrintErrorLevelLib that produces an API that DebugPrint() APIs in DebugLib implementations can use to retrieve the current mask for filtering DebugPrint() statements.
2) Add a BASE type implementation of the DebugPrintErrorLevelLib that directly accessed PcdDebugPrintErrorLevel to provide backward compatibility with the current EDK II DebugLib behavior.
3) Update description of the DebugPrint() API in the DebugLib to describe the new dependency on the DebugPrintErrorLevelLib that replaces the prior dependency in the PcdDebugPrintErrorLevel PCD.
4) Update the comments in BaseDebugLibNull to match (3).
5) Update BaseDebugLibSerialPort to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
6) Update UefiDebugLinConOut to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
7) Update UefiDebugLibStdErr to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11365 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:12:34 +00:00
vanjeff 5fbfa2d023 Fixed typos per the PI Spec 1.2 Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11361 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 05:14:10 +00:00
vanjeff d12c6a5485 Updated the GUID name to follow PI Spec, 1.2 Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11358 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 01:20:15 +00:00
li-elvin e16ee65b4d Update comment per the latest PI spec Errata B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11357 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 00:57:18 +00:00
andrewfish 6ced2e11d0 Fix Xcode build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11347 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-05 13:21:54 +00:00
rsun3 2094c4d03f Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11330 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22 10:05:06 +00:00
gikidy 1b71e7f1ad A minor change for the format of usage align with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11326 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-21 08:07:22 +00:00
ydong10 ba319b960e Update inappropriate comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11322 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-17 00:45:08 +00:00
lgao4 ad0ecbcf79 Per PI spec, StatusCode related structure is not required to be defined as packed byte. So, StatusCode related structures are updated from packed to unpacked.
Notes:
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11316 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 01:25:56 +00:00
lgao4 6beb225a9a Per PI1.2B spec, for the case that TE Image Relocation Data Directory Entry Virtual Address is non-zero, but the Relocation Data Directory Size is zero, BasePeCoffLib should only handle such case as PIC TE image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11315 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 01:18:28 +00:00
lgao4 9095e76b3d Update function description per UEFI2.3d. The main changes include:
1.    If string is a unicode string, its description doesn’t need to specify unicode word again, because by default, string is UCS-2 (Table 6) encoded. 
2.    EFI_UNSUPPORTED return status is missing for EFI_EAP_PROTOCOL.SetDesiredAuthMethod() function. 
3.    For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated. 

 




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11305 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:26:11 +00:00
lgao4 2ab7038ce1 Add new FV extension type 0x0002 and its related structure per PI1.2B.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11304 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:23:24 +00:00
mdkinney 40039e28ed Add SmmPeriodicSmiLib to MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11302 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-11 00:09:16 +00:00
andrewfish 4c8a6e069c Replace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the rest of the MdePkg ARM assembler to use the macro. Leave the old INTERWORK_FUNC macro in place until we can make sure all the other packages have been updated and then it can be removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11289 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-01 05:01:35 +00:00
mdkinney fbd26c4b17 Remove ; from end of EFI_PEI_PCI_CFG_ADDRESS() macro that prevents the macro from being used in expressions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11278 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-27 18:56:07 +00:00
niruiyu 36b85974c7 Update comments of BIT1 and BIT2 to align UEFI Spec 2.3d for EFI_PARTITION_ENTRY.Attributes in UefiGpt.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11277 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-27 04:54:22 +00:00
darylm503 af072124e4 Fix InternalMemScanMem* functions so that they return the pointer to the matched object, as specified, instead of the following object.
Replaces the fix instituted in rev. 10821 with a more understandable, sustainable, and efficient fix that behaves the same regardless of compiler.

Reviewed by two peers.
Fixes HSD tracker 204556.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11237 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-07 23:00:16 +00:00
mdkinney dad8dea7c8 Fix Copyright year to 2011
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11229 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06 02:47:38 +00:00
mdkinney 5a2e7dd296 Define bits for PcdDebugPrintErrorLevel to monitor Global Coherency Domain(GCD) and memory cache setting changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11228 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06 02:46:35 +00:00
mdkinney a06638eac2 Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize().
The fix is to change SerialPortInitialize() to always return RETURN_SUCCESS instead of RETURN_UNSUPPORTED.


 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11207 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 01:07:39 +00:00
rsun3 e0ee9d9314 Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus driver/PCI host bridge drivers/LPC/VGA device drivers.
1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h.
2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol.
3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol.
4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec.
5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes.
6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases.
7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11204 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-28 10:10:10 +00:00
ydong10 9c3d10b75d Update inappropriate comments.
fine code to make code run more safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11191 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22 08:32:56 +00:00
rsun3 36e8c95557 Change the modifiers of the RegisterContext parameter of EFI SMM SW Dispatch2 Protocol.Register() from IN, CONST to IN, OUT. This is for support for the case where SwSmiInputValue is set to -1, a unique value will be returned in the RegisterContext structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11186 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-21 06:34:32 +00:00
mdkinney ccc96db96e Add CONSTRUCTOR to BaseDebugLibSerialPort to call SerialPortInitialize() in the SerialPortLib to make sure the serial port hardware is in the proper state for use.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11183 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 00:24:34 +00:00
mdkinney b35a5f731c Remove CONSTRUCTOR from DxePcdLib aligning the DxePcdLib design with the PeiPcdLib and reduces the number of CONSTRUCTORs that have to be run for most DXE modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11182 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 00:22:08 +00:00
mdkinney 5bd2d2cb03 Add an empty CONSTRUCTOR to the UefiLib to resolve library dependency issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11181 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 00:10:30 +00:00
mdkinney 5b98704413 Fix DxeHobLib to also support a module type of SMM_CORE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11180 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-17 23:04:57 +00:00
andrewfish bcec20df61 Add support for ARM MOVW/MOVT instructions that were added in the latest PE/COFF specification. Currently they are not hooked in as we need to wait for the tools to get updated. Tools are needed to convert ELF to PE/COFF and to refixup FVs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11176 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-16 21:44:49 +00:00
niruiyu 0a13c99cf1 Remove wrongly added SuperIoInit protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11174 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-16 08:28:51 +00:00
andrewfish e7cb469e3a Fix issue with CodeSourcery gcc requiring assembly functions to have a .type define inorder to support interworking (calling from thumb(C code) to ARM code (hadn written assembly). We had to add a macro as the .type directive is not supported, or needed, by Xcode. All ARM .S files need to be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11167 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 00:58:34 +00:00
niruiyu 204df563fe Add the SuperIoInit protocol to MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11163 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 06:57:22 +00:00
erictian cbbd284805 update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11160 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 02:50:25 +00:00
vanjeff 06128e8f42 add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11134 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:58:33 +00:00
vanjeff f00864faf9 updated progress code definitions to match PI Spec 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11133 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:52:51 +00:00
mdkinney d040b8f12d Roll back comment change for SOR. SOR does not apply to SMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11126 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 21:33:45 +00:00
jljusten dccf78f0a2 MdePkg: Fix GCC Thunk support for IA32
In r11047 Ia32/Thunk.S was modified.  However, the current
implemention of Ia32/Thunk.S has contant values in the code
which must be updated if the code is changed.

This change updates those constants for the r11047 change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11121 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:06:35 +00:00
mdkinney 3ae55b76d9 Update comments for PI 1.2 SMM support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11110 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 06:17:44 +00:00
rsun3 2057d8c843 Add a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in that it uses the local APIC library so that it supports x2APIC mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11100 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 03:30:38 +00:00
lgao4 6c4986de2d Adds the missing return status description for HiiConfigRouting.ConfigToBlock() API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11086 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 11:14:39 +00:00
qianouyang 6361c6d50c Update the file description in IpSec.h to refer to an accurate UEFI version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11074 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-17 05:36:14 +00:00
li-elvin 4d4c535a32 Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11047 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 07:47:27 +00:00
mdkinney b4221611e9 Add Doxygen style comments to the EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE() macros. Clarify that the Size and Pages parameters to these macros are assumed to be type UINTN.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11010 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 22:27:19 +00:00
rsun3 740ee2ea40 Add comment about usage on EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11004 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 03:08:17 +00:00
ydong10 9be899c5cc Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers.
API Function name is ExtractGuidedSectionGetHandlers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11002 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-04 05:51:32 +00:00
gikidy eafed2b612 Fix PCD token value format issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10994 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-02 05:23:20 +00:00
darylm503 850f13ebb2 Fix a cut-n-paste error in the comment for the "read keystroke" function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10976 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-24 22:03:38 +00:00
lgao4 6517edbe51 Update UefiDriverEntryPoint library by adding BaseLib library class required by AutoGen code.
Update UefiApplicationEntryPoint library by adding BaseLib and DebugLib library class required by AutoGen code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10954 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-18 09:59:55 +00:00
qianouyang 705f53a9b4 Update IPsec.h file to follow approved ECR which will be collected into future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include:
1. Add EFI_IPSEC2_PROTOCOL
  2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm    
     Definition.
  3. Add EFI_IPSEC_SA_DATA2 data structure.
And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 05:40:41 +00:00
jljusten 818ff8c267 MdePkg: Use builtin offsetof function for GCC 4.0 and newer
GCC 4.0 and newer have a builtin function for implementing
'offsetof' therefore we make use of it for our OFFSET_OF
macro.

References:
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Offsetof.html
http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc/Offsetof.html

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10931 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 07:08:06 +00:00
andrewfish e0919a5856 Add ARM MOVW/MOVT relocations added in PE/COFF 8.2 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10912 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-05 23:36:37 +00:00
jyao1 22c5a7af03 Add ACPI4.0 header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10900 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-29 00:25:07 +00:00
erictian 98642032ed add a macro IS_PCI_SATADPA to judge if device is a SATA controller which is running AHCI mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10897 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-27 05:38:20 +00:00
mdkinney f6b4e53dfe Update MODULE_TYPE to be DXE_RUNTIME_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10876 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 17:02:46 +00:00
mdkinney c91a44b857 Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module types
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10865 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 20:08:03 +00:00
andrewfish 605466ae28 ARM RVCT 3.1 compiler has issues with __packed structures containing anonymous structures in a union. I had to add extra PACKED macros to get things to compile. Hopefully at some point RVCT will support #pragma pack(1) properly and we can retire PACKED macro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10856 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 18:26:58 +00:00
qhuang8 00dbccf2d5 Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10822 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-26 00:50:37 +00:00
darylm503 ffadc63799 Fix the InternalMemScanMem* functions. They were returning the character AFTER the match instead of the matching character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10821 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-25 23:06:43 +00:00
niruiyu 2186f2a106 Move ACPI_SMALL_RESOURCE_HEADER and ACPI_LARGE_RESOURCE_HEADER from SuperIo.h to Acpi10.h.
Add more ACPI resource descriptors to Acpi10.h which are needed by EFI_SIO_PROTOCOL implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10807 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-19 02:39:19 +00:00
sfu5 6efe946118 Refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10799 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-16 01:11:49 +00:00
qhuang8 83c7c8036c Minor refinement on source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-14 07:25:20 +00:00
sfu5 f0b0ba3177 Refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10793 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 02:47:22 +00:00
hhuan13 a58b9d96b4 Fixed K9 scan issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10781 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 06:28:01 +00:00
lgao4 6389e32beb Use FreePool() library API to replace gBS->FreePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10712 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-29 06:44:13 +00:00
lgao4 116b142d86 Roll back change r10695, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10704 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:43:18 +00:00
lgao4 1d733f731f Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10700 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:07:43 +00:00
lgao4 0433d8f018 Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10695 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-26 16:20:34 +00:00
hhtian d4b6dd9300 minor format update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10691 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-24 11:41:06 +00:00
jyao1 e24f50f2d1 Remove spec compliance comment. It follows PI1.2B spec now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10672 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20 06:20:16 +00:00
myronporter 58380e9c61 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10615 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-30 00:13:25 +00:00
mdkinney 96dd57ee8d Update BASE PCI Library that uses CF8/CFC access mechanism for PCI configuration cycles to be safe for use from interrupt context and from modules of type DXE_SMM_DRIVER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10606 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 22:27:59 +00:00
myronporter 2fc59a003e Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10604 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 21:56:02 +00:00
qhuang8 37de2c8442 Fix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_PATH_UTILS_CREATE_NODE" according to UEFI spec.
As it is unlikely for any user code to directly use this definition, this update should not cause any build break issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10598 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 03:38:18 +00:00
myronporter 15c952e728 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10597 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-24 20:11:34 +00:00
myronporter 127010dd96 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10596 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-24 00:20:35 +00:00
myronporter c5b16b1b0b Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10594 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-22 23:56:19 +00:00
MyronPorter e4a34497b4 Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10593 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-22 22:59:38 +00:00
mdkinney cda8ba5ed7 Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST->ConOut is NULL.
Add ASSERT() conditions to UEFI Library ErrorPrint() and AsciiErrorPrint() functions if gST->StdErr is NULL.
Add ASSERT() conditions to UEFI Library PrintXY() and AsciiPrintXY() gST->ConsoleOutputHandle is NULL.
Update Print(), AsciiPrint(), ErrorPrint(), AsciiErrorPrint() to return 0 if the Simple Text Output Protocol OutputString() call returns an error.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10576 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11 19:11:20 +00:00
myronporter 35a1715411 Minor grammatical work--mostly adding periods. Sending separately a list of files missing Doxygen @param and @return information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10572 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11 00:02:51 +00:00
geekboy15a 2bd78c92c6 Fixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10559 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-01 22:46:53 +00:00
li-elvin a24faca37a Add Read/Write (16) command to SCSI library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10549 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 06:57:15 +00:00
lgao4 2bca9a9b60 Clean up package/platform DSC files by the following steps:
1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10531 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:33 +00:00
jljusten 2653bb431a MdePkg BaseLib: Fix GCC build break
Only use X86MemoryFence.c for INTEL and MSFT.  MemoryFence is defined
in GccInline.c for GCC.

This change is the same as r10522, but for X64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10525 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 21:12:18 +00:00
qhuang8 c756ce80a4 Fix GCC build break as MemoryFence() API has already been included in GccInline.c in BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10522 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 05:30:55 +00:00
qhuang8 d01a90fb3e Fix some typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10521 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 05:23:50 +00:00
qhuang8 4e4a5f359d Temporarily remove build-in __sync_val_compare_and_swap() in the implementation of sync functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10519 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 06:06:40 +00:00
hhtian c9b34b8cb3 Update copyright format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10506 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 11:40:39 +00:00
qhuang8 cf683fedc7 1. Restore the inline C implementation of GCC assembly files that was temporarily removed in Svn r10045.
2. Remove 139 GCC assembly files whose functionality have been covered in the inline C implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10503 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 05:37:58 +00:00
jyao1 f0f78f9059 MdePkg:
Fix ACPI SDT protocol definition issue. (ECR approved, not in public spec now.)



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10500 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:25:50 +00:00
rsun3 6a8fb8bab5 Change TPM_BASE to 0 per TPM spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10499 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:22:51 +00:00
klu2 562fccb0f0 Fix a typo in comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10490 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14 07:51:29 +00:00
qhuang8 d57c443982 Fix minor format issue in file header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10484 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13 01:03:32 +00:00
xdu2 5277dc8829 Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10475 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 02:48:44 +00:00
qhuang8 61f0f4375b Use the ASSERT() for parameter checking as the 4th paramter of internal worker function of MakeTable() must be <= 16.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10472 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 00:57:06 +00:00
mdkinney cab979f161 Fix ICC 11.1 build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10466 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 22:47:32 +00:00
lgao4 b9d5a7f1dc Move SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10459 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 02:06:23 +00:00
lgao4 682cee4c06 Add new API GetSectionFromAnyFvByFileType() into MdePkg DxeServicesLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10456 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 01:56:41 +00:00
geekboy15a 932d66a970 Forcing functions with variable argument lists to use the same calling convention (EFIAPI). This solves issues when using compilers where the default calling convention is not EFIAPI.
This fixes boot issues when using GCC 4.4 in X64 modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10441 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 01:05:44 +00:00
geekboy15a 4e716b677a Made use of GCC built-in functions for variable arguments in procedures dependent on NO_BUILTIN_VA_FUNCS. This is because they do not function correctly in GCC 4.4 when using ms_abi in X64 images. This does not change functionality for other projects.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10440 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 01:01:44 +00:00
hhtian c3f13d41ab Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10416 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:40:22 +00:00
hhtian 19388d2960 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10415 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:37:43 +00:00
hhtian e2d9bfb2bc Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10413 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:26:26 +00:00
hhtian acf57deca9 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10412 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:24:38 +00:00
hhtian c33c6476ca Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10411 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:23:28 +00:00
hhtian 1f558705b2 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10410 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:20:52 +00:00
hhtian 84b5877f02 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10409 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:16:36 +00:00
hhtian adc29a976a Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10408 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:13:53 +00:00
hhtian 085c39686c Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10407 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:08:36 +00:00
hhtian 2fcf0abf44 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10406 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:04:26 +00:00
hhtian bb817c56c5 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10405 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:00:47 +00:00
hhtian 9df063a06a Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10403 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:46:20 +00:00
hhtian 4dd6f84007 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10402 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:37:19 +00:00
hhtian 1815f5bbc3 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10401 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:36:12 +00:00
hhtian 700b41d4d5 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10400 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:35:43 +00:00
hhtian de2d34193e Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10399 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:35:13 +00:00
hhtian 2f7c0ad11a Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10398 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:32:58 +00:00
rsun3 ba9f835144 Add an IO Lib instance based on CPU IO2 Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10383 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 02:06:55 +00:00
geekboy15a 66c95e799a Fixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI to enforce the expected calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10378 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:40:15 +00:00
geekboy15a 4e57f24098 Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly set the prefix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10377 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:37:03 +00:00
geekboy15a bc810c8977 Fixed GCC 4.4 build issue. Also fixed issue where upper 32-bits may be lost during AND operation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10376 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:34:22 +00:00
niruiyu a58cc068b6 Update DevicePath.h to add the UART_FLOW_CONTROL_HARDWARE and UART_FLOW_CONTROL_XON_XOFF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10354 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 08:42:07 +00:00
qhuang8 3432b0cf11 Fix INF file header format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10323 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-31 16:32:04 +00:00
hhtian 123e0cacd0 Not maintained.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10315 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:47:11 +00:00
qhuang8 fc5de6be8b Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-23 09:15:25 +00:00
qhuang8 6c3fa13c91 Define VERIFY_SIZE_OF macro to verify size of basic UEFI Data types. This should be equivalent with previous implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10283 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 00:25:47 +00:00
andrewfish 703f1d091f Add Math64.S to reduce the number of compiler intrinsics that need to be supported. It turns out they seem to change from GCC generation to generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10259 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 02:21:18 +00:00
qhuang8 852d891191 Minor update the patch for Edk r10248
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10253 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 05:57:21 +00:00
vanjeff eccca95eac add missed GUID definition of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL_GUID_31.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10251 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 05:10:06 +00:00
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