07.04.2014 Views

Principper for Samtidighed og Styresystemer - Interrupts

Principper for Samtidighed og Styresystemer - Interrupts

Principper for Samtidighed og Styresystemer - Interrupts

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Interrupts</strong><br />

Interruptdeling<br />

Nødvendigt <strong>for</strong>di interrupts er en meget begrænset ressource<br />

Bruges når flere enheder deler samme interrupt<br />

Kræver at ISR kan identificere kilden til interruptet<br />

Chain of responsibility pattern<br />

Prioriterede interrupts<br />

ISR kan afbrydes af interrupts med højere prioritet<br />

Nyttigt?<br />

Hvad kan man bruge interrupts til?<br />

Example (Pentium)<br />

Interrupt multiplexing med on-CPU PIC (Pr<strong>og</strong>rammable Interrupt<br />

Controller).<br />

PSS’09 (Forelæsning 10) <strong>Interrupts</strong> APR 2009 12 / 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!