]> Zhao Yanbai Git Server - minix.git/commitdiff
Extra calls to PM for I/O MMUs.
authorPhilip Homburg <philip@cs.vu.nl>
Thu, 21 Feb 2008 15:51:27 +0000 (15:51 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Thu, 21 Feb 2008 15:51:27 +0000 (15:51 +0000)
include/minix/callnr.h

index f82e1d3efa24302d79496662b5bf20b9266cb446..92b5fb3bb23e6e45ec0d99113ad0fe963b18dcb7 100755 (executable)
@@ -1,4 +1,4 @@
-#define NCALLS          100    /* number of system calls allowed */
+#define NCALLS          111    /* number of system calls allowed */
 
 #define EXIT              1 
 #define FORK              2 
 #define FREEMEM                106     /* to PM, not used, not implemented */
 #endif
 #define GETPUID                107     /* to PM: get the uid of a process (endpoint) */
+#define ADDDMA         108     /* to PM: inform PM about a region of memory
+                                * that is used for bus-master DMA
+                                */
+#define DELDMA         109     /* to PM: inform PM that a region of memory
+                                * that is no longer used for bus-master DMA
+                                */
+#define GETDMA         110     /* to PM: ask PM for a region of memory
+                                * that should not be used for bus-master DMA
+                                * any longer
+                                */
 
 #define DEVCTL         120     /* to FS, map or unmap a device */
 #define TASK_REPLY     121     /* to FS: reply code from drivers, not