]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/EnhancedFatDxe/FatFileSystem.h
FatPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / FatPkg / EnhancedFatDxe / FatFileSystem.h
index a4d44054e16bb77b4baec1b4d835df1231c588d7..fc24293d52a7cccc45e5684728fc6bcdd784c429 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Definitions for on-disk FAT structures.\r
 \r
-Copyright (c) 2005, Intel Corporation. All rights reserved.<BR>\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
+Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 \r
 **/\r
@@ -26,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // FAT entry values\r
 //\r
-#define FAT_CLUSTER_SPECIAL_EXT       (-1 & (~0xF))\r
+#define FAT_CLUSTER_SPECIAL_EXT       (MAX_UINTN & (~0xF))\r
 #define FAT_CLUSTER_SPECIAL           ((FAT_CLUSTER_SPECIAL_EXT) | 0x07)\r
 #define FAT_CLUSTER_FREE              0\r
 #define FAT_CLUSTER_RESERVED          (FAT_CLUSTER_SPECIAL)\r