 878ba523ac
			
		
	
	
		878ba523ac
		
	
	
	
	
		
			
			This library includes various random and minix-specific functions included in the Minix libc. Most of them should be part of libsys, and in general it would be nice to extinguish this library over time.
		
			
				
	
	
		
			21 lines
		
	
	
		
			278 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			278 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* deldma.c 
 | |
|  */
 | |
| 
 | |
| #include <lib.h>
 | |
| #include <unistd.h>
 | |
| #include <stdarg.h>
 | |
| 
 | |
| int deldma(proc_e, start, size)
 | |
| endpoint_t proc_e;
 | |
| phys_bytes start;
 | |
| phys_bytes size;
 | |
| {
 | |
|   message m;
 | |
| 
 | |
|   m.m2_i1= proc_e;
 | |
|   m.m2_l1= start;
 | |
|   m.m2_l2= size;
 | |
| 
 | |
|   return _syscall(PM_PROC_NR, DELDMA, &m);
 | |
| }
 |