kernel: Move mapping code out of sys_page_map()
commit0c3a4286f137098a8c5047ebe5fc326e45fa81e4
authorLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Sun, 7 Oct 2007 16:37:44 +0000 (7 13:37 -0300)
committerLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Sun, 7 Oct 2007 17:17:50 +0000 (7 14:17 -0300)
tree11975e2a42e11ccc87532514a5bdc0e2002a72d0
parent83f2f8c79619f804a42aa0431a20cf4344778808
kernel: Move mapping code out of sys_page_map()

This commit introduces a new function called page_map(). This
function does the actual page mapping work and its body has
been taken from sys_page_map().

This is needed because the IPC mechanism will use this function
as well.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@gmail.com>
src/kern/syscall.c