Commit graph

14 commits

Author SHA1 Message Date
vanjeff
f812c2259a Sync patches r13691, r13703, r13704, r13909, r13957, r14039, r14079, r14082, r14115, r14165, r14256, r14259, r14294 adn r14296 from main trunk.
1. Should pass in bytes of string buffer to UnicodeSPrint() rather than Unicode string length.
2. Check the return code from CoreLocateDevicePath() in MdeModulePkg/Core/Dxe/Image/Image.c CoreLoadImageCommon().
3. Fix the memory leak issue and enhance the check for CoreReadImageFile return.
4. MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib.
5. SecurityPkg update:
   a. Correct the counter-based hash algorithm according to UEFI spec.
   b. Check the reserverd bit in variable attribute.
   c. Return EFI_OUT_OF_RESOURCE instead of EFI_SECURITY_VIOLATION if there
      is not enough speace to store the public key.
   d. Fix a bug when deleting a non-existent time-based auth variable, we
      store the certificate into cert DB incorrectly.
   e. Fix a bug that time-based auth variable can't been updated again after
      append operation.
6. Fix several RFC compliance issues in DHCP6 driver as below.
   a. Client must ignore any Advertise message that includes a Status
      Code option containing the value NoAddrsAvail.
   b. The elapsed-time should start from the current DHCP transaction.
   c. Client should not change any information about addresses the client
      has recorded in the IA but not included in the IA from the server.
   d. Client need to update to handle the error status code
      UnspecFail/UseMulticast/NotOnLink/NoBinding in the Reply message
      from server.
   e. When the client receives a Reply message in response to a 
      Renew/ Rebind message, the client examines each IA independently.
      For each IA in the original Renew/ Rebind message, the client sends
      a Renew/ Rebind if the IA is not in the Reply message.
   f. Client should uses network byte order in IANA T1/T2 option 7.
      Client should discard any addresses for which the preferred lifetime
      is greater than the valid lifetime.
7. Fix infinite loop bug in secure boot UI driver.
8. Fix a bug in snp driver binding Start() that it may return incorrect status code.
9. Fix a bug that IsSignatureFoundInDatabase() incorrectly computes CertCount.
10.Fix several bugs in the implementation of converting SAS/SASEX device path node from/to text.
11.Add transit bit check for detecting partial response in iSCSI stack.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010.SR1@14331 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-09 04:06:58 +00:00
li-elvin
e846c180b9 The handler dispatcher in PEI statuscode router driver should check if handler is NULL, if it is not NULL, then handler can be called.
Signed-off-by: li-elvin
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12699 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15 06:36:37 +00:00
li-elvin
04bbf1f3f0 When status code handler unregister itself, status code dispatch in status code router driver will have problem to get next handler. Fixed the issue in status code router.
Signed-off-by: li-elvin
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12068 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 07:39:02 +00:00
ydong10
639710791a Enhance inf and dec file to follow specs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11392 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:43:59 +00:00
li-elvin
4e03ff80a1 If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11274 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26 07:57:13 +00:00
hhtian
e5eed7d364 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:33:45 +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
mdkinney
d3308de7f5 Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10014 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-16 04:06:46 +00:00
hhtian
f13321ca16 SMM driver should link UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9795 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-23 07:59:34 +00:00
xli24
e986760617 Ensure there is only one instance of Status Code PPI in system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9747 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 07:23:10 +00:00
davidhuang
202c32790f PI 1.1 SMM Feature Check-in
1. Update DxeMain to support COMBINED_DXE_SMM driver dispatch.
2. Add ReportStatusCodeRouter SMM part.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9591 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:51:36 +00:00
xli24
43e332071d Refine type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9574 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 02:42:22 +00:00
xli24
cfc2ba61e4 Fix the issue that callback function with TPL lower than TPL_HIGH_LEVEL cannot handle status code at TPL_HIGH_LEVEL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9568 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-16 04:50:57 +00:00
xli24
25126a0530 Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9388 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-03 02:39:10 +00:00