rc.d/diskless - Fix check for devfs
[dragonfly.git] / lib / libcaps / i386 / sendsys.h
blob2bc829309df9ffbfe359976085ff1beb824233bd
1 /*
2 * $DragonFly: src/lib/libcaps/i386/sendsys.h,v 1.1 2003/12/04 22:06:22 dillon Exp $
3 */
4 #ifndef _SENDSYS_H_
5 #define _SENDSYS_H_
7 static __inline
8 int
9 sendsys(struct lwkt_port *port, void *msg, int msgsize)
11 int error;
12 __asm __volatile("int $0x81" : "=a"(error), "=c"(msg), "=d"(msgsize) : "0"(port), "1"(msg), "2"(msgsize) : "memory");
13 return(error);
16 #endif /* _SENDSYS_H_ */