Correctly initialize the esp0 pointer in the TSS for the initial
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Apr 2007 00:05:33 +0000 (00:05 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 23 Apr 2007 00:05:33 +0000 (00:05 +0000)
commit58ff179ed68e25b33037ca479b0f51f8fdbec7fe
treee0978cd0b3082f9eea42eb3da4755479c1e877cb
parent0f158b317af71b534169ca56ac4104b97f026663
Correctly initialize the esp0 pointer in the TSS for the initial
kernel thread.  Shouldn't actually matter in practice, because that
pointer is only used on a user->kernel transition, and the initial
kernel thread never runs a user process.

Reported by Godmar Back.
src/userprog/process.c
src/userprog/tss.c
src/userprog/tss.h