Interrupts: Difference between revisions

Jump to navigation Jump to search
m
Add Wikipedia Link
[unchecked revision][unchecked revision]
(Tweak the Opening Paragraph Some More)
m (Add Wikipedia Link)
Line 1:
'''Interrupts''' are signals from a device, such as a keyboard or a hard drive, to the CPU, telling it to immediately stop whatever it is currently doing and do something else. For example, a keyboard controller can send an interrupt when a character key was pressed. Then the OS can display the character on screen immediately, even if the CPU was doing something completely unrelated before, and return to what it was doing afterwards. When a specific interrupt arises, the CPU looks up an entry for that specific interrupt from a table provided by the OS. In [[Protected Mode|x86 protected mode]] the table is called the [[IDT|Interrupt Descriptor Table (IDT)]] and can have up to 256 entries, but the name of this tablestable and the maximum number of entries it can have can differ based on the CPU architecture. After the CPU finds the entry for the interrupt, it jumps to the code the entry points to. This code that is run in response to the interrupt is known as a [[Interrupt Service Routines|interrupt service routine (ISR) or an interrupt handler]].
 
== Types of Interrupts ==
Line 154:
 
=== External Links ===
* [[wikipedia:Interrupts|Interrupts Wikipedia Article]]
* [http://os-development.000webhostapp.com/prerusenia.html Tutorial for setting interrupts in slovak langunge(Návod v slovenskom jazyku) ]
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu