]> Zhao Yanbai Git Server - minix.git/commitdiff
remove vm_yield_block_get_block leftovers. 15/615/1
authorQi Yong <qiyong@fc-cn.com>
Sat, 1 Jun 2013 12:51:31 +0000 (20:51 +0800)
committerQi Yong <qiyong@fc-cn.com>
Sat, 1 Jun 2013 12:51:31 +0000 (20:51 +0800)
include/minix/vm.h
test/test72.c

index 6ed245e082f753703bfe95177f24b7c3f83c9b15..914c01925f1d6e639588aa65c5c411a78bc6a27e 100644 (file)
@@ -24,8 +24,6 @@ int vm_query_exit(endpoint_t *endpt);
 int vm_watch_exit(endpoint_t ep);
 int vm_forgetblock(u64_t id);
 void vm_forgetblocks(void);
-int vm_yield_block_get_block(u64_t yieldid, u64_t getid, void *mem,
-       vir_bytes len);
 int minix_vfs_mmap(endpoint_t who, u32_t offset, u32_t len,
         u32_t dev, u32_t ino, u16_t fd, u32_t vaddr, u16_t clearend, u16_t
        flags);
@@ -35,11 +33,6 @@ int minix_vfs_mmap(endpoint_t who, u32_t offset, u32_t len,
 #define MVM_FLAGSMASK  0xF000
 #define MVM_WRITABLE   0x8000
 
-/* Invalid ID with special meaning for the vm_yield_block_get_block
- * interface.
- */
-#define VM_BLOCKID_NONE make64(ULONG_MAX, ULONG_MAX)
-
 /* VM kernel request types. */
 #define VMPTYPE_NONE           0
 #define VMPTYPE_CHECK          1
index a25d1e6a14ac57bc0d1009f2dfe6bd2f8339f28d..c8703733282944abe7dc36324ef5426f4b57be68 100644 (file)
@@ -229,12 +229,6 @@ int vm_forgetblock(u64_t id)
        return ENOSYS;
 }
 
-int vm_yield_block_get_block(u64_t yieldid, u64_t getid, void *mem,
-        vir_bytes len)
-{
-       return ENOSYS;
-}
-
 void vm_forgetblocks(void)
 {
        return;