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.
Stacks...
Re:Stacks...
You're right, you can't (officially) use demand-paged stacks in kernel mode, for that reason.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 ?