From: Ben Gras Date: Sun, 27 Sep 2009 12:37:16 +0000 (+0000) Subject: new prototypes. X-Git-Tag: v3.1.5~79 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=5715637aa2433678178edd0c7093b41f0833c934;p=minix.git new prototypes. --- diff --git a/servers/vm/proto.h b/servers/vm/proto.h index 0fd2a6d0b..98c4abd7d 100644 --- a/servers/vm/proto.h +++ b/servers/vm/proto.h @@ -102,6 +102,7 @@ _PROTOTYPE( void pt_free, (pt_t *pt) ); _PROTOTYPE( void pt_freerange, (pt_t *pt, vir_bytes lo, vir_bytes hi) ); _PROTOTYPE( int pt_writemap, (pt_t *pt, vir_bytes v, phys_bytes physaddr, size_t bytes, u32_t flags, u32_t writemapflags)); +_PROTOTYPE( int pt_checkrange, (pt_t *pt, vir_bytes v, size_t bytes, int write)); _PROTOTYPE( int pt_bind, (pt_t *pt, struct vmproc *who) ); _PROTOTYPE( void *vm_allocpage, (phys_bytes *p, int cat)); _PROTOTYPE( void pt_cycle, (void)); @@ -163,8 +164,10 @@ _PROTOTYPE(void map_sanitycheck,(char *file, int line)); /* $(ARCH)/vm.c */ _PROTOTYPE( void arch_init_vm, (struct memory mem_chunks[NR_MEMS])); _PROTOTYPE( vir_bytes, arch_map2vir(struct vmproc *vmp, vir_bytes addr)); +_PROTOTYPE( char *, arch_map2str(struct vmproc *vmp, vir_bytes addr)); _PROTOTYPE( vir_bytes, arch_vir2map(struct vmproc *vmp, vir_bytes addr)); _PROTOTYPE( vir_bytes, arch_vir2map_text(struct vmproc *vmp, vir_bytes addr)); +_PROTOTYPE( vir_bytes, arch_addrok(struct vmproc *vmp, vir_bytes addr)); /* rs.c */ _PROTOTYPE(int do_rs_set_priv, (message *m));