diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-10 19:42:49 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-10 19:42:49 +0200 |
commit | e1ed372bc7e259f1371f7a4acb233f1000f772ff (patch) | |
tree | 4a9fdb234124279abf29c853dfbc539b6be3822f /mach-defpager/wiring.h | |
parent | 3b13c9e15e84e6a84c4c5b8a376cb4b5528b475c (diff) | |
parent | 24e69476683fd8e2cebf326b791683cbc855d88a (diff) |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd
Diffstat (limited to 'mach-defpager/wiring.h')
-rw-r--r-- | mach-defpager/wiring.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mach-defpager/wiring.h b/mach-defpager/wiring.h new file mode 100644 index 00000000..b5f8e53f --- /dev/null +++ b/mach-defpager/wiring.h @@ -0,0 +1,35 @@ +/* + * Mach Operating System + * Copyright (c) 1991 Carnegie Mellon University + * All Rights Reserved. + * + * Permission to use, copy, modify and distribute this software and its + * documentation is hereby granted, provided that both the copyright + * notice and this permission notice appear in all copies of the + * software, derivative works or modified versions, and any portions + * thereof, and that both notices appear in supporting documentation. + * + * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS + * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR + * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. + * + * Carnegie Mellon requests users of this software to return to + * + * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU + * School of Computer Science + * Carnegie Mellon University + * Pittsburgh PA 15213-3890 + * + * any improvements or extensions that they make and grant Carnegie Mellon the + * rights to redistribute these changes. + */ +/* + * Package to wire current task's memory. + */ +#include <mach.h> +#include <mach_init.h> + +extern void wire_setup(/* mach_port_t host_priv */); +extern void wire_memory(/* vm_address_t, vm_size_t, vm_prot_t */); +extern void wire_thread(); +extern void wire_all_memory(); |