1 |
/* Virtual memory related system calls. |
/* Virtual memory related system calls. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@opencores.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
65 |
VM_PROT_ALL, VM_INHERIT_COPY, anywhere_p); |
VM_PROT_ALL, VM_INHERIT_COPY, anywhere_p); |
66 |
if (kr) |
if (kr) |
67 |
{ |
{ |
68 |
/* vm_object_deallocate (object); ??? */ |
vm_object_destroy (object); |
|
trace_printf ("apa"); |
|
|
|
|
69 |
return kr; |
return kr; |
70 |
} |
} |
71 |
return KERN_SUCCESS; |
return KERN_SUCCESS; |