2008-11-19 13:26:10 +01:00
|
|
|
|
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
#include <minix/vm.h>
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* vm_brk *
|
|
|
|
*===========================================================================*/
|
2012-03-25 20:25:53 +02:00
|
|
|
int vm_brk(endpoint_t ep, char *addr)
|
2008-11-19 13:26:10 +01:00
|
|
|
{
|
|
|
|
message m;
|
|
|
|
|
|
|
|
m.VMB_ENDPOINT = ep;
|
|
|
|
m.VMB_ADDR = (void *) addr;
|
|
|
|
|
|
|
|
return _taskcall(VM_PROC_NR, VM_BRK, &m);
|
|
|
|
}
|
|
|
|
|