模版文件 target.h

/****************************************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
********************************************************************************************************/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值