ECE 391 Lecture 6: Interrupt Handling

73 views6 pages

Document Summary

2:03 pm x86 isa uses one table for invocation of interrupts, exceptions, system calls called the interrupt descriptor table (idt) This is how you connect physical devices to your system. Summary of the basic characteristics of the summary of three fundamental os services. Asynchronous unexpected examples yes no deliberately via int instruction no. The question: interrupt handlers and programs share resources. What can we do to fix those problems. Obvious things registers solution? save them to the stack memory solution? privatize will still need to share some things; discussed later. Less obvious condition codes solution? again save them to the stack shared data. More subtle external state (e. g. , on devices) compiler optimization (e. g. , volatility) security leaks e. g. , application waits for interrupt, then observes values written by os to stack solution? use separate stack for kernel. If you didn"t have the problem of interrupts.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents