From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C7B768205E for ; Sun, 11 Dec 2016 19:20:03 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 11 Dec 2016 19:20:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,334,1477983600"; d="scan'208";a="201491204" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga004.fm.intel.com with ESMTP; 11 Dec 2016 19:20:02 -0800 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Ruiyu Ni Date: Mon, 12 Dec 2016 11:19:29 +0800 Message-Id: <1481512769-91960-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [patch] FatPkg/EnhancedFatDxe: Remove the file which is not used X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 03:20:03 -0000 Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- FatPkg/EnhancedFatDxe/Debug.c | 62 ------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 FatPkg/EnhancedFatDxe/Debug.c diff --git a/FatPkg/EnhancedFatDxe/Debug.c b/FatPkg/EnhancedFatDxe/Debug.c deleted file mode 100644 index ad23786..0000000 --- a/FatPkg/EnhancedFatDxe/Debug.c +++ /dev/null @@ -1,62 +0,0 @@ -/** @file - Debug functions for fat driver - -Copyright (c) 2005, Intel Corporation. All rights reserved.
-This program and the accompanying materials are licensed and made available -under the terms and conditions of the BSD License which accompanies this -distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - -#include "Fat.h" - -/** - - Dump all the FAT Entry of the FAT table in the volume. - - @param Volume - The volume whose FAT info will be dumped - -**/ -VOID -FatDumpFatTable ( - IN FAT_VOLUME *Volume - ) -{ - UINTN EntryValue; - UINTN MaxIndex; - UINTN Index; - CHAR16 *Pointer; - - MaxIndex = Volume->MaxCluster + 2; - - Print (L"Dump of Fat Table, MaxCluster %x\n", MaxIndex); - for (Index = 0; Index < MaxIndex; Index++) { - EntryValue = FatGetFatEntry (Volume, Index); - if (EntryValue != FAT_CLUSTER_FREE) { - Pointer = NULL; - switch (EntryValue) { - case FAT_CLUSTER_RESERVED: - Pointer = L"RESREVED"; - break; - - case FAT_CLUSTER_BAD: - Pointer = L"BAD"; - break; - } - - if (FAT_END_OF_FAT_CHAIN (EntryValue)) { - Pointer = L"LAST"; - } - - if (Pointer != NULL) { - Print (L"Entry %x = %s\n", Index, Pointer); - } else { - Print (L"Entry %x = %x\n", Index, EntryValue); - } - } - } -} -- 1.9.5.msysgit.1