Page 2 of 2

Re:Stacks...

Posted: Mon Jan 27, 2003 4:20 am
by DarylD
As far as I know you can't have page fault based stack extension for kernel stacks but you can for user (ring 3) stacks because the TSS stores the SS/ESP for the ring 0 side of things.

But a stack fault in ring 0 will simply not work because it won't be able to push error codes/flags etc.

Well, thats how I thought it worked anyway!

Daryl.

Re:Stacks...

Posted: Mon Jan 27, 2003 5:42 am
by Perica
..

Re:Stacks...

Posted: Mon Jan 27, 2003 1:41 pm
by Tim
Pype.Clicker wrote:Tim, correct me if i'm wrong, but it's not possible to have virtual-expandable stacks in kernel mode, is it ? If so, how the hell could the page fault be received by a stack that needs to be extended ?
You're right, you can't (officially) use demand-paged stacks in kernel mode, for that reason.