2) Add GUID and Library Class in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5712
6f19259b-4bc3-4df7-8a09-
765794883524
/** @file\r
Mde PI library functions.\r
\r
/** @file\r
Mde PI library functions.\r
\r
- Copyright (c) 2007, Intel Corporation<BR>\r
+ Copyright (c) 2007 - 2008, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv;\r
UINT32 AuthenticationStatus;\r
\r
EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv;\r
UINT32 AuthenticationStatus;\r
\r
+ ASSERT (NameGuid != NULL);\r
+ ASSERT (Buffer != NULL);\r
+ ASSERT (Size != NULL);\r
+ \r
ASSERT (FvHandle != NULL);\r
\r
Status = gBS->HandleProtocol (\r
ASSERT (FvHandle != NULL);\r
\r
Status = gBS->HandleProtocol (\r
#\r
# Library to abstract utility functions that is related to PI Specification.\r
#\r
#\r
# Library to abstract utility functions that is related to PI Specification.\r
#\r
-# Copyright (c) 2007, Intel Corporation.\r
+# Copyright (c) 2007 - 2008, Intel Corporation.\r
#\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
#\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
[LibraryClasses]\r
MemoryAllocationLib\r
DebugLib\r
[LibraryClasses]\r
MemoryAllocationLib\r
DebugLib\r
+ UefiBootServicesTableLib\r
\r
[Protocols]\r
gEfiFirmwareVolume2ProtocolGuid # ALWAYS_CONSUMED\r
\r
[Protocols]\r
gEfiFirmwareVolume2ProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiLoadedImageProtocolGuid\r