Module Name: src
Committed By: pooka
Date: Sun Jun 13 16:49:01 UTC 2010
Modified Files:
src/sys/rump/librump/rumpdev: rump_dev_private.h
src/sys/rump/librump/rumpkern: rump_private.h
Log Message:
Move FLAWLESSCALL from rump_dev_private.h into rump_private.h
so it can be used outside of devices.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/rump/librump/rumpdev/rump_dev_private.h
cvs rdiff -u -r1.52 -r1.53 src/sys/rump/librump/rumpkern/rump_private.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpdev/rump_dev_private.h
diff -u src/sys/rump/librump/rumpdev/rump_dev_private.h:1.11 src/sys/rump/librump/rumpdev/rump_dev_private.h:1.12
--- src/sys/rump/librump/rumpdev/rump_dev_private.h:1.11 Thu Mar 25 19:54:19 2010
+++ src/sys/rump/librump/rumpdev/rump_dev_private.h Sun Jun 13 16:49:01 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev_private.h,v 1.11 2010/03/25 19:54:19 pooka Exp $ */
+/* $NetBSD: rump_dev_private.h,v 1.12 2010/06/13 16:49:01 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -39,11 +39,4 @@
int maa_unit;
};
-#define FLAWLESSCALL(call) \
-do { \
- int att_error; \
- if ((att_error = call) != 0) \
- panic("\"%s\" failed", #call); \
-} while (/*CONSTCOND*/0)
-
#endif /* _SYS_RUMP_DEV_PRIVATE_H_ */
Index: src/sys/rump/librump/rumpkern/rump_private.h
diff -u src/sys/rump/librump/rumpkern/rump_private.h:1.52 src/sys/rump/librump/rumpkern/rump_private.h:1.53
--- src/sys/rump/librump/rumpkern/rump_private.h:1.52 Sat Jun 12 07:13:54 2010
+++ src/sys/rump/librump/rumpkern/rump_private.h Sun Jun 13 16:49:01 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.52 2010/06/12 07:13:54 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.53 2010/06/13 16:49:01 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -80,6 +80,13 @@
__link_set_add_rodata(rump_components, rumpcomp); \
static void rumpcompinit(void)
+#define FLAWLESSCALL(call) \
+do { \
+ int att_error; \
+ if ((att_error = call) != 0) \
+ panic("\"%s\" failed", #call); \
+} while (/*CONSTCOND*/0)
+
void rump_component_init(enum rump_component_type);
int rump_component_count(enum rump_component_type);