being able to enter into the user space
commit085087b6d3ca425a9908b74ba0fcad0cacced3b8
authorGuanqun Lu <Guanqun.Lu@Gmail.com>
Mon, 10 Mar 2008 03:40:24 +0000 (10 11:40 +0800)
committerGuanqun Lu <Guanqun.Lu@Gmail.com>
Mon, 10 Mar 2008 03:40:24 +0000 (10 11:40 +0800)
treed6719aa7c38b79e7ab0f799baf509a032122d93c
parent8cfe0e0c0487aa0292d3290c031bb995b10eae9a
being able to enter into the user space

I was once stuck here for a rather long time, and I finally
made it through after frustration and disappointment. Though,
the bug could be simply one sentence: the privilege of the
page directory entry created in `pgdir_walk' should include PTE_U.

Signed-off-by: Guanqun Lu <Guanqun.Lu@Gmail.com>
kern/env.c
kern/init.c
kern/pmap.c
kern/trap.c
kern/trapentry.S