]> Zhao Yanbai Git Server - minix.git/commitdiff
Added prototype for mapdriver5 (from RS to VFS, report the name of a driver
authorPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 11:59:02 +0000 (11:59 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 11:59:02 +0000 (11:59 +0000)
instead of its endpoint).

include/unistd.h

index 3e43c2f1a363f142c2684b0042cda10c23050ef6..6db28e80fe513fe581c31789cea160914f4ea3a1 100755 (executable)
@@ -198,6 +198,8 @@ _PROTOTYPE( int freemem, (phys_bytes size, phys_bytes base)         );
 #define unmapdriver(device) devctl(DEV_UNMAP, 0, device, 0)
 _PROTOTYPE( int devctl, (int ctl_req, int driver, int device, int style, 
        int force)                                                      );
+_PROTOTYPE( int mapdriver5, (char *label, size_t len, int major,
+       int style, int force)                                           );
 _PROTOTYPE( uid_t getpeuid, (endpoint_t ep)                            );
 
 /* For compatibility with other Unix systems */