📄 init_rtos.c
字号:
/********************************************************************************/
/*!
@file init_rtos.c
@brief 俷俽偐傜僐乕儖偝傟傞弶婜壔張棟
@version $Revision: 2.00 $
@date 2007/XX/XX
@author Matsushita Electronics Co.,Ltd.
*/
/********************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <itron.h>
#include <kernel.h>
#include <kernel_id.h>
#include "..\gerda_dd\include\gerda_dd.h"
#include "..\gerda_dd\include\dd_sys.h"
#include "..\gerda_dd\include\gerda_reg.h"
#include "..\gerda_dd\dsp\dst_ram.h"
#include "..\gerda_dd\dsp\ini_def.h"
#include "..\texture\texdata.h"
#include "systype.h"
#include "sr103se60pub.h"
#include "option.h"
#include "if_cmd.h"
#include "if_mxr.h"
#include "if_txtid.h"
#include "parameter.h"
#include "dd_param.h"
#include "dspctrl.h"
/********************************************************************/
/* 傾僾儕働乕僔儑儞僷儔儊乕僞愝掕 */
/********************************************************************/
/********************************************************************/
/* 儅僋儘掕媊 */
/********************************************************************/
#define touch(x) ((x) = 0) /* WARNING 懳嶔 */
/********************************************************************/
/* 娭悢愰尵 */
/********************************************************************/
/********************************************************************/
/* 奜晹娭悢愰尵 */
/********************************************************************/
extern void SetInitCPU(void);
extern void SetInitHST(void);
/********************************************************************/
/* 曄悢愰尵 */
/********************************************************************/
/********************************************************************/
/* 儅僋儘掕悢愰尵 */
/********************************************************************/
/********************************************************************/
/* 掕悢愰尵 */
/********************************************************************/
/***********************************************************************/
/*!
@fn void vINIT_usr(VP_INT exinf)
@brief 傾僾儕働乕僔儑儞惂屼 弶婜壔張棟
@param[in] VP_INT exinf
@return 側偟
@date 2007/XX/XX
*/
/***********************************************************************/
void vINIT_usr(VP_INT exinf)
{
touch(exinf);
dsp_init();
drw_init();
dsp_img_poweron();
SetInitCPU(); /* I/O丆妱崬傒儗僕僗僞弶婜壔 */
SetInitHST(); /* HOST I/F 曄悢弶婜壔 */
#if 1 /* @007s6[08/01/13] */
_TRC_sta_log();
#endif /* @007s6[08/01/13] */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -