Information Technology Reference
In-Depth Information
User-level
Process
Registers
Kernel
code:
code:
SS: ESP
CS: EIP
EFLAGS
other
registers:
EAX, EBX,
...
handler() {
pusha
...
}
foo () {
while(...) {
x = x+1;
y = y-2;
}
}
Exception
Stack
stack:
Figure2.9: State of the system before an interrupt handler is invoked on the
x86 architecture.
 
Search WWH ::




Custom Search