⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 philecfg.c

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的操作系统pSOS。包括全部源码
💻 C
字号:
/***********************************************************************//*                                                                     *//*   MODULE:  philecfg.c   1.3                                                *//*   DATE:    17:57:17 - 97/12/05                                                *//*   PURPOSE: pHILE+ configuration file                                *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*           Copyright 1991 - 1993, Integrated Systems, Inc.           *//*                      ALL RIGHTS RESERVED                            *//*                                                                     *//*   Permission is hereby granted to licensees of Integrated Systems,  *//*   Inc. products to use or abstract this computer program for the    *//*   sole purpose of implementing a product based on Integrated        *//*   Systems, Inc. products.   No other rights to reproduce, use,      *//*   or disseminate this computer program, whether in part or in       *//*   whole, are granted.                                               *//*                                                                     *//*   Integrated Systems, Inc. makes no representation or warranties    *//*   with respect to the performance of this computer program, and     *//*   specifically disclaims any responsibility for any damages,        *//*   special or consequential, connected with the use of this program. *//*                                                                     *//*---------------------------------------------------------------------*//*                                                                     *//*   This code in this module controls the configuration of the        *//*   pHILE+ componet.  Many configurations are possible, based on      *//*   these inputs:                                                     *//*     * Options selected in "sys_conf.h"                              *//*                                                                     *//***********************************************************************/#if defined(__cplusplus)extern "C" {#endif#include "sys_conf.h"#if (SC_PHILE || SC_DEV_RAMDISK || SC_DEV_SCSI)#include <configs.h>#include "bsp.h"#include <bspfuncs.h>#if SC_PHILE    extern void phile(void);#endif/*---------------------------------------------------------------------*//* pHILE+ configuration table.  The definitions for this is            *//* contained in <configs.h>.                                           *//*---------------------------------------------------------------------*/pHILE_CT PhileCfg;/***********************************************************************//* PhileSetup: Setup pHILE+ componet                                   *//*                                                                     *//*      INPUTS: FreeMemPtr pointer to free memory area that can be     *//*              used to allocate memory for this componet.             *//*                                                                     *//*              NodeCfg pointer to the systems node configuration      *//*              table. This will be used to set the philect            *//*              element in the table.                                  *//*                                                                     *//*     RETURNS: The new FreeMemPtr is returned.                        *//*                                                                     *//*     NOTE: This function may also be called if SCSI_DEV or RAM_DEV   *//*           is defined and not SC_PHILE. In those cases only the      *//*           pHILE_CT will be set up (with out setting the fc_phile    *//*           element).                                                 *//*                                                                     *//***********************************************************************/UCHAR *PhileSetup(UCHAR *FreeMemPtr,  NODE_CT *NodeCfg){/*---------------------------------------------------------------------*//* Build the pHILE+ configuration table.                               *//*---------------------------------------------------------------------*/#if SC_PHILE    PhileCfg.fc_phile = phile;#endifPhileCfg.fc_data = 0;PhileCfg.fc_datasize = 0;PhileCfg.fc_logbsize = FC_LOGBSIZE;PhileCfg.fc_nbuf = FC_NBUF;PhileCfg.fc_nmount = FC_NMOUNT;PhileCfg.fc_nfcb = FC_NFCB;PhileCfg.fc_ncfile = FC_NCFILE;PhileCfg.fc_msdos = FC_MSDOS;PhileCfg.fc_ndnlc = FC_NDNLC;PhileCfg.fc_cdrom = FC_CDROM;#if SC_PHILE    NodeCfg->philect = &PhileCfg;#endifreturn(FreeMemPtr);}#else    static void stub(void){}#endif#if defined(__cplusplus)}#endif

⌨️ 快捷键说明

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