1433d6423SLionel Sambuc #include "syslib.h" 2433d6423SLionel Sambuc 3433d6423SLionel Sambuc #include <unistd.h> 4433d6423SLionel Sambuc #include <string.h> 5433d6423SLionel Sambuc 6433d6423SLionel Sambuc int vm_update(endpoint_t src_e,endpoint_t dst_e,int flags)7*a1760b57SCristiano Giuffridavm_update(endpoint_t src_e, endpoint_t dst_e, int flags) 8433d6423SLionel Sambuc { 9433d6423SLionel Sambuc message m; 10433d6423SLionel Sambuc 11433d6423SLionel Sambuc memset(&m, 0, sizeof(m)); 12433d6423SLionel Sambuc m.m_lsys_vm_update.src = src_e; 13433d6423SLionel Sambuc m.m_lsys_vm_update.dst = dst_e; 14*a1760b57SCristiano Giuffrida m.m_lsys_vm_update.flags = flags; 15433d6423SLionel Sambuc 16433d6423SLionel Sambuc return _taskcall(VM_PROC_NR, VM_RS_UPDATE, &m); 17433d6423SLionel Sambuc } 18