Incorporate bsdmake into buildsystem and reorganize libs

This commit is contained in:
Arun Thomas
2010-02-16 14:41:33 +00:00
parent 6686e9ae9f
commit b706112487
1513 changed files with 8094 additions and 26613 deletions
+23
View File
@@ -0,0 +1,23 @@
#include "syslib.h"
#include <minix/vm.h>
/*===========================================================================*
* vm_fork *
*===========================================================================*/
PUBLIC int vm_fork(endpoint_t ep, int slot, endpoint_t *childep)
{
message m;
int result;
m.VMF_ENDPOINT = ep;
m.VMF_SLOTNO = slot;
result = _taskcall(VM_PROC_NR, VM_FORK, &m);
*childep = m.VMF_CHILD_ENDPOINT;
return(result);
}