취업,면접 대비/cs 전공 공부

<운영체제> 인터럽트

studying develop 2020. 3. 29. 17:11

[https://cdn.ttgtmedia.com/searchNetworking/downloads/InsideIOS.pdf]

Interrupts

 

Operating systems usually provide support for CPU interrupts. Interrupts are a hardware feature that cause the CPU to temporarily suspend its current instruction sequence and to transfer control to a special program. The special program, called an interrupt handler, performs operations to respond to the event that caused the interrupt, and then returns the CPU to the original instruction sequence. Interrupts often are generated by external hardware, such as a media controller requesting attention, but they also can be generated by the CPU itself. Operating systems support the interrupts by providing a set of interrupt handlers for all possible interrupt types.