traps.c

来自「小型操作系统,以VC为开发环境,需要boachs调试」· C语言 代码 · 共 55 行

C
55
字号
/***************************************************************************
**     File name   : traps.c
**     Author      : x.cheng
**     Create date :
**
**	   Comment:
**        traps exception module file....
**
**     Revisions:
**     $Log: traps.c,v $
**     Revision 1.2  2005/08/04 08:34:42  x.cheng
**     new interrupt and exception handling method.
**
**     Revision 1.1.1.1  2005/07/27 06:53:15  x.cheng
**     add into repositories
**
**
***************************************************************************/
#include "const.h"
#include "type.h"
#include "stdarg.h"

#include "..\..\Inc\i386\system.h"
#include "..\..\Inc\i386\io.h"
#include "..\..\Inc\i386\interrupt.h"
#include "..\..\Inc\i386\exception.h"
#include "..\..\Inc\tui.h"
#include "..\..\Inc\debug.h"


/************************************************************
*************************************************************
**      Function Name:			vTrapsInit
**      Author:                 x.cheng
**
**      Comment:
**			initialize all the traps and ints
**
**      List of parameters:
**			no
**
**      Return value:   
**          no
**
**      Revisions:
**
*************************************************************
*************************************************************/
void vTrapsInit(void)
{
	Tp3EsrInitialize( );
	Tp4IsrInitialize( );
}

⌨️ 快捷键说明

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