- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to know how CPU behave when there's no stack available(SS:ESP points to an virtual address which is not mapped to physical memory). The environment is in protection-mode. Following is my understanding:
Because there's no PTE for stack, the instruction "push eax" will result in a #SS. Responding to this #SS, the CPU will push EFLAGS, CS, EIP and ERROR_CODE into stack and turn to exception handler. But the new push will generate new #SS for the same reason... and the process will deadlock here.
Is my understanding correct?
Thanks,
Min
Message Edited by minwang on 11-23-2004 06:23 PM
Message Edited by minwang on 11-23-2004 06:24 PM
Message Edited by minwang on 11-23-2004 06:31 PM
Message Edited by minwang on 11-24-2004 03:02 PM
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our engineers would like to know which CPU(s) you are specifically asking about. Thanks in advance for your clarification.
Regards,
Message Edited by intel.software.network.support on 12-02-2005 01:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would not think a deadlock would occur becuase the I think the CPU is already acknowledged it's generating an exception, if an exception occurs whilst in one a double fault occurs resulting in a CPU reset. Not sure if all models do that.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page