remove vm_yield_block_get_block leftovers.

This commit is contained in:
Qi Yong 2013-06-01 20:51:31 +08:00
parent 4f3b015903
commit c50a22578e
2 changed files with 0 additions and 13 deletions

View 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

View 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;