fx_uti.h

来自「ZORAN 962/966 SOURCE CODE,DVD chip」· C头文件 代码 · 共 94 行

H
94
字号
/**************************************************************************/ 
/*                                                                        */ 
/*            Copyright (c) 1996-2002 by Express Logic Inc.               */ 
/*                                                                        */ 
/*  This software is copyrighted by and is the sole property of Express   */ 
/*  Logic, Inc.  All rights, title, ownership, or other interests         */ 
/*  in the software remain the property of Express Logic, Inc.  This      */ 
/*  software may only be used in accordance with the corresponding        */ 
/*  license agreement.  Any unauthorized use, duplication, transmission,  */ 
/*  distribution, or disclosure of this software is expressly forbidden.  */ 
/*                                                                        */
/*  This Copyright notice may not be removed or modified without prior    */ 
/*  written consent of Express Logic, Inc.                                */ 
/*                                                                        */ 
/*  Express Logic, Inc. reserves the right to modify this software        */ 
/*  without notice.                                                       */ 
/*                                                                        */ 
/*                                                                        */
/*  Express Logic, Inc.                     info@expresslogic.com         */
/*  11423 West Bernardo Court               http://www.expresslogic.com   */
/*  San Diego, CA  92127                                                  */
/*                                                                        */
/**************************************************************************/


/**************************************************************************/
/**************************************************************************/
/**                                                                       */ 
/** FileX Component                                                       */
/**                                                                       */
/**   Utility (UTI)                                                       */
/**                                                                       */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/ 
/*                                                                        */ 
/*  COMPONENT DEFINITION                                   RELEASE        */ 
/*                                                                        */ 
/*    fx_uti.h                                            PORTABLE C      */ 
/*                                                           3.0          */ 
/*  AUTHOR                                                                */ 
/*                                                                        */ 
/*    William E. Lamie, Express Logic, Inc.                               */ 
/*                                                                        */ 
/*  DESCRIPTION                                                           */ 
/*                                                                        */ 
/*    This file defines the FileX Utility component constants, data       */ 
/*    definitions, and external references.  It is assumed that fx_api.h  */ 
/*    (and fx_port.h) have already been included.                         */ 
/*                                                                        */ 
/*  RELEASE HISTORY                                                       */ 
/*                                                                        */ 
/*    DATE              NAME                      DESCRIPTION             */ 
/*                                                                        */ 
/*  01-01-1999     William E. Lamie         Initial Version 1.0           */ 
/*  03-01-2000     William E. Lamie         Modified comment(s),          */ 
/*                                            resulting in version 1.0b.  */ 
/*  01-28-2001     William E. Lamie         Modified comment(s),          */ 
/*                                            resulting in version 2.0    */ 
/*  03-01-2002     Mohammad N. Minhaz       Modified comment(s), and      */ 
/*                                            made parameter changes for  */ 
/*                                            FAT32 support, resulting    */ 
/*                                            in version 3.0.             */ 
/*                                                                        */ 
/**************************************************************************/ 

#ifndef  FX_UTI
#define  FX_UTI


/* Define the internal Utility component function prototypes.  */

UINT        _fx_utility_log_sector_read(FX_MEDIA *media_ptr, ULONG logical_sector, 
                                                    VOID *buffer_ptr, ULONG sectors);
UINT        _fx_utility_log_sector_flush(FX_MEDIA *media_ptr);
UINT        _fx_utility_FAT_entry_read(FX_MEDIA *media_ptr, ULONG cluster, ULONG *entry_ptr);

#ifdef FILEX_ENABLE_WRITE //simon.huang add for functions of FILEX
#ifdef FILEX_ENABLE_UTILITY_TIME //simon.huang_0831_2004 modify because real time clock not install
UINT        _fx_utility_get_time( UINT *current_time_ptr,
                                  UINT *current_date_ptr );
#endif

UINT        _fx_utility_log_sector_write(FX_MEDIA *media_ptr, ULONG logical_sector, 
                                                    VOID *buffer_ptr, ULONG sectors);
UINT        _fx_utility_FAT_flush(FX_MEDIA *media_ptr);
UINT        _fx_utility_FAT_map_flush(FX_MEDIA *media_ptr);
VOID        _fx_utility_memory_copy(UCHAR_PTR source_ptr, UCHAR_PTR dest_ptr, ULONG size);
UINT        _fx_utility_FAT_entry_write(FX_MEDIA *media_ptr, ULONG cluster, ULONG next_cluster);
#endif 
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?