aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/nosys.c
blob: 2a601800ceba19d4cfc37bd018d2e82eb35d4ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * process non-interface
 */

#include <u.h>
#include <libc.h>
#include <mach.h>

Mach *machcpu = &mach386;

void
unmapproc(Map *m)
{
	USED(m);
}

int
mapproc(int pid, Map *m, Regs **r)
{
	USED(pid);
	USED(m);
	USED(r);
	if(r)
		*r = nil;
	werrstr("mapproc not implemented");
	return -1;
}

int
detachproc(int pid)
{
	USED(pid);
	werrstr("detachproc not implemented");
	return -1;
}

int
procnotes(int pid, char ***notes)
{
	USED(pid);
	USED(notes);
	werrstr("procnotes not implemented");
	return -1;
}

int
ctlproc(int pid, char *msg)
{
	USED(pid);
	USED(msg);
	werrstr("ctlproc not implemented");
	return -1;
}

char*
proctextfile(int pid)
{
	USED(pid);
	werrstr("proctextfile not implemented");
	return nil;
}