]> Zhao Yanbai Git Server - minix.git/commitdiff
Added adddma/deldma/getdma.
authorPhilip Homburg <philip@cs.vu.nl>
Thu, 21 Feb 2008 15:58:55 +0000 (15:58 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Thu, 21 Feb 2008 15:58:55 +0000 (15:58 +0000)
include/unistd.h

index 6db28e80fe513fe581c31789cea160914f4ea3a1..d86bdf1d642adcf7fde63a52094026fa5307ac07 100755 (executable)
@@ -201,6 +201,12 @@ _PROTOTYPE( int devctl, (int ctl_req, int driver, int device, int style,
 _PROTOTYPE( int mapdriver5, (char *label, size_t len, int major,
        int style, int force)                                           );
 _PROTOTYPE( uid_t getpeuid, (endpoint_t ep)                            );
+_PROTOTYPE(int adddma, (endpoint_t proc_e,
+                               phys_bytes start, phys_bytes size)      );
+_PROTOTYPE(int deldma, (endpoint_t proc_e,
+                               phys_bytes start, phys_bytes size)      );
+_PROTOTYPE(int getdma, (endpoint_t *procp, phys_bytes *basep, 
+                                               phys_bytes *sizep)      );
 
 /* For compatibility with other Unix systems */
 _PROTOTYPE( int getpagesize, (void)                                    );