VMM: Change vmm_run_task return values
authorGanShun <ganshun@gmail.com>
Mon, 9 May 2016 23:35:19 +0000 (16:35 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 13 May 2016 14:49:04 +0000 (10:49 -0400)
commit5cf07c7cb6a745f4e865c710869b7d7d2591f217
treef0885cbf89cc28ceb15c21814c5cca756538e187
parentf965b85e0a6a2fb419f57ca38ffbfc3dc5afeced
VMM: Change vmm_run_task return values

Make vmm_run_task return 0 on a failure and return the pointer to the
task thread on success

Signed-off-by: GanShun <ganshun@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/include/vmm/sched.h
user/vmm/sched.c