Skip to contentSkip to conversation

no crash after setting ESP to 0 in module

DISCUSSION Julien Oster 1 participant 1 message Jun 25, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Mikulas Patocka <[email protected]> writes:

Hello Mikulas,

Quoted 6 lines
Quoted 1 line

Where's the magic?

Processor will do double fault prior to triple fault. Double fault exception 8 points to a task switch gate --- and task switch doesn't require correct ESP. So it loads new ESP from task state segment of that gate and calls doublefault_fn.

A task switch gate! Finally that makes sense to me. Thanks for pointing this out!

Regards,
Julien