Remove VM_VFS_REPLY from VM_BASIC_CALLS
Change-Id: I0a03f1c95fd7ef87cecb01a028f59696a8447738
This commit is contained in:
		
							parent
							
								
									78d707cd26
								
							
						
					
					
						commit
						8e87bd84b4
					
				@ -735,6 +735,7 @@ struct
 | 
			
		||||
	{ "MAPCACHEPAGE",	VM_MAPCACHEPAGE },
 | 
			
		||||
	{ "SETCACHEPAGE",	VM_SETCACHEPAGE },
 | 
			
		||||
	{ "VFS_MMAP",		VM_VFS_MMAP },
 | 
			
		||||
	{ "VFS_REPLY",		VM_VFS_REPLY },
 | 
			
		||||
	{ NULL,			0 },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -95,7 +95,9 @@ service vfs
 | 
			
		||||
		MEMSET
 | 
			
		||||
		;
 | 
			
		||||
	vm	PROCCTL
 | 
			
		||||
		VFS_MMAP;
 | 
			
		||||
		VFS_MMAP
 | 
			
		||||
		VFS_REPLY
 | 
			
		||||
		;
 | 
			
		||||
	io	NONE;		# No I/O range allowed
 | 
			
		||||
	irq	NONE;		# No IRQ allowed
 | 
			
		||||
	sigmgr          rs;	# Signal manager is RS
 | 
			
		||||
 | 
			
		||||
@ -1096,8 +1096,7 @@
 | 
			
		||||
 | 
			
		||||
/* Basic vm calls allowed to every process. */
 | 
			
		||||
#define VM_BASIC_CALLS \
 | 
			
		||||
    VM_MMAP, VM_VFS_REPLY, VM_MUNMAP, VM_MAP_PHYS, VM_UNMAP_PHYS, \
 | 
			
		||||
    VM_INFO, VM_GETRUSAGE
 | 
			
		||||
    VM_MMAP, VM_MUNMAP, VM_MAP_PHYS, VM_UNMAP_PHYS, VM_INFO, VM_GETRUSAGE
 | 
			
		||||
 | 
			
		||||
/*===========================================================================*
 | 
			
		||||
 *                Messages for IPC server				     *
 | 
			
		||||
 | 
			
		||||
@ -115,8 +115,6 @@ int do_vfs_reply(message *m)
 | 
			
		||||
	void *cbarg;
 | 
			
		||||
	int n;
 | 
			
		||||
	struct vmproc *vmp;
 | 
			
		||||
	if(m->m_source != VFS_PROC_NR)
 | 
			
		||||
		return ENOSYS;
 | 
			
		||||
 | 
			
		||||
	assert(active);
 | 
			
		||||
	assert(active->req_id == m->VMV_REQID);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user