nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
interrupt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HIGH_PRIORITY   0x80000000
 IRQ 등록시 가장 높은 우선 순위로, 가장 먼저 실행 된다. More...
 
#define LOW_PRIORITY   0x7FFFFFFF
 IRQ 등록시 가장 낮은 우선 순위로, 가장 나중에 실행 된다. More...
 
#define NORMAL_PRIORITY   0
 IRQ 등록시 일반 적인 우선 순위를 정의한다. More...
 

Functions

void disable_interrupt (void)
 인터럽트를 비활성화 시킨다. More...
 
void enable_interrupt (void)
 인터럽트를 활성화 시킨다. More...
 
void irq_local_restore (unsigned long value)
 주어진 인자의 값으로 인터럽트 상태를 복원한다. More...
 
void irq_local_save (unsigned long *value)
 주어진 인자에 현재 인터럽트 상태를 저장하고 인터럽트를 비활성화 시킨다. More...
 
int register_irq (int idx, int priority, int(*handler)(int, void *, void *), void *data)
 인터럽트 핸들러를 등록한다. More...
 
int unregister_irq (int idx, int(*handler)(int, void *, void *), void *data)
 등록된 인터럽트 핸들러를 제거한다. More...