|
* Interrupt
Flag
SA_INTERRUPT
세트–fast interrupt handler,클리어–slow interrupt handler
SA_SHIRQ
디바이스 사이에 인터럽트 공유
SA_SAMPLE_RANDOM
디바이스가 임의의 시점에 인터럽트 발생
* Kernel-assisted probing
int count = 0;
do {
unsigned long ma
|
- 페이지 19페이지
- 가격 1,500원
- 등록일 2003.12.27
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
handler pointer
h++;
pending >>=1;
} while(pending);
local_irq_disable();
...............
}
=> do_softirqpending을 체크하여 1이면 softirq_vec 의 해당 action을 따라가서 그 수행을 하게 되는 것이다.
& tasklet
전문가가 아닐 경우는 거의 Tasklet 을 사용한다. softirq는 동
|
- 페이지 14페이지
- 가격 2,000원
- 등록일 2008.03.24
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
INTERRUPTS(CLBR_ANY)# make sure we don't miss an interrupt
# setting need_resched or sigpending
# between sampling and the iret
movl TI_flags(%ebp), %ecx
andl $_TIF_WORK_MASK, %ecx# is there any work to be done on
# int/exception return?
jne work_pending
jmp restore_all
DISABLE_INTERRUPTS(CLBR_ANY)
|
- 페이지 11페이지
- 가격 2,000원
- 등록일 2008.01.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
interrupt_handler int0_isr:2 // 쓰레기 감지시 인터럽트
void int0_isr(void)
{
CLI();
servo();
}
#pragma interrupt_handler int1_isr:3 // 왼쪽 앞 셈서 감지시 인터럽트
void int1_isr(void)
{
sensor = PINE & 0x0f;
if(sensor==2){
stop();
back();
stop();
right();
stop();
go2();
}
else{
CLI();
stop();
|
- 페이지 30페이지
- 가격 15,000원
- 등록일 2010.04.28
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
interrupt_handler ;
Ada에서 처리될 인터럽트에서는 pressuer_warning entry 호출과 랑테뷰를 하기 위하여 기다리는 태스크 몸체가 있어야만 한다. Ada 태스크 몸체는 다음과 같은 형태를 가질 것이다.
task body top_interrup_handler is
begin
accept pressuer_warning ;
--
|
- 페이지 12페이지
- 가격 2,000원
- 등록일 2006.06.27
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|