Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Properly translate struct swapent for CO...
details: https://anonhg.NetBSD.org/src/rev/d313388fd744
branches: trunk
changeset: 326569:d313388fd744
user: manu <manu%NetBSD.org@localhost>
date: Mon Feb 03 17:03:16 2014 +0000
description:
Properly translate struct swapent for COMPAT_NETBSD32 (missing commit)
diffstat:
sys/compat/netbsd32/netbsd32.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r a57cdb71e9ab -r d313388fd744 sys/compat/netbsd32/netbsd32.h
--- a/sys/compat/netbsd32/netbsd32.h Mon Feb 03 15:51:01 2014 +0000
+++ b/sys/compat/netbsd32/netbsd32.h Mon Feb 03 17:03:16 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32.h,v 1.98 2014/01/24 22:10:47 christos Exp $ */
+/* $NetBSD: netbsd32.h,v 1.99 2014/02/03 17:03:16 manu Exp $ */
/*
* Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -384,6 +384,16 @@
netbsd32_long fscale;
};
+/* from <sys/swap.h> */
+struct netbsd32_swapent {
+ netbsd32_dev_t se_dev; /* device id */
+ int se_flags; /* flags */
+ int se_nblks; /* total blocks */
+ int se_inuse; /* blocks in use */
+ int se_priority; /* priority of this device */
+ char se_path[PATH_MAX+1]; /* path name */
+};
+
/* from <sys/ipc.h> */
typedef netbsd32_pointer_t netbsd32_ipc_permp_t;
struct netbsd32_ipc_perm {
Home |
Main Index |
Thread Index |
Old Index