Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/rump Give reader-friendly aliases to rfork ...



details:   https://anonhg.NetBSD.org/src/rev/2042e455f465
branches:  trunk
changeset: 787956:2042e455f465
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jul 16 20:17:06 2013 +0000

description:
Give reader-friendly aliases to rfork flags.

diffstat:

 sys/rump/include/rump/rump.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ab508e281e0b -r 2042e455f465 sys/rump/include/rump/rump.h
--- a/sys/rump/include/rump/rump.h      Tue Jul 16 20:00:56 2013 +0000
+++ b/sys/rump/include/rump/rump.h      Tue Jul 16 20:17:06 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.h,v 1.56 2013/04/27 15:13:11 pooka Exp $  */
+/*     $NetBSD: rump.h,v 1.57 2013/07/16 20:17:06 pooka Exp $  */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -79,6 +79,10 @@
 /* flags to rump_lwproc_rfork */
 #define RUMP_RFFDG     0x01
 #define RUMP_RFCFDG    0x02
+/* slightly-easier-to-parse aliases for the above */
+#define RUMP_RFFD_SHARE 0x00 /* lossage */
+#define RUMP_RFFD_COPY RUMP_RFFDG
+#define RUMP_RFFD_CLEAR        RUMP_RFCFDG
 
 /* rumpvfs */
 #define RUMPCN_FREECRED  0x02



Home | Main Index | Thread Index | Old Index