/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
** 一些函数的声明
** http://www.zyinside.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name: target.h
** Last modified Date: 2005-12-31
** Last Version: v1.0
** Description: 目标板特殊的代码,包括异常处理程序和目标板初始化程序
**
**------------------------------------------------------------------------------------------------------
** Created By: 黄绍斌
** Created date: 2005-12-31
** Version: v1.0
** Descriptions:
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
********************************************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H
/********************************************************************************************************
** "以下宏和常量定义"
** consts and marcos define here
********************************************************************************************************/
/********************************************************************************************************
** "以下结构体、共用体和类"
** structs,unions and classes define here
********************************************************************************************************/
#ifndef IN_TARGET
#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************************************************
** "以下为全局变量声明"
** declare global variables here
********************************************************************************************************/
/********************************************************************************************************
** "以下为接口声明"
** declare functions here
********************************************************************************************************/
/********************************************************************************************************
** Function name: ResetInit
** Descriptions: 复位入口
** Input: 无
** Output: 无
********************************************************************************************************/
extern void ResetInit(void);
/********************************************************************************************************
** Function name: DisableMMU
** Descriptions: 禁止MMU
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableMMU(void);
/********************************************************************************************************
** Function name: EnableICache
** Descriptions: 使能指令CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void EnableICache(void);
/********************************************************************************************************
** Function name: DisableICache
** Descriptions: 禁止指令CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableICache(void);
/********************************************************************************************************
** Function name: EnableDCache
** Descriptions: 使能数据CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void EnableDCache(void);
/********************************************************************************************************
** Function name: DisableDCache
** Descriptions: 禁止数据CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableDCache(void);
/********************************************************************************************************/
#ifdef __cplusplus
}
#endif
#endif // IN_TARGET
#endif // __TARGET_H
/*********************************************************************************************************
** End Of File
********************************************************************************************************/
** Guangzhou ZHIYUAN electronics Co.,LTD.
** 一些函数的声明
** http://www.zyinside.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name: target.h
** Last modified Date: 2005-12-31
** Last Version: v1.0
** Description: 目标板特殊的代码,包括异常处理程序和目标板初始化程序
**
**------------------------------------------------------------------------------------------------------
** Created By: 黄绍斌
** Created date: 2005-12-31
** Version: v1.0
** Descriptions:
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
********************************************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H
/********************************************************************************************************
** "以下宏和常量定义"
** consts and marcos define here
********************************************************************************************************/
/********************************************************************************************************
** "以下结构体、共用体和类"
** structs,unions and classes define here
********************************************************************************************************/
#ifndef IN_TARGET
#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************************************************
** "以下为全局变量声明"
** declare global variables here
********************************************************************************************************/
/********************************************************************************************************
** "以下为接口声明"
** declare functions here
********************************************************************************************************/
/********************************************************************************************************
** Function name: ResetInit
** Descriptions: 复位入口
** Input: 无
** Output: 无
********************************************************************************************************/
extern void ResetInit(void);
/********************************************************************************************************
** Function name: DisableMMU
** Descriptions: 禁止MMU
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableMMU(void);
/********************************************************************************************************
** Function name: EnableICache
** Descriptions: 使能指令CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void EnableICache(void);
/********************************************************************************************************
** Function name: DisableICache
** Descriptions: 禁止指令CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableICache(void);
/********************************************************************************************************
** Function name: EnableDCache
** Descriptions: 使能数据CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void EnableDCache(void);
/********************************************************************************************************
** Function name: DisableDCache
** Descriptions: 禁止数据CACHE
** Input: 无
** Output: 无
********************************************************************************************************/
extern void DisableDCache(void);
/********************************************************************************************************/
#ifdef __cplusplus
}
#endif
#endif // IN_TARGET
#endif // __TARGET_H
/*********************************************************************************************************
** End Of File
********************************************************************************************************/