代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
interrupt.c
#include
#include
/*******************************************************************************
*设置该中断处理函数列表的目的是为了对中断处理程序的统一管理,并且对同类外设采用
*统一的处理方式,各个外设的特殊处理由相应的外设管理程
interrupt.h
#ifndef _INTERRUPT_H
#define _INTERRUPT_H
#define INTERRUPT_CNT 32 //中断源的个数
typedef struct
{
AT91_REG base_reg; //引起中断的外设的基地址
void (*interrupt_handling)(int base_reg,int vector);
interrupt.h
/* 中断处理 */
/* 定义段描述符的结构 */
typedef struct
{
unsigned long dword0;
unsigned long dword1;
} segment_desc;
extern void keyboard_interrupt();
/* 中断描述符表初始化函数 */
void InitInterrupt()
{
interrupt.asm
[BITS 32]
[GLOBAL pyos_asm_interrupt_handle_for_default]
[EXTERN pyos_interrupt_handle_for_default]
[SECTION .text]
pyos_asm_interrupt_handle_for_default:
;保护现场
pushad
;调用相应的C++处理函数
interrupt.cpp
#include "system.h"
#include "interrupt.h"
#include "video.h"
struct_pyos_InterruptItem class_pyos_Interrupt::m_Idt[ 256 ] ; // 中断描述符表项
struct_pyos_Idtr class_pyos_Interrupt::m_Idtr ; // 中断描述符
interrupt.h
#ifndef _PYOS_INTERRUPT_H_
#define _PYOS_INTERRUPT_H_
#include "system.h"
/* 中断描述符结构 */
struct struct_pyos_InterruptItem{
unsigned short Offset_0_15 ; // 偏移量的0~15位
unsigned short SegSele
interrupt.__i
"interrupt.c" OMF2 OPTIMIZE (6,SPEED) BROWSE VARBANKING DEBUG
interrupt.lst
C51 COMPILER V8.08 INTERRUPT 07/28/2007 11:42:16 PAGE 1
C51 COMPILER V8.08, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED
interrupt.c
#include "dp8051.h"
#include "config.h"
#include "absacc.h"
#include "constant.h"
#include "variable.h"
#include "function.h"
#include "sdhost.h"
#include "sssmp3_regs.h"
#include "fat.h"
#in