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

📄 sysinfo.c

📁 TI OMAP 1510上mcbsp的驱动程序
💻 C
字号:
/*
 * dspapps/dsp/task_testB/sysinfo.c
 *
 * DSP system information required by tokliBIOS.lib
 *
 * Copyright (C) 2002,2003 Nokia Corporation
 *
 * Written by Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 * $Id: sysinfo.c
 * $Revision: 2.0
 * $Date: 2003/11/11
 *
 */
#include <std.h>
#include "tokliBIOS.h"

/*
 *  task information
 */

//#define	N_TASK	12
#define	N_TASK	1
Int	_n_task = N_TASK;

extern struct dsptask task_hellotimer;
#if 0
extern struct dsptask task_endiantest;
extern struct dsptask task_test1;
extern struct dsptask task_test2;
extern struct dsptask task_test3;
extern struct dsptask task_test4;
extern struct dsptask task_test5;
extern struct dsptask task_test6;
extern struct dsptask task_test7;
extern struct dsptask task_test8a;
extern struct dsptask task_test8b;
extern struct dsptask task_test8c;
#endif

struct dsptask	*task_user[N_TASK] = {
	&task_hellotimer,
#if 0
	&task_endiantest,
	&task_test1,
	&task_test2,
	&task_test3,
	&task_test4,
	&task_test5,
	&task_test6,
	&task_test7,
	&task_test8a,
	&task_test8b,
	&task_test8c
#endif
};

/*
 * ipbuf configuration
 */

#define	IPBUF_SZ	0x80
#define	IPBUF_LINES	4
#define	IPBUF_KEEP	2

Uns	_ipbuf_sz    = IPBUF_SZ;
Uns	_ipbuf_lines = IPBUF_LINES;
Uns	_ipbuf_keep  = IPBUF_KEEP;

#pragma DATA_SECTION(_ipbuf_body, "ipbuf")
Int	_ipbuf_body[(IPBUF_HEADER_SZ+(LgUns)IPBUF_SZ)*IPBUF_LINES];

⌨️ 快捷键说明

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