fx_sys.h

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

H
129
字号
/**************************************************************************/ 
/*                                                                        */ 
/*            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                                                       */
/**                                                                       */
/**   System (SYS)                                                        */
/**                                                                       */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/ 
/*                                                                        */ 
/*  COMPONENT DEFINITION                                   RELEASE        */ 
/*                                                                        */ 
/*    fx_sys.h                                            PORTABLE C      */ 
/*                                                           3.0          */ 
/*  AUTHOR                                                                */ 
/*                                                                        */ 
/*    William E. Lamie, Express Logic, Inc.                               */ 
/*                                                                        */ 
/*  DESCRIPTION                                                           */ 
/*                                                                        */ 
/*    This file defines the FileX system constants and global data        */ 
/*    definitions, including 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) and added */ 
/*                                            prototype for time get,     */ 
/*                                            resulting in version 1.0b.  */ 
/*  01-28-2001     William E. Lamie         Modified comment(s) and added */ 
/*                                            error checking function     */ 
/*                                            prototypes, resulting in    */ 
/*                                            version 2.0                 */ 
/*  03-01-2002     William E. Lamie         Modified comment(s),          */ 
/*                                            resulting in version 3.0.   */ 
/*                                                                        */ 
/**************************************************************************/ 

#ifndef  FX_SYS
#define  FX_SYS



/* Define the external System component function prototypes.  */

VOID        _fx_system_initialize(VOID);
VOID        _fx_system_timer_entry(ULONG id);
#if 1//def FILEX_ENABLE_WRITE//
UINT        _fx_system_date_set(UINT year, UINT month, UINT day);
UINT        _fx_system_time_set(UINT hour, UINT minute, UINT second);
UINT        _fx_system_date_get(UINT *year, UINT *month, UINT *day);
UINT        _fx_system_time_get(UINT *hour, UINT *minute, UINT *second);
#endif



/* System Component data declarations follow.  */

/* Determine if the initialization function of this component is including
   this file.  If so, make the data definitions really happen.  Otherwise,
   make them extern so other functions in the component can access them.  */

#ifdef  FX_SYSTEM_INIT
#define SYSTEM_DECLARE 
#else
#define SYSTEM_DECLARE extern
#endif


/* Define the head pointer of the opened media list.  */

SYSTEM_DECLARE  FX_MEDIA *  _fx_system_media_opened_ptr;


/* Define the variable that holds the number of open media. */

SYSTEM_DECLARE  ULONG       _fx_system_media_opened_count;


/* Define the system date variable.  */

SYSTEM_DECLARE  UINT        _fx_system_date;


/* Define the system time variable.  */

SYSTEM_DECLARE  UINT        _fx_system_time;


/* Define system timer control block.  If accurate date/time stamps on
   files is not needed, the define FX_NO_TIMER should be used when
   compiling fx_si.c to eliminate the FileX timer.  */

#ifndef FX_NO_TIMER
SYSTEM_DECLARE  TX_TIMER    _fx_system_timer;
#endif

#endif

⌨️ 快捷键说明

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