]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/FatPei/FatLiteFmt.h
FatPkg/FatPei: Remove BootInRecoveryMode PPI DEPEX.
[mirror_edk2.git] / FatPkg / FatPei / FatLiteFmt.h
index d4f26f35400c88d04a6432a311983cd2b5f4bf98..876874d6b3da9dc2ddf9dd087b52988b5a9b1548 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
   FAT format data structures\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 \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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -27,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define FAT_ATTR_ARCHIVE                  0x20\r
 #define FAT_ATTR_LFN                      (FAT_ATTR_READ_ONLY | FAT_ATTR_HIDDEN | FAT_ATTR_SYSTEM | FAT_ATTR_VOLUME_ID)\r
 \r
-#define FAT_CLUSTER_SPECIAL               ((-1 &~0xF) | 0x7)\r
+#define FAT_CLUSTER_SPECIAL               ((MAX_UINT32 &~0xF) | 0x7)\r
 #define FAT_CLUSTER_FREE                  0\r
 #define FAT_CLUSTER_RESERVED              (FAT_CLUSTER_SPECIAL)\r
 #define FAT_CLUSTER_BAD                   (FAT_CLUSTER_SPECIAL)\r