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.

Input/Output (I/O)<br />

Kommunikation med eksterne enheder<br />

Eget I/O adresserum<br />

Port baseret I/O<br />

Kræver specielle instruktioner til læsning <strong>og</strong> skrivning<br />

Porte kan beskyttes i user-mode med permission bits<br />

Delt adresserum<br />

Afbildet i samme adresserum som memory<br />

Kræver ingen specielle instruktioner<br />

Memory-mapped I/O<br />

Adresser <strong>for</strong> primærlager<br />

Adresser <strong>for</strong> I/O<br />

Ubrugte adresser<br />

Example (Pentium)<br />

Bruger permission bit map til at afgøre om en given port er tilgængelig i<br />

user mode.<br />

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

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

Saved successfully!

Ooh no, something went wrong!