Prototype of env_user_mem_walk
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Fri, 22 Jan 2010 00:33:17 +0000 (16:33 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Fri, 22 Jan 2010 00:33:17 +0000 (16:33 -0800)
commitf2a38e76178a7165a38a93f2e5629f947390d93d
tree7aeb76c322391f60ed14b558b3e9bab8f9eb1fa3
parent929e5ed818c0107d72f3b4e34bf0b9fc28f04491
Prototype of env_user_mem_walk

This is a general mechanism to apply some operator to
all pages mapped into a process's address space.  for
example, env_user_mem_free can be implemented using
this plus a callback that does page_decref.  it will
be useful for implementing fork/exec "right".
kern/arch/sparc/env.c
kern/arch/sparc/process.c