ydong10
3e0587010e
Enhance the error handling for AllocatePool and AllocatePages function.
...
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13225 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-27 02:48:46 +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
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
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
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
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
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
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
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
eric_tian
fbf926add9
sync comments on data structure to follow latest UEFI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9309 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 08:56:33 +00:00
eric_tian
eaf75bf4b8
sync the latest spec changes with code
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9306 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-23 01:54:04 +00:00
qhuang8
add9c350e7
Add UEFI 2.2 and UEFI 2.3 signature.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9286 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:12:38 +00:00
qhuang8
eaa8a23486
1. Add a new Capsule initiate reset flag
...
2. Clarify return value for UEFI runtime service UpdateCapsule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9253 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 07:19:44 +00:00
mdkinney
8992ce066e
Fix file headers and a few comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9188 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 23:37:52 +00:00
qhuang8
ebd04fc2e5
Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9141 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19 14:02:07 +00:00
eric_tian
db27cda55e
SetVariable() function comments updated to follow UEFI2.3
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9120 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-19 02:48:50 +00:00
mdkinney
97f8b30ceb
Add ARM specific Machine Type
...
Add ARM specific removable media boot file name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9100 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18 20:49:49 +00:00
vanjeff
f754f721bf
update codes per MdePkg doxgen review comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8526 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 01:46:51 +00:00
pkandel
1a2f870c9b
Second set of changes based on a review of the code comments in the Include directory for typos, grammar issues, and language clarity.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8467 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 16:16:15 +00:00
gikidy
11ca63ec36
Review the comments to match Spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8225 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 09:26:15 +00:00
gikidy
298530bcaa
Useless definition removed and typo corrected.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8045 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:54:37 +00:00
jji4
a0d58c2124
Synchronized with UEFI Spec
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7959 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 09:30:21 +00:00
qhuang8
0763673064
Clean up to update the reference of the these macros:
...
EFI_SIGNATURE_16 -> SIGNATURE_16
EFI_SIGNATURE_32 -> SIGNATURE_32
EFI_SIGNATURE_64 -> SIGNATURE_64
EFI_FIELD_OFFSET -> OFFSET_OF
EFI_MAX_BIT -> MAX_BIT
EFI_MAX_ADDRESS -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7055 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:33:49 +00:00
lgao4
f6d2bcc6fa
Update EntryPoint library header
...
Remove UefiTcgPlatform.h from Uefi Directory to IndustryStandard
Change EFI_OPTIONAL_POINTER to EFI_OPTIONAL_PTR aligned to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7014 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 08:51:16 +00:00
lgao4
de2314f85c
Apply ReallocatePool API in DxeExtractGuidedSectionLib when the allocated resource is used out. And remove PCD.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6994 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-11 07:36:58 +00:00
lgao4
1bf793701b
Add comments for enumeration, structure data members those are referred by UefiService, Runtime Service, Dxe Service and Pei Service.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6974 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-10 08:22:03 +00:00
mdkinney
2a3f6a21d3
1) Add descriptions for the enum values or struc members for the following types:
...
EFI_ALLOCATION_TYPE
EFI_MEKORY_DESCRITOR
EFI_TIMER_DEALY
EFI_RESET_TYPE
EFI_INTERFACE_TYPE
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY
EFI_LOCATE_SEARCH_TYPE
EFI_CAPSULE_BLOCK_DESCRIPTOR
EFI_CAPSULE_HEADER
2) Rearrange some content to eliminate the need for the forward declaration of EFI_SYSTEM_TABLE
3) Update signature declarations to use EFI_SIGNATURE_64().
4) Move macro NEXT_MEMORY_DESCRITOR() from this file to the UEFI Library. It is not part of the UEFI Specification.
5) Fix hot key related type names to match the UEFI Specification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6908 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 23:08:08 +00:00
ywu21
2a2df9bec9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6890 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 03:54:53 +00:00
ywu21
0a015b7d06
update (EFIAPI *EFI_IMAGE_ENTRY_POINT) comment
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6855 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 04:37:01 +00:00
zliu3
b058028b67
Fix to pass the Richford tip ICC build, this check-in is need for the previous check-in version r6765 (Fix the parameter typo, it should confirm to UEFI spec.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6775 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 04:01:15 +00:00
vanjeff
43025b293f
ECC Clean up.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6205 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:55:01 +00:00
xli24
e0c047a04b
Update MdePkg/Include/Uefi according to code review comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6157 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-20 15:31:22 +00:00
vanjeff
9eb7382f73
1. remove EFI_EVENT_ alias, replace them with EVT_
...
2. remove definitions of EFI_DESCRIPTION_STRING and EFI_DESCRIPTION_STRING_BUNDLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5812 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 07:38:10 +00:00
klu2
8b13229b46
Fix doxygen issue:
...
1) comment for structure should be in doxygen format, such as /// , /**, /*!
2) comment for data field of structure should in doxygen format.
3) should not exist blank between ") (" when declaring a type of function point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5364 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 07:14:18 +00:00
qhuang8
ac64461468
De-unicode in comment for all source files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
lgao4
176a6bb358
Add Capsule image Table entry in Uefi/UefiSpec.h according to UEFI2.1 spec definition.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4332 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 07:06:01 +00:00
AJFISH
c9a0a0fcf1
Fixed tabbing issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4211 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 19:12:45 +00:00
vanjeff
d0c64728d4
1. Add PcdConOutGopSupport and PcdConOutUgaSupport in MdeModulePkg.dec
...
2. ConSplitterDxe module could produce GOP and/or UGA according to thest 2 PCDs.
3. Add PcdConOutGopSupport and PcdConOutUgaSupport reference in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4121 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 05:30:18 +00:00
AJFISH
0d332fdca8
UEFI Specification has a name conflict. Change the Variable definitions to not conflict with the SimpleTextInEx definitions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4099 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 17:12:14 +00:00
qwang12
f490a61d79
Make MdePkg GCC clean
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3710 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 03:02:57 +00:00
AJFISH
4bb89f14bd
Updated to reflect spec ECRs
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3522 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 16:01:02 +00:00
AJFISH
95cba3ee15
Added UEFI Boot Manager definitions to UEFISpec.h and removed from BDS
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3515 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 15:52:44 +00:00
yshang1
981a648dbb
Add enumeration EfiResetUpdate of EFI_RESET_TYPE, which is introduced in UEFI2.0/UEFI2.1 without value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3160 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 09:25:08 +00:00
AJFISH
93ce5aca74
Added EFI_EVENT_ alais for EVT_ #defines to match our old code
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3079 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 16:04:13 +00:00
yshang1
531febc2e4
Update EFI_CAPSULE_HEADER definition.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2986 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:44:35 +00:00
yshang1
45ad5569f4
Update the EFI_CAPSULE_HEADER definition.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2985 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:39:08 +00:00
AJFISH
842f5579c7
Updated headers to follow coding standard
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2815 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 22:53:31 +00:00
klu2
5413e8e8aa
Add missing definition for Time service which defined in UEFI specification 7.3 Time Services
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2781 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 06:38:31 +00:00