?? sysinfo.c
字號(hào):
/*
* 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];
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -