[Feature]Upload Modem source code
Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/service/fs/common/include/fs_internal_api.h b/mcu/service/fs/common/include/fs_internal_api.h
new file mode 100644
index 0000000..9cdeef9
--- /dev/null
+++ b/mcu/service/fs/common/include/fs_internal_api.h
@@ -0,0 +1,163 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of MediaTek Inc. (C) 2005
+*
+* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * fs_internal_api.h
+ *
+ * Project:
+ * --------
+ * Maui_Software
+ *
+ * Description:
+ * ------------
+ * This file provides the header of MTK file system internal common APIs.
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ * HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+ ****************************************************************************/
+#ifndef _FS_INTERNAL_API_H
+#define _FS_INTERNAL_API_H
+
+/*-----------------------------------
+ * Included Header Files
+ *-----------------------------------*/
+
+#include "fs_gprot.h"
+#include "fs_iprot.h"
+
+/*-------------------------------------
+ * Global Definitions
+ *-------------------------------------*/
+
+/*-------------------------------------
+ * Exported Variables
+ *-------------------------------------*/
+
+/*-------------------------------------
+ * Exported Functions
+ *-------------------------------------*/
+
+#include "kal_public_defs.h" //MSBB change #include "stack_common.h"
+#include "kal_public_api.h"
+
+extern msg_type fs_job_api_to_msgid(fs_api_enum api);
+
+extern FS_Device* fs_conf_find_dev_by_devtype(FS_DEVICE_TYPE_ENUM dev_type, kal_uint32 serial);
+extern FS_DEVICE_TYPE_ENUM fs_conf_get_default_devtype(void);
+extern kal_uint32 fs_conf_get_devflag_by_devtype(FS_DEVICE_TYPE_ENUM dev_type);
+extern kal_uint32 fs_conf_get_devtype_by_devflag(kal_uint32 dev_flag);
+extern FS_Drive* fs_conf_get_drv_struct_by_drv_letter(WCHAR drv_letter);
+extern FS_File* fs_conf_get_file_by_fh(FS_HANDLE fh);
+extern WCHAR fs_conf_get_native_drive_letter(WCHAR drv_letter);
+extern kal_bool fs_conf_query_if_sys_drv(WCHAR drv_letter, WCHAR *native_drv_letter);
+extern kal_uint32 fs_conf_get_first_drive_size(FS_Device *dev, kal_uint32 avail_sectors);
+extern kal_uint32 fs_conf_get_tls_idx(void);
+
+extern kal_bool fs_fh_is_aborted(FS_File *f);
+
+extern int fs_fmt_self_format(FS_Device *Dev, kal_uint32 DeviceType);
+
+extern void fs_mem_init(void);
+extern void * fs_mem_alloc(fs_mem_type_enum type, kal_uint32 size, kal_uint32 options);
+extern void fs_mem_free(fs_mem_type_enum type, void * addr, kal_uint32 size);
+
+#endif // !_FS_INTERNAL_API_H
diff --git a/mcu/service/fs/common/include/fs_internal_def.h b/mcu/service/fs/common/include/fs_internal_def.h
new file mode 100644
index 0000000..02b55c6
--- /dev/null
+++ b/mcu/service/fs/common/include/fs_internal_def.h
@@ -0,0 +1,305 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of MediaTek Inc. (C) 2005
+*
+* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * fs_internal_def.h
+ *
+ * Project:
+ * --------
+ * Maui_Software
+ *
+ * Description:
+ * ------------
+ * This file provides MTK file system internal definitions.
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ * HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+ ****************************************************************************/
+#ifndef _FS_INTERNAL_DEF_H
+#define _FS_INTERNAL_DEF_H
+
+/*-----------------------------------
+ * Included Header Files
+ *-----------------------------------*/
+
+#if defined(__ARM_FPUV2__) && !defined(__FS_CARD_DOWNLOAD__)
+ #define __FS_XDATA_MEMORY_NOT_IN_STACK__
+#endif
+
+#if !defined(__FS_CARD_DOWNLOAD__) && !defined(__FS_IO_STATISTICS__)
+ #define __FS_IO_STATISTICS__
+#endif
+
+#ifdef __FS_OPEN_HINT__
+ #ifdef __FS_CARD_DOWNLOAD__
+ #undef __FS_OPEN_HINT__
+ #endif
+#endif
+
+#ifdef __FS_DEDICATED_BUFFER__
+ #define __FS_INTERVAL_BUFFER__
+ #ifdef __FS_CARD_DOWNLOAD__
+ #undef __FS_DEDICATED_BUFFER__
+ #endif
+#endif
+
+#ifdef FS_MAX_DISK_SIZE
+ #if (FS_MAX_DISK_SIZE > 0)
+ #define __FS_LIMITED_DISK_SIZE__
+ #endif
+#endif
+
+
+/*-------------------------------------
+ * Definitions by Segmentation
+ *-------------------------------------*/
+
+//--- Slim ---
+
+#ifdef __FS_SLIM__ // for slim development
+
+ // Slim FMGR
+ #if !defined(__FS_CARD2_SUPPORT__) // disable Slim FMGR for Dual T-Card SQC (Will be reviewed in MP version)
+ #define __FS_SLIM_VOLUME_LABEL__
+ #define __FS_SLIM_SOFT_UNMOUNT__
+ #endif
+
+ // Static compile option
+ #define __FS_SLIM_RTFINIT__
+ #define __FS_SLIM_CHECKSTACK__
+
+ // De-feature (Keep the compile options and codes)
+ #define __FS_SLIM_PHYSICAL_DRIVE__
+ #define __FS_SLIM_EXTENDED_PARTITION__
+ #define __FS_SLIM_CHECK_DIR__
+ #define __FS_SLIM_CRITICAL_ERROR_HDR__
+
+ // Change feature (Keep the compile options and codes)
+ #if !defined(__BOOT_FAT_RESET__)
+ #define __FS_SLIM_LOW_LEVEL_FORMAT__
+ #endif
+
+ #if !defined(__OTG_ENABLE__)
+ #define __FS_SLIM_OTG__
+ #endif
+
+ // Wait for related design
+ //#define __FS_SLIM_QUOTA_CONFIG_CHECK__
+
+#endif // __FS_SLIM__
+
+//--- Ultra low-cost ---
+
+#ifdef __LOW_COST_SUPPORT_ULC__
+ #define __FS_PROPRIETARY_SET__
+
+ #if !defined(__FS_CARD_SUPPORT__)
+ #define __FS_PATH_LENGTH_LIMITED__
+ #define __NOT_SUPPORT_FAT32__ // FAT32 can be disabled only if memory card is NOT supported.
+ #endif
+#endif
+
+//--- FMT service ---
+
+#ifndef FMT_NOT_PRESENT
+ #define __FS_FMT_SERVICE__ // File Manager is supported
+#endif
+
+//--- USB Mass Storage Service ---
+
+
+//--- Memory Card Service ---
+
+#if defined(__FS_CARD_SUPPORT__)
+ #define __FS_MEMORY_CARD_SERVICE__
+#endif
+
+/*-------------------------------------
+ * Definitions by Features
+ *-------------------------------------*/
+
+//--- Asynchronous Interface ---
+
+/*
+ * Feature option in makefile: FS_ASYNC_SERVICE = TRUE / FALSE
+ * compile option: __FS_ASYNC_SUPPORT__
+ * Dependency rule:
+ */
+
+#if defined(__FS_ASYNC_SUPPORT__)
+ #define __FS_ASYNC_SUPPORT_TASK__
+#else
+ #define __FS_ASYNC_SUPPORT_ALONE__
+#endif
+//--- Encoding ---
+
+/*---------------------------------------------------------------------------
+ * FS Native Encoding Transparent
+ *
+ * If this feature is enabled, FS will generate valid ASCII characters by formula
+ * for SFN and ignore any native encoding settings.
+ *
+ * FS will assume that applications always use enough buffer, say 260 WCHAR, to
+ * retrieve file names. If buffer for file name is suffiecient, FS will always
+ * returns LFN if it is existed. Note that if applications use insufficient buffer,
+ * it will get SFN and users may be confused because SFN and LFN may look different.
+ ----------------------------------------------------------------------------*/
+
+#ifdef WISDOM_MMI
+ #ifndef __FS_NATIVE_ENCODING_TRANSPARENT__
+ #define __FS_NATIVE_ENCODING_TRANSPARENT__
+ #endif
+#endif
+
+//--- NOR Idle Sweep ---
+
+//--- Cacheability ---
+
+#if defined(__DYNAMIC_SWITCH_CACHEABILITY__) && defined(__MTK_TARGET__)
+ #define FS_CACHE_ALIGNMENT_OFFSET (32)
+#else
+ #define FS_CACHE_ALIGNMENT_OFFSET (4)
+#endif
+
+//--- Smart File Seek ---
+
+/*---------------------------------------------------------------------------
+ * FS Smart File Seek
+ *
+ * If this option is defined, FS supports smart file seek feature and exports a new API
+ * FS_SetSeekHintEx() for users to enhance file seek performance.
+ *
+ * FS smart file seeker is (Applied on both FS_Seek and FS_SeekLargeFile).
+ ----------------------------------------------------------------------------*/
+#if !defined(__FS_PROPRIETARY_SET__) && !defined(__FS_CARD_DOWNLOAD__) && !defined(__FS_SLIM__)
+
+ #if !defined(__FS_SMART_FILE_SEEKER__)
+ #define __FS_SMART_FILE_SEEKER__
+ #endif
+
+#endif
+
+#endif // !_FS_INTERNAL_DEF_H
diff --git a/mcu/service/fs/common/include/fs_iprot.h b/mcu/service/fs/common/include/fs_iprot.h
new file mode 100644
index 0000000..553e5bb
--- /dev/null
+++ b/mcu/service/fs/common/include/fs_iprot.h
@@ -0,0 +1,697 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of MediaTek Inc. (C) 2005
+*
+* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ * fs_iprot.h
+ *
+ * Project:
+ * --------
+ * Maui Software
+ *
+ * Description:
+ * ------------
+ * This file provides the header of MTK file system internal prototypes.
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ * HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+ ****************************************************************************/
+#ifndef _FS_IPROT_H
+#define _FS_IPROT_H
+
+#include "fs_gprot.h"
+
+//-----------------------------------------------------------------------------
+// Internal Macros
+//-----------------------------------------------------------------------------
+// FS_DeviceInfo (RTFDeviceInfo) related definition (internal)
+#define FS_DEVICE_FLAG_VISIBLE (0x00000001)
+#define FS_DEVICE_FLAG_PRESENT (0x00000010)
+
+//-- TLS (internal)
+#ifndef MAX_TLS_INDEX
+#define MAX_TLS_INDEX 2
+#endif
+
+//-- Trace (internal)
+#define FS_TRACE_INDEX 2 // (should obsolete)
+
+//-- Flag of FS_Buffer.recoverable_flag (internal)
+#define FS_RECOVERABLE_WRITE 1
+#define FS_NORMAL_WRITE 0
+
+//-- Recursive Engine maximum level
+#define FS_MAX_FOLDER_LEVEL (128) // The maximum folder level for FAT FS
+
+//-- Short filename
+#define FS_PRIVATE_FLAG_IGNORE_SFN_GENERATION (0x0001)
+
+
+//-----------------------------------------------------------------------------
+// Internal Enumerations
+//-----------------------------------------------------------------------------
+//-- For Driver only
+typedef enum
+{
+ FS_DEVICE_UNKNOWN,
+ FS_DEVICE_FLOPPY,
+ FS_DEVICE_FDISK
+} FS_DRIVER_DEVICE_ENUM;
+
+//-- For Driver->MessageAck
+typedef enum
+{
+ FS_DEV_IN_ACK_ENUM = 1,
+ FS_DEV_SLOT_ACK_ENUM,
+ FS_DEV_OUT_ACK_ENUM
+} FS_ACK_TYPE_ENUM;
+
+//-- For exception memory
+typedef enum
+{
+ FS_MEM_TYPE_DEFAULT = 0x00, // (invalid type)
+ FS_MEM_TYPE_XDATA = 0x01, // for _XData
+ FS_MEM_TYPE_INVALID = 0xFF // (invalid type)
+} fs_mem_type_enum;
+
+//-- Open Hint Cache
+typedef enum {
+ FS_HINT_FREE = 0,
+ FS_HINT_ALLOCATED,
+ FS_HINT_CREATING,
+ FS_HINT_STABLE,
+ FS_HINT_STABLE_LOCKED,
+ FS_HINT_DELETED_LOCKED
+} FS_OpenHintStatusEnum;
+
+//-- Device CFI information query
+typedef enum
+{
+ FS_DEV_NO_BOOT = 0,
+ FS_DEV_DUAL_BOOT,
+ FS_DEV_TOP_BOOT,
+ FS_DEV_BOTTOM_BOOT
+} FS_DEVICE_BOOT_LOCATION_ENUM;
+
+//-- FS trace file enumeration
+typedef enum {
+ rtfiles_c = 0,
+ rtfcore_c,
+ rtfbuf_c,
+ rtfex_c,
+ fs_func_c,
+ fs_func_adv_c,
+ fs_func_async_c,
+ fs_internal_c,
+ fs_internal_api_c,
+ fs_kal_c,
+ fs_task_c,
+ fs_utility_c,
+ fs_usbms_c,
+ fs_unknown_src_file
+} fs_src_file_enum;
+
+
+//-----------------------------------------------------------------------------
+// Internal Structure
+//-----------------------------------------------------------------------------
+//-- Exception Handler: TLS
+typedef struct
+{
+ fs_job_id current_job;
+ kal_bool aborted;
+} fs_tls_struct;
+
+
+// Open Hint Location
+typedef struct {
+ kal_uint32 Cluster; // zero if none
+ kal_uint32 Index; // undefined if none
+ kal_uint32 DirCluster;
+} FS_OpenHintLocation;
+
+// FS Internal open hint
+typedef struct {
+ FS_OpenHintStatusEnum Status;
+ kal_uint8 FirstLevel;
+ kal_uint8 HintNum;
+ kal_uint8 FirstHint;
+ kal_uint8 HitStamp;
+ kal_uint8 Flag;
+ kal_uint16 PathLength;
+ FS_Drive * Drive;
+ kal_uint32 SerialNumber;
+ FS_OpenHintLocation * Location;
+ WCHAR Path[FS_MAX_PATH / 2];
+} FS_OpenHintPath;
+
+// FS external open hint
+typedef struct {
+ // Dir Location
+ kal_uint32 Cluster;
+ kal_uint32 Index;
+ // Extension
+ kal_uint8 Level;
+ kal_uint8 PathIndex;
+ kal_uint8 MatchType;
+ kal_uint8 Flag;
+ kal_uint32 DirCluster;
+} FS_OpenHintInt;
+
+// SD Format
+typedef enum
+{
+ FS_SD_FMT_OK = 0,
+ FS_SD_FMT_SIGNATURE_FAIL = 1,
+ FS_SD_FMT_MBR_FAIL = 2,
+ FS_SD_FMT_BS_FAIL = 3
+} FS_SD_FMT_ENUM;
+
+//-----------------------------------------------------------------------------
+// Internal API Prototype
+//-----------------------------------------------------------------------------
+#if !(defined(__CCCIFS_SUPPORT__) && defined(__MTK_TARGET__))
+
+/* DOM-NOT_FOR_SDK-BEGIN */
+
+// Feature Phone
+
+/*****************************************************************************
+ * <GROUP FileContent>
+ *
+ * FUNCTION
+ * FS_Close
+ * DESCRIPTION
+ * To Close all currently open files.
+ * <WARNING>
+ * PARAMETERS
+ * N/A
+ * RETURNS
+ * If the function succeeds, the return value is the number of open files found
+ * and closed. If the function fails, the return value is a negative error code.
+ * In case of failure, some files may have been closed successfully, while others
+ * could not be closed.This function also invalidates all of FS's file handles,
+ * which may be in use by the application. Subsequent use of such handles will
+ * fail.
+ *****************************************************************************/
+extern int FS_CloseAll(void);
+
+/*****************************************************************************
+ * <GROUP FileOperation>
+ *
+ * FUNCTION
+ * FS_ReleaseFH
+ * DESCRIPTION
+ * This function can release all the file handles used by the specified task.
+ * PARAMETERS
+ * TaskId : [IN]<P>Specified the file handled owned by the task. If this value
+ * is NULL, FS will release all the file handles occupied by
+ * the current task.
+ * RETURNS
+ * Always returns FS_NO_ERROR.
+ *****************************************************************************/
+extern int FS_ReleaseFH(void * TaskId);
+
+/*****************************************************************************
+ * <GROUP Obsolete >
+ *
+ * FUNCTION
+ * FS_GetFirstCluster
+ * DESCRIPTION
+ * This function provides facility to get the first cluster (unique file/folder
+ * information in a drive).
+ * PARAMETERS
+ * FileHandle : [IN] <P>User provides specified file handle
+ * Cluster : [OUT]<P>The first cluster number to return
+ * RETURNS
+ * Successful : FS_NO_ERROR
+ * Failed : Please refer to fs_error_enum.
+ *****************************************************************************/
+extern int FS_GetFirstCluster(FS_HANDLE FileHandle, UINT * Cluster);
+
+/*****************************************************************************
+ * <GROUP VolumeManagement>
+ *
+ * FUNCTION
+ * FS_CreateBootSector
+ * DESCRIPTION
+ * Create a valid boot sector for a logical drive.
+ * PARAMETERS
+ * BootSector : [OUT] <P>Must point to a buffer of at least 512 bytes. It will receive the boot sector data.
+ * Partition : [IN] <P>Must point to a partition record describing the partition for which the boot sector is intended. If the boot record is to be written to a hard disk, this data must be identical to the respective partition record in the partition table.
+ * MediaDescriptor : [IN] <P>It's the value to be written into the BIOS parameter block. FS never uses this value, but other operating systems may require it to mount a volume. MediaDescriptors usually supplied by the device driver.
+ * MinSectorsPerCluster : [IN] <P>Specifies the minimum number of sectors per cluster.
+ * Flags : [IN] <P>Controls additional properties of the file system to set up. Please refer to the documentation of function FS_Format for details about parameters MinSectorsPerCluster and Flags.
+ * RETURNS
+ * If the function succeeds, it returns the first data sector number (if flag has FS_FMT_GET_DATA_SECTOR) or the FAT type. If it fails, the return value is a negative error code.
+ * NOTE
+ * (1) Path name should be exactly the same as one in QuotaSet.
+ * (2) To save more resource, we use ¡§BYTE¡¨ (unsigned char) instead of FS traditional WCHAR here.
+ *****************************************************************************/
+extern int FS_CreateBootSector(void * BootSector, const FS_PartitionRecord * Partition, BYTE MediaDescriptor, UINT MinSectorsPerCluster, UINT Flags);
+
+/*****************************************************************************
+ * <GROUP VolumeManagement>
+ *
+ * FUNCTION
+ * FS_GetPartitionInfo
+ * DESCRIPTION
+ * Return information about a partition or physical disk.
+ * PARAMETERS
+ * DriveName : [IN] <P>Must be a valid file name (for example, a root directory named "C:\"), a logical drive name ("\\.\C:"), or a physical disk name ("\\.\PHYSICALDRIVE0"). If the name refers to a physical disk file, the returned partition information applies to the whole disk, not just a single logical drive.
+ * PartitionInfo : [OUT] <P>Please refer to FS_PartitionRecord.
+ * RETURNS
+ * If the function succeeds, the return value is FS_NO_ERROR and the structure is filled as described below. If the function fails, the return value is a negative error code.
+ * <xtable>
+ * Value Meaning
+ * ----------------- -------------------------------------------------------
+ * Partition This field contains a physical copy of the partition record read from the partition table to mount this partition. For floppy disks and physical disks, FS will create a fake partition record describing the whole disk.
+ * PartitionSector The physical sector number of the hosting device containing the partition table containing the above partition record. This value will be 0 for all primary partitions.
+ * PhysicalDiskIndex The index of the physical disk device hosting this partition, or -1 for a floppy disk. The first hard disk in the system has index 0.
+ * BytesPerSector The sector size of the disk.
+ * MediaDescriptor The media byte of the hosting device. This value will be F8h for hard disks and some other value read from the boot sector for floppies. If this value is 0, FS was unable to determine the media descriptor. This situation can occur when the boot sector of a floppy disk is unreadable.
+ * DeviceListIndex The zero-based index of the device hosting the partition in FS's device list.
+ * </xtable>
+ * NOTE
+ * Please note that actual values must be calculated as follows:
+ * ActualStartSector = StartSector & 63;
+ * ActualStartTrack = StartTrack | ((StartSector & 0xC0) << 2);
+ * ActualEndSector = EndSector & 63;
+ * ActualEndTrack = EndTrack | ((EndSector & 0xC0) << 2);
+ * For large hard disks, the EndTrack value may be incorrect, because it is limited to 1024 cylinders. If you need to calculate the size of a disk or partition, rely on field Sectors.
+ *****************************************************************************/
+extern int FS_GetPartitionInfo(const WCHAR * DriveName, FS_PartitionRecord * PartitionInfo);
+
+/*****************************************************************************
+ * <GROUP VolumeManagement>
+ *
+ * FUNCTION
+ * FS_MappingDrive
+ * DESCRIPTION
+ * This function can map one drive to another drive name. The first user, FS_SanityCheck
+ * in system booting up, will call FS_GetDrive to get the system drive name and map it
+ * to another fixed drive in all project. <color red>Here we decided to map it to ¡¥Z¡¦ drive in
+ * all projects.<color>
+ * PARAMETERS
+ * UpperOldDrv : [IN] <P>Capital system drive name you get
+ * UpperNewDrv : [IN] <P>Capital fixed drive name you want
+ * RETURN VALUES
+ * FS_PARAM_ERROR (-2):
+ * Drive number over range.
+ * For an example: if this project has 6 drive,
+ * UpperOldDrv should be 67~70, UpperNewDrv should be 71~90 (not include 88)
+ * FS_ACCESS_DENIED (-16):
+ * Call this function without initialize file system
+ * One should call function, FS_GetDrive, to get system drive number (UpperOldDrv) first.
+ * The function will help you to initialize file system if it has not been initiated yet.
+ * NOTE
+ * (1) This function now only supports one mapping. If you map it to another drive again, the former configuration will be reset.
+ * (2) Drive ¡¥X¡¦ is reserved in file system. You should not map system drive to ¡¥X¡¦.
+ * (3) If you map system drive, say ¡¥D¡¦ drive, to ¡¥Z¡¦ drive. Then you can access system drive either via ¡¥D¡¦ or ¡¥Z¡¦ later.
+ *****************************************************************************/
+extern int FS_MappingDrive(UINT UpperOldDrv, UINT UpperNewDrv);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * FS_SetDiskFlag
+ * DESCRIPTION
+ * Create a flag file in system drive for sanity check indication. If the system shutdown normally, FS_ClearDiskFlag should be called to delete the file. If the file exists when system boot up, sanity check will be triggered.
+ * PARAMETERS
+ * N/A
+ * RETURNS
+ * Refer to fs_error_enum. If the function succeeds, the return value is FS_NO_ERROR. If the function fails, the return value is a negative error code.
+ *****************************************************************************/
+extern int FS_SetDiskFlag(void);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * FS_ClearDiskFlag
+ * DESCRIPTION
+ * Delete the flag file in system drive.
+ * PARAMETERS
+ * N/A
+ * RETURNS
+ * If the function succeeds, the return value is FS_NO_ERROR. If the function fails, the return value is a negative error code.
+ *****************************************************************************/
+extern int FS_ClearDiskFlag(void);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * FS_CreateMasterBootRecord
+ * DESCRIPTION
+ * Create a valid master boot record with a partition table for a hard disk.
+ * PARAMETERS
+ * SectorBuffer: [OUT] <P>Must point to a buffer of at least 512 bytes size. It will receive the new master boot record.
+ * DiskGeometry: [OUT] <P>It's a pointer to a partition record describing the complete hard disk. This information will usually supplied by a device driver.
+ * RETURNS
+ * If the function succeeds, the return value is FS_NO_ERROR.
+ * If the function fails, the return value is a negative error code.
+ * FS_CreateMasterBootRecord fills the supplied buffer with a master boot loader and a partition table containing exactly one primary active partition spanning the complete disk.
+ * Please refer to FS_GetPartitionInfo for more information about structure FS_PartitionRecord.
+ *****************************************************************************/
+extern int FS_CreateMasterBootRecord(void * SectorBuffer, const FS_PartitionRecord * DiskGeometry);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * FS_SplitPartition
+ * DESCRIPTION
+ * Split the last partition in a partition table into two partitions.
+ * PARAMETERS
+ * MasterBootRecord : [OUT] <P>Must point to a buffer of at least 512 bytes size containing a valid master boot record with a partition table.
+ * Sectors : [IN] <P>Specifies how many sectors to allocate to the currently last partition. It must be less than the number of sectors it currently has. All remaining sectors are then allocated to a new partition.
+ * RETURNS
+ * If the function succeeds, the return value is a zero-based index of the created partition (a value between 1 and 3). If the function fails, the return value is a negative error code.
+ * Parameter Sectors is rounded down to a multiple of a cylinder, so the actual number of sectors can be less than the specified value.
+ *****************************************************************************/
+extern int FS_SplitPartition(void * MasterBootRecord, UINT Sectors);
+
+/*****************************************************************************
+ * <GROUP LifeCycle>
+ *
+ * FUNCTION
+ * FS_ShutDown
+ * DESCRIPTION
+ * This function will un-mount all devices and calls disk drivers to shutdown all the disks. This API is limited used by system process.
+ * RETURNS
+ * N/A
+ *****************************************************************************/
+extern void FS_ShutDown(void);
+
+/*****************************************************************************
+ * <GROUP LifeCycle>
+ *
+ * FUNCTION
+ * FS_UnlockAll
+ * DESCRIPTION
+ * Unlock all devices and files. This API is limited to be used in system error handling processing.
+ * RETURNS
+ * Return the number of devices that have been unlocked.
+ * Refer to fs_error_enum.
+ * Note
+ * This function should only be called by the system.
+ *****************************************************************************/
+extern int FS_UnlockAll(void);
+
+/*****************************************************************************
+ * <GROUP LifeCycle>
+ *
+ * FUNCTION
+ * FS_LockFAT
+ * DESCRIPTION
+ * This function provides interface to switch global state in whole file system
+ * to work well under specific system mode. USB Boot Mode, Low Cost Single Bank
+ * Mode and Mass Storage Mode require File System to lock or limit application
+ * access.
+ * PARAMETERS
+ * Type : [IN] <P>New File System State. Refer to FS_LOCK_TYPE_ENUM.
+ * RETURNS
+ * Refer to fs_error_enum.
+ *****************************************************************************/
+extern int FS_LockFAT(UINT Type);
+
+/*************************************************************************
+ * <GROUP DirectIOCtrl>
+ *
+ * FUNCTION
+ * FS_OTPWrite
+ * DESCRIPTION
+ * Some flash devices provide OTP (One-Time Program) zone. This API is a
+ * driver wrapper function for application to support multiple device
+ * drivers and prevent re-entrance problem on the same device driver.
+ * Applications can read the specific content segment from OTP zone by
+ * this API.
+ * First it enters secured silicon sector, and write data from "Offset",
+ * totally write "Length" bytes, then exit secured silicon sector mode.
+ * <color red>Be careful</color>, do not set bit to one if it is zero
+ * PARAMETERS
+ * devtype : [IN] <P>FS_DEVICE_TYPE_NOR or FS_DEVICE_TYPE_NAND can be assigned.
+ * Offset : [IN] <P>The start position to read from (unit: bytes).
+ * BufferPtr : [IN] <P>The buffer address to keep copied data
+ * Length : [IN] <P>Specific total length of this read operation (unit: bytes)
+ * RETURN VALUES
+ * FS_NO_ERROR : success
+ * FS_UNSUPPORTED_DEVICE (-11): no such OTP device configured
+ * FS_UNSUPPORTED_DRIVER_FUNCTION (-12): no OTP function supported on configured device
+ * FS_FLASH_OTP_OVERSCOPE (-124): writing range is out of OTP range
+ * FS_FLASH_OTP_LOCK_ALREADY (-127): the OTP zone already locked.
+ *************************************************************************/
+extern int FS_OTPWrite(int devtype, UINT Offset, void * BufferPtr, kal_uint32 Length);
+
+/*************************************************************************
+ * <GROUP DirectIOCtrl>
+ *
+ * FUNCTION
+ * FS_OTPRead
+ * DESCRIPTION
+ * Some flash devices provide OTP (One-Time Program) zone. This API is a
+ * driver wrapper function for application to support multiple device
+ * drivers and prevent re-entrance problem on the same device driver.
+ * Applications can read the specific content segment from OTP zone by
+ * this API.
+ * first it enters secured silicon sector, and read data from "Offset",
+ * totally read "Length" bytes, then exit secured silicon sector mode
+ * PARAMETERS
+ * devtype : [IN] <P>FS_DEVICE_TYPE_NOR or FS_DEVICE_TYPE_NAND can be assigned.
+ * Offset : [IN] <P>The start position to read from (unit: bytes).
+ * BufferPtr : [IN] <P>The buffer address to keep copied data
+ * Length : [IN] <P>Specific total length of this read operation (unit: bytes)
+ * RETURN VALUES
+ * FS_NO_ERROR : success
+ * FS_UNSUPPORTED_DEVICE (-11): no such OTP device configured
+ * FS_UNSUPPORTED_DRIVER_FUNCTION (-12): no OTP function supported on configured device
+ * FS_FLASH_OTP_OVERSCOPE (-124): reading range is out of OTP range
+ *************************************************************************/
+extern int FS_OTPRead(int devtype, UINT Offset, void * BufferPtr, kal_uint32 Length);
+
+/*************************************************************************
+ * <GROUP DirectIOCtrl>
+ *
+ * FUNCTION
+ * FS_OTPQueryLength
+ * DESCRIPTION
+ * This function implements the OTP length query function.
+ * PARAMETERS
+ * devtype : [IN] <P>FS_DEVICE_TYPE_NOR or FS_DEVICE_TYPE_NAND can be assigned.
+ * Offset : [IN] <P>The start position to read from (unit: bytes).
+ * RETURN VALUES
+ * FS_NO_ERROR: no error
+ * FS_UNSUPPORTED_DEVICE: no OTP device configured
+ * FS_UNSUPPORTED_DRIVER_FUNCTION: no OTP function support on configured device
+ *************************************************************************/
+extern int FS_OTPQueryLength(int devtype, UINT *Length);
+
+/*************************************************************************
+ * <GROUP DirectIOCtrl>
+ *
+ * FUNCTION
+ * FS_OTPLock
+ * DESCRIPTION
+ * Some flash devices provide OTP (One-Time Program) zone. This API is a
+ * driver wrapper function for application to permanently lock OTP zone.
+ * <color red><b>WARNING!!</b></color> If this API is executed, OTP zone can't be written again.
+ * PARAMETERS
+ * devtype : [IN] <P>FS_DEVICE_TYPE_NOR or FS_DEVICE_TYPE_NAND can be assigned.
+ * RETURN VALUES
+ * FS_NO_ERROR : success
+ * FS_UNSUPPORTED_DEVICE (-11): no such OTP device configured
+ * FS_UNSUPPORTED_DRIVER_FUNCTION (-12): no OTP function supported on configured device
+ * FS_FLASH_OTP_LOCK_ALREADY (-127): the OTP zone already locked.
+ *************************************************************************/
+extern int FS_OTPLock(int devtype);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * FS_SweepDevice
+ * DESCRIPTION
+ * File system provides this API to sweep out all unused data sectors.
+ * This API is designed to be called by background and low priority task.
+ * So API cannot hold the device lock too long to degrade system throughput.
+ * Note that it will return FS_CHECKDISK_RETRY(-41) to indicate caller to try
+ * again until FS_NO_ERROR return.
+ * PARAMETERS
+ * devtype : [IN] <P>FS_DEVICE_TYPE_NOR or FS_DEVICE_TYPE_NAND can be assigned.
+ * RETURN VALUES
+ * FS_NO_ERROR : success and finished
+ * FS_PARAM_ERROR (-2): No such device configured
+ * FS_CHECKDISK_RETRY (-41): please retry again until FS_NO_ERROR return.
+ *****************************************************************************/
+extern int FS_SweepDevice(const int devtype);
+
+extern int FS_OpenLR(const WCHAR * FileName, kal_uint32 Flag, kal_uint32 caller_address);
+extern int FS_OpenHintLR(const WCHAR * FileName, kal_uint32 Flag, FS_FileOpenHint * DSR_Hint, kal_uint32 caller_address);
+extern int FS_MoveLR(const WCHAR * SrcFullPath, const WCHAR * DstFullPath, kal_uint32 Flag, FS_ProgressCallback Progress,
+ kal_uint8 *RecursiveStack, const kal_uint32 StackSize, kal_uint32 caller_address);
+
+extern FS_TaskIOStatistics *gFS_TaskIOStatistics;
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * SDCreateMasterBootRecord
+ * DESCRIPTION
+ * Create SDHC Master Boot Record, follow SDHC file system spec. V3
+ * PARAMETERS
+ * MasterBootRecord :[OUT] <P> Master Boot Record sector buffer
+ * Sectors :[IN] <P> Number of sectors on the device
+ * RETURN VALUES
+ * 0: Error
+ * >0: Success, the offset to the partition starting sector (Boot Sector).
+ *****************************************************************************/
+extern int SDCreateMasterBootRecord(void * MasterBootRecord, kal_uint32 Sectors);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * SDCreateBootSector
+ * DESCRIPTION
+ * Create SDHC Boot Sector, follow SDHC file system spec. V3
+ * PARAMETERS
+ * BootSector :[OUT] <P> Boot sector buffer
+ * Sectors :[IN] <P> Number of sectors on the device
+ * Partition :[IN] <P> First partition record created from SDCreateMasterBootRecord()
+ * RETURN VALUES
+ * 0: Error
+ * 12: Created File System Type is FAT12
+ * 16: Created File System Type is FAT16
+ * 32: Created File System Type is FAT32
+ *****************************************************************************/
+extern int SDCreateBootSector(void * BootSector, kal_uint32 Sectors, FS_PartitionRecord *Partition);
+
+/*****************************************************************************
+ * <GROUP DiskManagement>
+ *
+ * FUNCTION
+ * SDCheckFormatParameter
+ * DESCRIPTION
+ * Compare SDHC format parameters, including BootSector(BS) and MasterBootRecord(MBR)
+ * PARAMETERS
+ * MBR1 :[IN] <P> Master Boot Record 1 (Read from Device)
+ * MBR2 :[IN] <P> Master Boot Record 2 (Created from SDCreateMasterBootRecord)
+ * BS1 :[IN] <P> Boot Sector 1 (Read from Device)
+ * BS2 :[IN] <P> Boot Sector 2 (Created from SDCreateBootSector)
+ * RETURN VALUES
+ * FS_SD_FMT_OK : (0): Format parameters are match.
+ * FS_SD_FMT_SIGNATURE_FAIL (1): BS or MBR Signature are mismatch.
+ * FS_SD_FMT_MBR_FAIL (2): MBR1/MBR2 parameters are mismatch.
+ * FS_SD_FMT_BS_FAIL (3): BS1/BS2 parameters are mismatch.
+ *****************************************************************************/
+extern int SDCheckFormatParameter(void *MBR1, void *BS1, void *MBR2, void *BS2);
+
+#else
+
+// Smart Phone Modem Wrapper
+//------------------------------------------------------------
+/* DOM-NOT_FOR_SDK-BEGIN */
+
+/* DOM-NOT_FOR_SDK-END */
+
+#endif
+
+#endif // _FS_IPROT_H
+
diff --git a/mcu/service/fs/common/include/fs_trc.h b/mcu/service/fs/common/include/fs_trc.h
new file mode 100644
index 0000000..64f61f3
--- /dev/null
+++ b/mcu/service/fs/common/include/fs_trc.h
@@ -0,0 +1,224 @@
+/*****************************************************************************
+* Copyright Statement:
+* --------------------
+* This software is protected by Copyright and the information contained
+* herein is confidential. The software may not be copied and the information
+* contained herein may not be used or disclosed except with the written
+* permission of MediaTek Inc. (C) 2005
+*
+* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+/*******************************************************************************
+ * Filename:
+ * ---------
+ * fs_trc.h
+ *
+ * Project:
+ * --------
+ * MAUI
+ *
+ * Description:
+ * ------------
+ * This is trace map definition for FS.
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ * HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ *
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+ ****************************************************************************/
+#ifndef _FS_TRC_H
+#define _FS_TRC_H
+#ifndef __FS_CARD_DOWNLOAD__
+#include "kal_public_defs.h" //MSBB change #include "stack_config.h"
+#include "kal_trace.h"
+#ifndef GEN_FOR_PC
+ #ifndef _STACK_CONFIG_H
+ #error "stack_config.h should be included before tst_config.h"
+ #endif
+#else
+ #include "kal_trace.h"
+#endif /* GEN_FOR_PC */
+#ifndef _KAL_TRACE_H
+ #error "kal_trace.h should be included before tst_trace.h"
+#endif
+#if !defined(GEN_FOR_PC)
+#if defined(__TST_MODULE__) || defined(__CUSTOM_RELEASE__)
+#endif /* TST Trace Defintion */
+#endif
+#if ((!defined(__MAUI_BASIC__)) && (!defined(GEN_FOR_PC)))
+#include"fs_trc_mod_fs_utmd.h"
+#endif
+#endif /* __FS_CARD_DOWNLOAD__ */
+#endif // _FS_TRC_H
diff --git a/mcu/service/fs/common/include/fs_trc_mod_fs_utmd.json b/mcu/service/fs/common/include/fs_trc_mod_fs_utmd.json
new file mode 100644
index 0000000..0ef2116
--- /dev/null
+++ b/mcu/service/fs/common/include/fs_trc_mod_fs_utmd.json
@@ -0,0 +1,3156 @@
+{
+ "endGen": "Legacy",
+ "startGen": "Legacy",
+ "legacyParameters": {},
+ "module": "MOD_FS",
+ "traceClassDefs": [
+ {
+ "TRACE_INFO": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_WARNING": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_ERROR": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_FUNC": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_STATE": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_1": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_2": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_3": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_4": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_5": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_6": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_7": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_8": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_9": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ },
+ {
+ "TRACE_GROUP_10": {
+ "debugLevel": "Ultra-Low",
+ "tag": [
+ "Baseline"
+ ],
+ "traceType": "Public"
+ }
+ }
+ ],
+ "traceDefs": [
+ {
+ "FS_API_FS_OPEN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Open <- Caller: 0x%X, Flag: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPEN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Open -> Return: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPEN_E_TIME": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Open -> Return: 0x%X, Duration: %d us",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPEN_E_TIME_0": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Open -> Return: 0x%X, Duration: 0 us",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLOSE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Close <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLOSE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Close -> Return: %Mfs_error_enum, Duration: %d us",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_READ_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Read <- File(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM, FileHandle: 0x%X, DataPtr: 0x%X, Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_READ_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Read -> Return: %Mfs_error_enum, Length: %u, Duration: %u us, Throughput: %u KB/s",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_WRITE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Write <- File(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM, FileHandle: 0x%X, DataPtr: 0x%X, Length: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_WRITE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Write -> Return: %Mfs_error_enum, Length: %d, Duration: %u us, Throughput: %d KB/s",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SEEK_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Seek <- FileHandle: 0x%X, Offset: %d, Whence: %MFS_SEEK_POS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SEEK_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Seek -> Return: %d, Duration: %d us",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SEEKLARGEFILE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SeekLargeFile <- FileHandle: 0x%X, Offset: 0x%X (%d), Whence: %MFS_SEEK_POS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SEEKLARGEFILE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SeekLargeFile -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMMIT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Commit <- File(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM, FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMMIT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Commit -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILESIZE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFileSize <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILESIZE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFileSize -> Return (Size): %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETEEX_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DeleteEx <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETEEX_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DeleteEx -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Delete <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Delete -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CREATEDIR_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CreateDir <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CREATEDIR_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CreateDir -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCLUSTERSIZE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetClusterSize <- Drive Index: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCLUSTERSIZE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetClusterSize -> Return (Size): %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SHUTDOWN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ShutDown",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLEARDISKFLAG_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ClearDiskFlag",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_UNLOCKALL_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_UnlockAll",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDISKINFO_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDiskInfo <- DriveName: %c, Flag: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDISKINFO_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDiskInfo -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDISKINFO_E_DEV": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDiskInfo -> Return: %Mfs_error_enum, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPENHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OpenHint <- Caller: 0x%X, Flag: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPENHINT_S_HINT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OpenHint <- Caller: 0x%X, Flag: 0x%X, Cluster: %d, Index: %d, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPENHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OpenHint -> Return: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRST_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirst <- Caller: 0x%X, Attr: 0x%X, AttrMask: 0x%X, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRST_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirst -> FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRST_E_INFO": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirst -> FileHandle: 0x%X, Attr: 0x%X, Reserved: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNext <- FileHandle: 0x%X, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNext ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXT_E_INFO": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNext -> Attr: 0x%X, Reserved: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDCLOSE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindClose <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVSTATUS_S_DRIVE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevStatus <- Target: %c, Type: %MFS_GET_DEV_STATUS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVSTATUS_S_TYPE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevStatus <- Target: %d, Type: %MFS_GET_DEV_STATUS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVSTATUS_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevStatus -> Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XDELETEEX_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XDeleteEx <- Flag: 0x%X, FolderName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XDELETEEX_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XDeleteEx -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDRIVE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDrive <- Type: 0x%X, Serial: %d, AltMask: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDRIVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDrive -> Return: %c",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILEPOSITION_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFilePosition <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILEPOSITION_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFilePosition -> Position: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETATTRIBUTES_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetAttributes <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETATTRIBUTES_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetAttributes -> Attr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILEINFO_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFileInfo <- FileHandle: 0x%X, FileInfo: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFILEINFO_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFileInfo ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVTYPE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevType <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVTYPE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevType -> Type: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETSEEKHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetSeekHint <- FileHandle: 0x%X, HintNum: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETSEEKHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetSeekHint -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETSEEKHINTEX_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetSeekHintEx <- FileHandle: 0x%X, HintCount: %d, Flag: 0x%X, Buffer: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETSEEKHINTEX_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetSeekHintEx -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ENABLESMARTSEEK_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_EnableSmartSeek <- Option: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TRUNCATE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Truncate <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TRUNCATE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Truncate ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RENAME_S_OLDNAME": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Rename <- Old Name:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RENAME_S_NEWNAME": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Rename <- New Name:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RENAME_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Rename -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_IOCTRL_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_IOCtrl <- DriveName: %c, Action: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_IOCTRL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_IOCtrl <- Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMPACTDIR_S": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] FS_CompactDir <- Flags: %d, DirName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMPACTDIR_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CompactDir -> Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLOSEALL_S": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] FS_CloseAll <-",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_API_FS_CLOSEALL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CloseAll ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RELEASEFH_S_TASKID": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ReleaseFH <- TaskID: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RELEASEFH_S_ALLTASK": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ReleaseFH <- TaskID: ALL",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RELEASEFH_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ReleaseFH -> Return: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ABORT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Abort <- ActionHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ABORT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Abort -> Return: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_PARSEFH_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ParseFH <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_PARSEFH_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ParseFH -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETFILETIME_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetFileTime <- FileHandle: 0x%X, Time: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETFILETIME_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetFileTime -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_PSEUDOMERGE_S_FILE1": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_PseudoMerge <- File1:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_PSEUDOMERGE_S_FILE2": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_PseudoMerge <- File2:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_PSEUDOMERGE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_PseudoMerge -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKFILE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckFile <- FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKFILE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckFile -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCURRENTDIR_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetCurrentDir <- MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCURRENTDIR_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetCurrentDir -> Return: %Mfs_error_enum, CurrDir:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCURRENTDIRBYDRIVE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetCurrentDirByDrive <- Drive: %c, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETCURRENTDIRBYDRIVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetCurrentDirByDrive -> Return: %Mfs_error_enum, CurrDir:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETCURRENTDIR_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetCurrentDir <- DirName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETCURRENTDIR_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetCurrentDir -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_EXTEND_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Extend <- FileHandle: 0x%X, Length: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_EXTEND_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Extend -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAKEFILENAME_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MakeFileName <- FileHandle: 0x%X, Flag: %d, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAKEFILENAME_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MakeFileName -> Return: %d, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRSTN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirstN <- Caller: 0x%X, PatternNum: %d, MaxLength: %d, EntryIndex: %d, Flag: 0x%X, Pattern:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRSTN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirstN -> Return: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDFIRSTN_E_HINT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindFirstN -> Attr: %X, Cluster: %d, Index: %d, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXTN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNextN <- FileHandle: 0x%X, PatternNum: %d, MaxLength: %d, Flag: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXTN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNextN -> Attr: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_FINDNEXTN_E_HINT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_FindNextN -> Attr: 0x%X, Cluster: %d, Index: %d, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDRESET_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindReset <- PatternNum: %d, Flag: 0x%X, Pattern:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDRESET_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindReset -> Count: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDSTART_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindStart <- Index: %d, MaxLength: %d, Flag: 0x%X, Pattern:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDSTART_E_INFO": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindStart -> Attr: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDSTART_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindStart -> FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDCLOSE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindClose <- Position: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_XFINDCLOSE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_XFindClose -> Return: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETPARTITIONINFO_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetPartitionInfo <- DriveName: %c, PartitionInfo: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETPARTITIONINFO_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetPartitionInfo -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMMITALL_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CommitAll <- DriveName: %c",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COMMITALL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CommitAll -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAPPINGDRIVE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MappingDrive <- Old Drive: %c, New Drive: %c",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAPPINGDRIVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MappingDrive <- Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GENERALFORMAT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GeneralFormat <- Caller: 0x%X, DriveName: %c, Level: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GENERALFORMAT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GeneralFormat <- Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_QMGETFREE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_QmGetFree <- Path:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_QMGETFREE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_QmGetFree -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKDISKFLAG_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckDiskFlag <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKDISKFLAG_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckDiskFlag ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_LOCKFAT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_LockFAT <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_LOCKFAT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_LockFAT -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TESTMSDC_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_TestMSDC <- SlotID: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TESTMSDC_S_DRIVELIST": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_TestMSDC <- SlotID: 0x%X, DriveList: 0x%X, DriveNum: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TESTMSDC_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_TestMSDC -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_TESTMSDC_E_DRIVELIST": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_TestMSDC -> Return, %Mfs_error_enum, DriveNum: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLOSEMSDC_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CloseMSDC <- DriveLetter: %c, Mode: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CLOSEMSDC_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CloseMSDC -> Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SWITCHDRIVEMODE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SwitchDriveMode <- DriveLetter: %c, Mode: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SWITCHDRIVEMODE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SwitchDriveMode -> Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GENVIRTUALFILENAME_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GenVirtualFileName <- FileHandle: 0x%X, VFBeginOffset: %d, VFValidLength: %d, BufLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GENVIRTUALFILENAME_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GenVirtualFileName -> Result: %Mfs_error_enum, VFileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CONFIGEXTDEVICE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ConfigExtDevice <- Action: 0x%X, DrvFuncs: %X, Slots: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CONFIGEXTDEVICE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ConfigExtDevice -> Result: %Mfs_error_enum, VFileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKDRIVE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckDrive <- DriveLetter: %c, CheckBuffer: 0x%X, BufferSize: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKDRIVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckDrive -> Result: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETDIRCACHE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetDirCache <- FileHandle: 0x%X, NewValue: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETDIRCACHE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetDirCache -> Result: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDIRCACHE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDirCache <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDIRCACHE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDirCache -> Result: %Mfs_error_enum, Value: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_EXPIREDIRCACHE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ExpireDirCache <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_EXPIREDIRCACHE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ExpireDirCache -> Return: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFOLDERSIZE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFolderSize <- Flag: 0x%X, RecStack: 0x%X, StackSize: %d, Path:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFOLDERSIZE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFolderSize -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MOVE_S_SRCFILE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Move <- Caller: 0x%X, Src File:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MOVE_S_DSTFILE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Move <- Dst File:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MOVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Move -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFIRSTCLUSTER_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFirstCluster <- FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETFIRSTCLUSTER_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetFirstCluster -> Return: %d, Cluster: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPREAD_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPRead <- DevType: 0x%X, Offset: %u, BufferPtr: 0x%X, Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPREAD_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPRead -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPWRITE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPWrite <- DevType: 0x%X, Offset: %u, BufferPtr: 0x%X, Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPWRITE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPWrite -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPLOCK_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPLock <- DevType: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPLOCK_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPLock -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPQUERYLENGTH_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPQueryLength <- DevType: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OTPQUERYLENGTH_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OTPQueryLength -> Return: %Mfs_error_enum, Length: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SWEEPDEVICE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SweepDevice <- DevType: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SWEEPDEVICE_E_DONE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SweepDevice -> Return: 0 (Done)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SWEEPDEVICE_E_RETRY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SweepDevice -> Return: -41 (FS_CHECKDISK_RETRY)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COUNTUSEDFH_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CountUsedFH <- Flag: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COUNTUSEDFH_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CountUsedFH -> Return: %d, Length: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVPARTITIONS_S_DRIVE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevPartitions <- DriveLetter: %c",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVPARTITIONS_S_TYPE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevPartitions <- DeviceType: %d, Type: %MFS_GET_DEV_STATUS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETDEVPARTITIONS_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetDevPartitions -> Result: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RECOVERDEVICE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_RecoverDevice <- DeviceType: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_RECOVERDEVICE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_RecoverDevice -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETVOLUMELABEL_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetVolumeLabel <- DriveLetter: %c, Label:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETVOLUMELABEL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetVolumeLabel -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_REMOVEDIR_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_RemoveDir <- DirName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_REMOVEDIR_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_RemoveDir -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETATTRIBUTES_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetAttributes <- Attr: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETATTRIBUTES_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetAttributes -> Return: %Mfs_error_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COUNT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Count <- Flag: 0x%X, RecStack: 0x%X, StackSize: %u, FullPath:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_COUNT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Count -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAKEFILEPATHBYHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MakeFilePathByHint <- DriveLetter: %c, DirCluster: %u, DirIndex: %u, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_MAKEFILEPATHBYHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_MakeFilePathByHint -> Result: %Mfs_error_enum, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPENFILEPATHBYHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OpenFileByHint <- Caller: 0x%X, DriveLetter: %c, DirCluster: %u, DirIndex: %u, Flags: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_OPENFILEPATHBYHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_OpenFileByHint -> FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETEBYHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DeleteByHint <- DriveLetter: %c, DirCluster: %u, DirIndex: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DELETEBYHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DeleteByHint -> FileHandle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETATTRIBUTESBYHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetAttributesByHint <- DriveLetter: %c, DirCluster: %u, DirIndex: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_GETATTRIBUTESBYHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_GetAttributesByHint -> Attr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETATTRIBUTESBYHINT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetAttributesByHint <- DriveLetter: %c, DirCluster: %u, DirIndex: %u, Attr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_SETATTRIBUTESBYHINT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_SetAttributesByHint -> Attr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_HINTGETPARENT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_HintGetParent <- DriveLetter: %c, DirCluster: %u, DirIndex: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_HINTGETPARENT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_HintGetParent -> Return: %d, ParentCluster: %u, ParentCluster: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DUMPFHTABLE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DumpFHTable <-",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DUMPFHTABLE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DumpFHTable ->",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_DIRCTRL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_DirCtrl -> Handle: 0x%X, Action: %Mfs_dirctrl_action_enum, Data: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKFILENAME_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckFileName -> Path: ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_CHECKVOLUMELABEL_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_CheckVolumeLabel -> Label: ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_OPEN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_open <- Priority: %Mfs_prioity_enum, Flag: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_OPEN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_open -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_READ_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_read <- File(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM Priority: %Mfs_prioity_enum, FileHandle: 0x%X, DataPtr: 0x%X, Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_READ_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_read -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_WRITE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_write <- File(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM, Priority: %Mfs_prioity_enum, FileHandle: 0x%X, DataPtr: 0x%X, Length: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_WRITE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_write -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_SEEK_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_seek <- Priority: %Mfs_prioity_enum, FileHandle: 0x%X, Offset: %d, Whence: %MFS_SEEK_POS_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_SEEK_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_seek -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_DELETE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_delete <- Priority: %Mfs_prioity_enum, FileName: ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_DELETE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_delete -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_FINDFIRST_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_find_first <- Priority: %Mfs_prioity_enum, Attr: 0x%X, AttrMask: 0x%X, MaxLength: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_FINDFIRST_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_find_first -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_FINDFIRSTN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_find_first_n <- Priority: %Mfs_prioity_enum, MaxLength: %d, EntryIndex: %d, Flag: 0x%X, Pattern:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_FINDFIRSTN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_find_first_n -> Return: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_GETFOLDERSIZE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_get_folder_size <- Priority: %Mfs_prioity_enum, Flag: 0x%X, RecStack: 0x%X, StackSize: %d, Path:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_GETFOLDERSIZE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_get_folder_size -> Return: 0",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_ABORT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] fs_async_abort <- JobID: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_REGISTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_async_int_register_job: <Register>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_DISPATCH_START": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_dipatch: <Start>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_DISPATCH_FINISH": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_dipatch: <Finished>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_DISPATCH_ABORT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_dipatch: <Aborted>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_INSERT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_insert <- JobID: %d, JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_INSERT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_insert -> ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_REMOVE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_remove <- JobID: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_REMOVE_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_remove -> JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_GET_FIRST_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_get_first <- Option: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_GET_FIRST_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_get_first -> JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_RUNNING_JOB": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Current Running JobID: %d, JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_LIST_ENTRY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] ListEntry, JobID: %d, JobPtr: 0x%X -> ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_RESPONSE_ILM": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_response: <ILM>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_RESPONSE_CBF": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] fs_job_response: <CBF>: JobID: %d, JobPtr: 0x%X, State: %Mfs_job_state_enum, FS_API: %Mfs_api_enum",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_LIST_ERROR_JOBPTR_RUNNING": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Error: illegal user buffer, JobPtr 0x%X is already running",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_LIST_ERROR_JOBPTR_EXIST": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Error: illegal user buffer, JobPtr 0x%X is already existed in the job list",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_LIST_ERROR_ENDLESS_LINK": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Error: endless job links",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_ERROR_UNEXPECTED_STATE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Error: fs_job_abort()- Unexpected job state %Mfs_job_state_enum, JobID: %d, JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ASYNC_JOB_ERROR_UNKNOW_API": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] [AsynJob] Error: fs_job_dipatch()- Unkown API %d (%Mfs_api_enum), JobID: %d, JobPtr: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_STARTIOLOG_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_StartIOLog <- TaskIOStatistics: 0x%X ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_STARTIOLOG_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_StartIOLog -> Return: %Mfs_error_enum ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ENDIOLOG_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_EndIOLog <- TaskIOStatistics: 0x%X ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ENDIOLOG_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_EndIOLog -> Return: %Mfs_error_enum ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTOPEN_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ListOpen <- Caller: 0x%X, Param: 0x%x, Path:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTOPEN_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ListOpen -> Result: %Mfs_error_enum, FileHandle: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTNEXT_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ListNext <- Handle: 0x%x, Index: %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTNEXT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ListNext -> Result: %Mfs_error_enum, FileName: ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTCLOSE_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_ListClose <- Handle: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_FS_LISTOPEN_FILL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ________ pos_buf[%d] = (%d, %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_DIRCACHE_SET": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] DirData(S): Index: %d, Drive: 0x%x, Cluster: %d, Value: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_DIRCACHE_GET": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] DirData(G): Index: %d, Drive: 0x%x, Cluster: %d, Value: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_DIRCACHE_EXPIRE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] DirData(E): Index: %d, Drive: 0x%x, Cluster: %d, Value: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_OPEN_FILE_HINT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFOpenFile: Internal Hint:%Mkal_bool",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_FIRST_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFFindFirst <- PatternNum: %d, MaxLength: %d, EntryIndex: %d, Flag: 0x%X, Pattern:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_NEXT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFFindNext",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_NEXT_DIR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ________ Cluster = %d, Index = %d, EntryType = %MEntryType",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_NEXT_E": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ________ Attr: 0x%X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_NEXT_E_HINT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ________ Cluster: %d, Index: %d, Attr: %X, FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_GETNAMEBYPOS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetNameByPos: MaxLength =%d, Pos<-(Cluster, Index) = (%d, %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_SEARCHFILE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] SearchFile: Result = %Mrtf_search_ret_enum, line = %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_GETBUFFER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetBuffer: Sector = %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_GETCLUSTERVALUE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetClusterValue: Next Culster = %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_NEXTDIR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] NextDir",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_GETDIR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetDir: Sector = %d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TRC_RTF_INCDIR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] IncDir: Culster:%d, Index:%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_API_FS_ERR": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] %Mfs_error_enum # %Mfs_src_file_enum, line: %d",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_API_FS_ERR_FILE": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] %Mfs_error_enum # %Mfs_src_file_enum, line: %d, FileName(SFN): %c%c%c%c%c%c%c%c.%c%c%c, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_TRC_ERR_VF_PARENT_CLOSED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] FS_Open: Virtual file's parent may be closed before!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_DRIVER_NOT_FOUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Driver function is NOT FOUND!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MESSAGEACK_NOT_FOUND": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] MessageAck is required in driver!",
+ "traceClass": "TRACE_FUNC"
+ }
+ },
+ {
+ "FS_ERR_FS_MOVE_DELETE_FILE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Error happens when deleting file after FS_Move is failed! Target FileName:",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_QMAX_OVER_DISK": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Quota Configuration Error! Qmax exceeds disk space! Disk Total Space: %u, Qmax: %u (Unit: Cluster)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_QMIN_OVER_DISK": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Quota Configuration Error! Quota MRS (Minimum Required Space) exceeds total disk space! Disk Total Space: %u, MRS: %u (Unit: Cluster)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_QRFS_OVER_DFS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Quota Run-time Warning! Quota RFS (Required Free Space) exceeds total disk free space! Disk Free Space: %u, RFS: %u (Unit: Cluster)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_ACCESS_DENIED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Access Denied! The file is already opened by Task: %c%c%c, LR: 0x%x, FileHandle: 0x%x",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NULL_PTR_1": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] %Mfs_src_file_enum, line: %u, NULL NamePtr! Could not find 0x005c!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_REC_TRAV_START": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] Recursive Engine Error! RecTravStart Error!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_ERR_REC_TRAV_CORE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Recursive Engine Error! RecTravCore Error!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_REC_TRAV_ACTION": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Recursive Engine Error! RecTravAction Error!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MEDIA_NOT_PRESENT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Media is not present! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDEVICE_DRIVER_MOUNT_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountDevice: Disk driver \\\"MountDevice\\\" is failed! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDEVICE_INVALID_SECTOR_SIZE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountDevice: Invalid sector size! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDEVICE_MSDC_NOT_PRESENT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountDevice: MSDC card is not present!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_READSECTORS_DEVICE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors: Device ERROR! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_READSECTORS_DEV_NOT_READY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors: Device is NOT ready! Sector: %u, Sectors: %u, MountState: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_READSECTORS_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors: Out of range! Sector: %u, Sectors: %u, Geometry: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_READSECTORS_DRIVER_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors: Driver read failed! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_DEVICE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Device ERROR! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_DEV_NOT_READY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Device is NOT ready! Sector: %u, Sectors: %u, MountState: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Out of range! Sector: %u, Sectors: %u, Geometry: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_NO_PROTECTION_MODE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Driver does not support RecoverableWrite, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_BAD_SECTOR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Bad sector encountered! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_DRIVER_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Driver write failed! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_WRITESECTORS_SYSTEM_CRASH": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors: Bad sector found in FAT table region! Severe Damage! Sector: %u, Sectors: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_GETBUFFER_OUT_OF_BUFFERS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetBuffer: Out of buffer! Sector: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_LOCKDEVICE_DEVICE_BUSY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] LockDevice: Device is busy! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NONBLOCKLOCKDEVICE_DEVICE_BUSY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] NonBlockLockDevice: Device is busy! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NONBLOCKLOCKDEVICE_LOCK_DEV_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] NonBlockLockDevice: Lock device failed! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NONBLOCKLOCKDEVICE_LOCK_RTF_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] NonBlockLockDevice: Lock native FS failed! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: File Index: %d, FS_MAX_FILES: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_UNLOCKED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: File (index: %d) is unlocked! It may be closed by others before!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_UNIQUE_NOT_MATCHED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: Unique is not matched. This file may be closed by others before! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_NULL_DEV": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: NULL device! This file may be closed or freed before! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_INVALID_AFTER_DEV_LOCKED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: File (index: %d) is invalid after dev is locked! It may be closed by others just now!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_EXPORTED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: Device is exported! This file will be closed automatically! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_PARSEFH_MEDIA_CHANGED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle: Device is changed! This file will be closed automatically! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: File Index: %d, FS_MAX_FILES: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_UNLOCKED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: File (index: %d) is unlocked! It may be closed by others before!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_UNIQUE_NOT_MATCHED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: Unique is not matched. This file may be closed by others before! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_NULL_DEV": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: NULL device! This file may be closed or freed before! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_INVALID_AFTER_DEV_LOCKED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: File (index: %d) is invalid after dev is locked! It may be closed by others just now!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_EXPORTED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: Device is exported! This file will be closed automatically! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_NBPARSEFH_MEDIA_CHANGED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ParseFileHandle_NB: Device is changed! This file will be closed automatically! (File index: %d)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_DEV_MOUNT_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Device mount failed! Dev: %MFS_DEVICE_TYPE_ENUM, MountState(Dev): %MMountStates",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_DRV_MOUNT_FAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Mount partition failed! Dev: %MFS_DEVICE_TYPE_ENUM, MountState(Drive): %MMountStates",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_SIG": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Invalid signature in PBR! Signature: 0x%X, NearJmp: 0x%X, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_SEC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Invalid PBR's BytesPerSector! BytesPerSector: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_SPC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Invalid PBR's SectorsPerCluster! SectorsPerCluster: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_FAT_TYPE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: We can't choose a suitable FAT type for this drive! Cluster: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_FAT32_VER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: FAT32's version should be 0! Ver: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_RESERVED_SEC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: ReservedSectors should NOT be 0! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_FAT_CNT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Invalid number of FAT tables! Count %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_FAT_SIZE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: FAT size should NOT be 0! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_INVALID_FS_ZERO_SPC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: SectorsPerCluster should NOT be 0! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_TOO_MANY_LOGI_SEC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Too many logical sectors! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOUNTDRIVE_MEDIA_CHANGED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MountLogicalDrive: Device may be changed! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SCANPTABLE_MBR_SIG": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ScanPartitionTable: Invalid signature in MBR! Signature: 0x%X, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SCANPTABLE_BOOT_INDICATOR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ScanPartitionTable: Invalid boot indicator in MBR! BootIndicator: 0x%X, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SCANPTABLE_EXT_MBR_SIG": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ScanPartitionTable: Invalid signature in extended MBR! Signature: 0x%X, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SCANPTABLE_RELATIVE_SECTOR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ScanPartitionTable: Invalid relative sector MBR! RelativeSector: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_LOCATEDRIVE_DRVIDX_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] LocateDrive: Drive index out of range! DriveIndex: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_LOCATEDRIVE_EXPORTED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] LocateDrive: Device is exported! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_LOCATEDRIVE_MEDIA_CHANGED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] LocateDrive: Device may be changed! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_GETCLUSTERVALUE_INVALID_IN_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetClusterValue: Invalid input cluster index! !Index: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_GETCLUSTERVALUE_INVALID_OUT_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] GetClusterValue: Invalid output cluster value! Index: %u, !Value: %u (0x%x), FATSector: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SETCLUSTERVALUE_INVALID_IN_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] SetClusterValue: Invalid cluster index! !Index: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_SETCLUSTERVALUE_INVALID_OUT_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] SetClusterValue: Invalid cluster value! Index: %u, !Value: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_ALLOCFATSEGPERMIT_DISK_FULL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] AllocateFATSegmentPermit: Disk full! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_ALLOCFATSEGPERMIT_APP_QERR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] AllocateFATSegmentPermit: APP quota full! Qidx: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_ALLOCFATSEG_DISK_FULL": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] AllocateFATSegment: Disk full after traverse all FAT! Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOVEFILEPTR_WRAP_AROUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MoveFilePointer: File pointer wraps around! FilePointer: %u, Offset: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_MOVEFILEPTR_BEYOND_LAST_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] MoveFilePointer: Move beyond the last cluster! f<-Cluster: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_STARTDIRSEARCH_BEYOND_LAST_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] StartDirSearch: Invalid dir entry! Cluster: %u, Index: %u, Dev: %MFS_DEVICE_TYPE_ENUM",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFRENAME_DRIVE_NOT_THE_SAME": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFRename: 2 files should be on the same drive!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFREAD_FPTR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFRead: File pointer is out of range! FilePointer: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFREAD_FPTR_WRAP_AROUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFRead: File pointer will be wrapped around! FilePointer: %u, Read Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFREAD_MUST_READ_SECTOR_ALIGNED": {
+ "apiType": "index",
+ "format": "[%Mmodule_type] RTFRead: Physical or Volume file should be read sector-aligned length! Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFREAD_INVALID_FMAPED_HANDLE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFRead: Invalid mapped file handle (Virtual file)! Handle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFWRITE_FPTR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFWrite: File pointer is out of range! FilePointer: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFWRITE_FPTR_WRAP_AROUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFWrite: File pointer will be wrapped around! FilePointer: %u, Write Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFWRITE_MUST_READ_SECTOR_ALIGNED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFWrite: Physical or Volume file should be written sector-aligned length! Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFWRITE_INVALID_FMAPED_HANDLE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFWrite: Invalid mapped file handle (Virtual file)! Handle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFTRUNCATE_NORMAL_FILE_ONLY": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFTruncate: Only normal file could be truncated!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFTRUNCATE_FPTR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFTruncate: File pointer is out of range! FilePointer: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_FPTR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: File pointer is out of range! FilePointer: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_INVALID_WHENCE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Invalid Whence! Whence: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_FPTR_WRAP_AROUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: New position is wrapped around! StartPos: %u, Offset: %d, NewPos: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_MUST_READ_SECTOR_ALIGNED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Physical or Volume file should be seeked to sector-aligned position! StartPos: %u, Offset: %d, NewPos: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_INVALID_FMAPED_HANDLE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Invalid mapped file handle (Virtual file)! Handle: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_CANT_EXTEND_READ_ONLY_FILE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Can't extend Read Only file! NewPos: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_CANT_EXTEND_ROOT_DIR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Can't extend Root Dir! NewPos: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFSEEK_INVALID_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFSeek: Invalid cluster number found! Cluster: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFEXTEND_FPTR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFExtend: File pointer is out of range! FilePointer: %u, FileSize: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFEXTEND_FSIZE_WRAP_AROUND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFExtend: File size is wrapped around! FilePointer: %u, Length: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_RTFRESETDISK_FILE_NOT_CLOSED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] RTFResetDisk: All file should be closed! FileCount: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_COPYSECTORS_DEV_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] CopySectors: Device error! From: %u, To: %u, Sectors: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_COPYSECTORS_DEV_NOT_MOUNTED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] CopySectors: Device is not mounted! From: %u, To: %u, Sectors: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_COPYSECTORS_DRIVER_FAILED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] CopySectors: Driver failed! From: %u, To: %u, Sectors: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_FILENAME_INVALID_CHAR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Invalid character in file name: 0x%X",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_FILENAME_INVALID_LEADING_BLANK": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Leading blank in file name is not allowed!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_FILENAME_INVALID_TAILING_DOT": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Tailing dot in file name is not allowed!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_VOLUMELABEL_TOO_LONG": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Volume label is too long! The maximum length is 11!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_ERR_DIRENTRY_INVALID_START_CLUSTER": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] CheckDirEntry: The start cluster value %u (0x%x) is invalid, MaxCluster %d (0x%x)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_FT_TITLE": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ====== File Table ======",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_FT_SLOT": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] FileTable[%d] = FileHandle: 0x%X, Task: %c%c%c, OwnerLR: 0x%x, Lock: %d, Valid: %Mfs_fh_status, ShortName(SFN):%c%c%c%c%c%c%c%c.%c%c%c",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_FT_LFN": {
+ "apiType": "raw",
+ "format": "[FS INFO] ___________ FileName (Mouse Right Click -> Display Unicode String) ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_FT_TAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] === End of File Table ===",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_DIR_ENTRY_WALKED": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] %d directory entries were walked!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_COPY_FILE_BUFFER_SIZE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Copy file buffer size: %d bytes",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_QUOTA_DELETE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] QM: Delete - %d, Free: %d (FATDelete)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_QUOTA_STATUS_NOW_FATDELETE": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] QM: Status - Qidx: %u, Qnow: %u (FATDelete)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_QUOTA_STATUS_NOW_ALLOCFATSEG": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] QM: Status - Qidx: %u, Qnow: %u (AllocateFATSegment)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_QUOTA_STATUS_NOW_RTFEXTEND": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] QM: Status - Qidx: %u, Qnow: %u (RTFExtend)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_QUOTA_BEFORE_ALLOC": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] QM: Before allocate %u, Free: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_LFN": {
+ "apiType": "raw",
+ "format": "[FS] FileName (Mouse Right Click -> Display Unicode String) ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_LFN_ERR": {
+ "apiType": "raw",
+ "format": "[FS ERR] FileName (Mouse Right Click -> Display Unicode String) ",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_FAT_SECTOR": {
+ "apiType": "raw",
+ "format": "[FS INFO] FAT Sector Buffer",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_INFO_DIR_ENTRY": {
+ "apiType": "raw",
+ "format": "[FS INFO] Directory Entry",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_INFO_DISK_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] The disk has errors, please run check disk (chkdsk.exe /f) from PC",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_DISK_ERROR2": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] Thd disk %c: has errors, please run check disk (chkdsk.exe /f) from PC",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_TOP_FH_USER_TITLE": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ========= Top File Handle Consumers =========",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_TOP_FH_USER": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] %u. Task: %c%c%c, LR: 0x%x, number of opened file handles: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_TOP_FH_USER_TAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ===== End of Top File Handle Consumers ======",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_START": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ============= Start of File System IO Statistics ============",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_TITLE": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ================= File System IO Statistics =================",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_ENTRY": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] %u.<%c%c%c> IO.Count: %u, IO.Data: %u KB, IO.Time: %u ms (%u)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_LINE": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] -------------------------------------------------------------",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_TOTAL": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] Total.IO.Count: %u, Total.IO.Data: %u KB, Total.IO.Time: %u ms (100)",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_TAIL": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] ============= End of File System IO Statistics ==============",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_IO_STAT_DISABLE": {
+ "_comment": "Trace reference not found",
+ "format": "[FS INFO] IO Statistics is disabled, add CUSTOM_OPTION += __FS_IO_STATISTICS__ to makefile and rebuild fs.lib",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_GR1_READSECTORS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors -> Dev: %MFS_DEVICE_TYPE_ENUM, Length: %u, Duration: %u us, Throughput: %u KB/s, Sector: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_GR1_WRITESECTORS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors -> Dev: %MFS_DEVICE_TYPE_ENUM, Length: %u, Duration: %u us, Throughput: %u KB/s, Sector: %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_GR2_READSECTORS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] %MFS_DEVICE_TYPE_ENUM, R, %u, %u, %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_GR2_WRITESECTORS": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] %MFS_DEVICE_TYPE_ENUM, W, %u, %u, %u",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_READSECTORS_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] ReadSectors <- Sector: %u,",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_INFO_WRITESECTORS_S": {
+ "_comment": "Trace reference not found",
+ "format": "[%Mmodule_type] WriteSectors <- Sector: %u,",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_OPEN_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_open_file Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_CLOSE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_close_file Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_READ_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_read_file Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_READ_ERROR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] FSAL_Direct_Read Error: Offset out of range, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_WRITE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] FS_Write Error:%d, Written:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_SEEK_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_seek_large_file Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_SEEK_ERROR_OUT_OF_RANGE": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] FSAL_Direct_Seek Error:RAM offset out of range, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_GET_FILE_POSITION_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_file_pos Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_GET_FILE_SIZE_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] DRM_file_size Error:%d, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_BUF_READ_BLK_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] fsal_read_block %d + %d > %d, fsal_buffer.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_BUF_READ_ERROR": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] fsal_read_block Error:%d, fsal_buffer.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_ERROR_FSAL_C": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] Error:%MFSAL_Status, fsal.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FSAL_TRACE_ERROR_FSAL_BUF_C": {
+ "_comment": "Trace reference not found",
+ "format": "[FSAL] Error:%MFSAL_Status, fsal_buffer.c/line=%d",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TEST_ITERATION_START": {
+ "_comment": "Trace reference not found",
+ "format": "====== File System Iteration Performance Test (START) ======",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_TEST_ITERATION_END": {
+ "_comment": "Trace reference not found",
+ "format": "====== File System Iteration Performance Test (END) ======",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_SST_ASSERT_INFO1": {
+ "apiType": "index",
+ "format": "File System ASSERT! File: %Mfs_src_file_enum, Line: %u.",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_ASSERT_INFO2": {
+ "apiType": "index",
+ "format": "Information: %u, %u, %u",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_ASSERT_GUIDELINE": {
+ "apiType": "index",
+ "format": "Guideline: Please contact File System owner!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_USER_ERROR_TITLE": {
+ "apiType": "index",
+ "format": "====== File System User Error Analyzer ======",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_INTERNAL_ERROR_TITLE": {
+ "apiType": "index",
+ "format": "====== File System Internal Error Analyzer ======",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_API_CLOSE_ALL": {
+ "apiType": "index",
+ "format": "FS_CloseAll() is NOT allowed to be used under normal state!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_BUFFER_02": {
+ "_comment": "Trace reference not found",
+ "format": "AllocBuffers(): Cache buffer is not properly aligned!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_SST_HANDLE_01": {
+ "_comment": "Trace reference not found",
+ "format": "ReserveFTSlot(): File handle is insufficient! Please see File Table below to find out the murder!",
+ "traceClass": "TRACE_INFO"
+ }
+ },
+ {
+ "FS_SST_CLUSTER_01": {
+ "apiType": "index",
+ "format": "GetClusterValue(): Invalid FAT type: %d!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_CLUSTER_03": {
+ "apiType": "index",
+ "format": "SetClusterValue(): Invalid FAT type: %d!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_CLUSTER_05": {
+ "apiType": "index",
+ "format": "BatchCoutnFreeClusters(): Invalid FAT type: %d!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_CLUSTER_06": {
+ "apiType": "index",
+ "format": "FATSearchZeroInBuffer(): Invalid FAT type: %d!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_CLUSTER_08": {
+ "apiType": "index",
+ "format": "ScanDrive(): Invalid FAT type: %d!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_DIRENTRY_01": {
+ "apiType": "index",
+ "format": "UpdateDirEntry(): An invalid file pointer is found! Please open memory dump for details.",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_EXCEPTION_04": {
+ "apiType": "index",
+ "format": "_XRaiseException(): Unhandled exception is detected! It may because an exception is raised in XFINALLY section!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_TLS_02": {
+ "apiType": "index",
+ "format": "RTFSYSSetTLS/RTFSYSGetTaskIndex(): FS_MAX_THREAD (%d) is insufficient! Please enlarge it in fs_config.c!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_MUTEX_01": {
+ "apiType": "index",
+ "format": "RTFSYSAllocMutex(): The number of FS mutexes exceeds the limit (%d)!",
+ "traceClass": "TRACE_ERROR"
+ }
+ },
+ {
+ "FS_SST_TOO_MANY_OPENED_FILES": {
+ "_comment": "Trace reference not found",
+ "format": "There were too many opened files, please check the file handles are properly closed after use",
+ "traceClass": "TRACE_INFO"
+ }
+ }
+ ],
+ "traceFamily": "PS"
+}
\ No newline at end of file