Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 공인 IP
- addressing mode
- register
- 명령어
- osi 7
- interrupt
- Clean code
- ack
- L3 Router
- L2 switch
- 가독성
- page
- Public IP
- Sector
- 코드 컴플릿
- ALU
- float
- CPU
- physical address
- MMU
- 사설 IP
- cache
- floating point
- network
- TCP
- 클린 코드
- private ip
- refactoring
- Code complete
- 리펙토링
Archives
- Today
- Total
Software Lab
1. 인터럽트 종류 본문
인터럽트는 3가지 종류가 있다.
Trap : 예외 상황에 대한 인터럽트들이다. Divide error(0으로 나누었을 때), Page fault(memory에서 page를 못 찾을 때) 들이 있다. |
|
|
메모리에는 OS와 여러 프로세스가 올라가 있다. OS에는 인터럽트와 관련하여 IDT, ISR가 있다.
IDT(Interrupt Description Table) : ISR의 함수 포인터가 인터럽트 번호순으로 저장된 Table이다. Intel CPU는 IDT 시작 주소를 IDTR(Interrupt Description Table Register)이 가지고 있다. ARM의 경우 메모리에서 0번지를 IDT 시작 주소로 사용한다. |
|
'컴퓨터 구조 > Interrupt' 카테고리의 다른 글
4. External interrupt (0) | 2022.09.27 |
---|---|
3. Internal interrupt (0) | 2022.09.27 |
2. Trap interrupt (0) | 2022.09.26 |
Comments