]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/TianoTools/GenCapsuleHdr/GenCapsuleHdr.c
Added some checks to see if the attributes were set - clears up some warning messages...
[mirror_edk2.git] / Tools / Source / TianoTools / GenCapsuleHdr / GenCapsuleHdr.c
index 88944cc66484db52d136f96834900a6d9d062de1..d1f55b9abd44c54bb2b9f119dfe3de7fe874062a 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c)  2002 - 2005, Intel Corporation. All rights reserved\r
-This software and associated documentation (if any) is furnished\r
-under a license and may only be used or copied in accordance\r
-with the terms of the license. Except as permitted by such\r
-license, no part of this software or documentation may be\r
-reproduced, stored in a retrieval system, or transmitted in any\r
-form or by any means without the express written consent of\r
-Intel Corporation.\r
+Copyright (c)  2002-2006 Intel Corporation. All rights reserved\r
+This program and the accompanying materials are licensed and made available \r
+under the terms and conditions of the BSD License which accompanies this \r
+distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 \r
 Module Name:\r
@@ -28,18 +28,18 @@ Abstract:
 #include <stdlib.h>\r
 #include <ctype.h>\r
 \r
-#include <UefiBaseTypes.h>\r
-#include <Base.h>\r
-#include <CommonLib.h>\r
+#include <Common/UefiBaseTypes.h>\r
+#include <Common/MultiPhase.h>\r
+#include <Common/Capsule.h>\r
+#include <Common/FirmwareVolumeImageFormat.h>\r
+#include <Common/FirmwareVolumeHeader.h>\r
+#include <Common/FirmwareFileSystem.h>  // for FV header GUID\r
+#include <Guid/Capsule.h>\r
+#include <Guid/FirmwareFileSystem.h>  // for FV header GUID\r
 \r
+#include "CommonLib.h"\r
 #include "EfiUtilityMsgs.h"\r
-#include "MultiPhase.h"\r
-#include "Capsule.h"\r
-#include "Guid/Capsule.h"\r
-#include "FirmwareVolumeImageFormat.h"\r
-#include "FirmwareVolumeHeader.h"\r
-#include "FirmwareFileSystem.h"  // for FV header GUID\r
-#include "Guid/FirmwareFileSystem.h"  // for FV header GUID\r
+\r
 #define MAX_PATH                  256\r
 #define PROGRAM_NAME              "GenCapsuleHdr"\r
 \r