Module Name: src
Committed By: haad
Date: Sat Dec 5 11:44:56 UTC 2009
Modified Files:
src/share/examples/rump/dmtest: dmt.c
Log Message:
Include public interface describing user-kernel interface from include/dev/dm.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/examples/rump/dmtest/dmt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/rump/dmtest/dmt.c
diff -u src/share/examples/rump/dmtest/dmt.c:1.2 src/share/examples/rump/dmtest/dmt.c:1.3
--- src/share/examples/rump/dmtest/dmt.c:1.2 Sat Dec 5 10:38:27 2009
+++ src/share/examples/rump/dmtest/dmt.c Sat Dec 5 11:44:56 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: dmt.c,v 1.2 2009/12/05 10:38:27 haad Exp $
+/* $NetBSD: dmt.c,v 1.3 2009/12/05 11:44:56 haad Exp $
/*
* Copyright (c) 2009 Adam Hamsik. All Rights Reserved.
@@ -46,14 +46,7 @@
#include <rump/rump.h>
#include <rump/rump_syscalls.h>
-/* NetBSD-dm.h part */
-#include <prop/proplib.h>
-
-#define DM_CMD_LEN 16
-#define DM_IOCTL 0xfd
-#define DM_IOCTL_CMD 0
-#define NETBSD_DM_IOCTL _IOWR(DM_IOCTL, DM_IOCTL_CMD, struct plistref)
-
+#include <dev/dm/netbsd-dm.h>
int
main(int argc, char *argv[])