Fix logic bug in RISC_V env_user_mem_walk
authorAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 7 Jan 2013 03:33:43 +0000 (19:33 -0800)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 7 Jan 2013 03:33:43 +0000 (19:33 -0800)
commit5c2682eee15dc21954d78f8447e5e39fa0d02d94
treea2937e66108710727da24b9e53f354767629ac3d
parent29cb47f909467f0a8e0ef969ac373322ee32d2b3
Fix logic bug in RISC_V env_user_mem_walk

Manifested itself as sys_fork causing a kernel page fault
kern/arch/riscv/env.c