avfs.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 134 行
H
134 行
/*******************************************************************
*
* Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
*
* Description:
*
* Author: Amlogic Software
* Created: Fri Nov 11 01:04:23 2005
*
*******************************************************************/
/* avfs.h
*
* This include file contains information about AVFS executive that
* is required by the application and is CPU independent. It includes
* two (2) CPU dependent files to tailor its data structures for a
* particular processor.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.avfs.com/license/LICENSE.
*
* avfs.h,v 1.21.2.1 2003/09/04 18:47:17 joel Exp
*/
#ifndef __AVFS_AVFS_GENERIC_h
#define __AVFS_AVFS_GENERIC_h
#ifdef __cplusplus
extern "C" {
#endif
/*
* Unless told otherwise, the AVFS include files will hide some stuff
* from normal application code. Defining this crosses a boundary which
* is undesirable since it means your application is using AVFS features
* which are not included in the formally defined and supported API.
* Define this at your own risk.
*/
#if (!defined(__AVFS_VIOLATE_KERNEL_VISIBILITY__)) && (!defined(__AVFS_INSIDE__))
#define __AVFS_APPLICATION__
#endif
#include <avfs/system.h>
#include <avfs/avfs/status.h>
#include <avfs/avfs/types.h>
#include <avfs/config.h>
#include <avfs/init.h>
#include <avfs/avfs/options.h>
#include <avfs/avfs/tasks.h>
#include <avfs/avfs/intr.h>
#include <avfs/avfs/cache.h>
#include <avfs/avfs/clock.h>
#include <avfs/extension.h>
#include <avfs/avfs/timer.h>
#include <avfs/avfs/sem.h>
#include <avfs/avfs/message.h>
#include <avfs/avfs/event.h>
#include <avfs/avfs/signal.h>
#include <avfs/avfs/event.h>
#include <avfs/avfs/part.h>
#include <avfs/avfs/region.h>
#include <avfs/avfs/dpmem.h>
#include <avfs/io.h>
#include <avfs/fatal.h>
#include <avfs/avfs/ratemon.h>
#if defined(AVFS_MULTIPROCESSING)
#include <avfs/avfs/mp.h>
#endif
#include <avfs/avfs/support.h>
#include <avfs/score/sysstate.h>
#define AVFS_HAS_HARDWARE_FP CPU_HARDWARE_FP
/*
* The following define the constants which may be used in name searches.
*/
#define AVFS_SEARCH_ALL_NODES OBJECTS_SEARCH_ALL_NODES
#define AVFS_SEARCH_OTHER_NODES OBJECTS_SEARCH_OTHER_NODES
#define AVFS_SEARCH_LOCAL_NODE OBJECTS_SEARCH_LOCAL_NODE
#define AVFS_WHO_AM_I OBJECTS_WHO_AM_I
/*
* Parameters and return id's for _Objects_Get_next
*/
#define AVFS_OBJECT_ID_INITIAL_INDEX OBJECTS_ID_INITIAL_INDEX
#define AVFS_OBJECT_ID_FINAL_INDEX OBJECTS_ID_FINAL_INDEX
#define AVFS_OBJECT_ID_INITIAL(api, class, node) OBJECTS_ID_INITIAL(api, class, node)
#define AVFS_OBJECT_ID_FINAL OBJECTS_ID_FINAL
/*
* The following constant defines the minimum stack size which every
* thread must exceed.
*/
#define AVFS_MINIMUM_STACK_SIZE STACK_MINIMUM_SIZE
/*
* Constant for indefinite wait. (actually an illegal interval)
*/
#define AVFS_NO_TIMEOUT WATCHDOG_NO_TIMEOUT
/*
* An MPCI must support packets of at least this size.
*/
#define AVFS_MINIMUM_PACKET_SIZE MP_PACKET_MINIMUM_PACKET_SIZE
/*
* The following constant defines the number of unsigned32's
* in a packet which must be converted to native format in a
* heterogeneous system. In packets longer than
* MP_PACKET_MINIMUN_HETERO_CONVERSION unsigned32's, some of the "extra" data
* may a user message buffer which is not automatically endian swapped.
*/
#define AVFS_MINIMUN_HETERO_CONVERSION MP_PACKET_MINIMUN_HETERO_CONVERSION
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?