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




Custom Search