FX_SYS.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:6k
- /**************************************************************************/
- /* */
- /* 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);
- /* 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