From: David van Moolenbroek Date: Mon, 29 Sep 2014 16:05:22 +0000 (+0000) Subject: Remove obsolete MIOC(UN)MAP requests X-Git-Url: http://zhaoyanbai.com/repos/%22http:/static/doc/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F2846%2F1;p=minix.git Remove obsolete MIOC(UN)MAP requests Change-Id: I915ac759bc80a50aad21c12f088ad6c345a42986 --- diff --git a/minix/include/sys/ioc_memory.h b/minix/include/sys/ioc_memory.h index 94c561c02..f025a55bb 100644 --- a/minix/include/sys/ioc_memory.h +++ b/minix/include/sys/ioc_memory.h @@ -10,7 +10,5 @@ #include #define MIOCRAMSIZE _IOW('m', 3, u32_t) -#define MIOCMAP _IOW('m', 4, struct mapreq) -#define MIOCUNMAP _IOW('m', 5, struct mapreq) #endif /* _S_I_MEMORY_H */ diff --git a/minix/include/sys/vm.h b/minix/include/sys/vm.h index c211a2f2e..8cc23bf0a 100644 --- a/minix/include/sys/vm.h +++ b/minix/include/sys/vm.h @@ -5,15 +5,6 @@ sys/vm.h */ -/* MIOCMAP */ -struct mapreq -{ - void *base; - size_t size; - off_t offset; - int readonly; -}; - /* used in ioctl to tty for mapvm map and unmap request. */ struct mapreqvm {