Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump Move FLAWLESSCALL from rump_dev_private.h i...
details: https://anonhg.NetBSD.org/src/rev/978612b837f8
branches: trunk
changeset: 755644:978612b837f8
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Jun 13 16:49:01 2010 +0000
description:
Move FLAWLESSCALL from rump_dev_private.h into rump_private.h
so it can be used outside of devices.
diffstat:
sys/rump/librump/rumpdev/rump_dev_private.h | 9 +--------
sys/rump/librump/rumpkern/rump_private.h | 9 ++++++++-
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (44 lines):
diff -r e85cb5c2607f -r 978612b837f8 sys/rump/librump/rumpdev/rump_dev_private.h
--- a/sys/rump/librump/rumpdev/rump_dev_private.h Sun Jun 13 15:32:00 2010 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev_private.h Sun Jun 13 16:49:01 2010 +0000
@@ -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_ */
diff -r e85cb5c2607f -r 978612b837f8 sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Sun Jun 13 15:32:00 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Sun Jun 13 16:49:01 2010 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index