Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/sys XIP glues in struct mount and struct vnode.
details: https://anonhg.NetBSD.org/src/rev/ff91712c3375
branches: uebayasi-xip
changeset: 751565:ff91712c3375
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Feb 11 05:20:28 2010 +0000
description:
XIP glues in struct mount and struct vnode.
diffstat:
sys/sys/fstypes.h | 4 +++-
sys/sys/mount.h | 4 +++-
sys/sys/vnode.h | 3 ++-
3 files changed, 8 insertions(+), 3 deletions(-)
diffs (60 lines):
diff -r b932c85adb3f -r ff91712c3375 sys/sys/fstypes.h
--- a/sys/sys/fstypes.h Thu Feb 11 05:19:35 2010 +0000
+++ b/sys/sys/fstypes.h Thu Feb 11 05:20:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fstypes.h,v 1.26 2008/09/03 23:43:06 gmcgarry Exp $ */
+/* $NetBSD: fstypes.h,v 1.26.14.1 2010/02/11 05:20:28 uebayasi Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -210,6 +210,7 @@
#define IMNT_DTYPE 0x00000040 /* returns d_type fields */
#define IMNT_HAS_TRANS 0x00000080 /* supports transactions */
#define IMNT_MPSAFE 0x00000100 /* file system code MP safe */
+#define IMNT_XIP 0x00000200 /* eXecute In Place */
#define __MNT_FLAGS \
__MNT_BASIC_FLAGS \
@@ -254,6 +255,7 @@
#define __IMNT_FLAG_BITS \
"\20" \
+ "\30IMNT_XIP" \
"\20IMNT_MPSAFE" \
"\10IMNT_HAS_TRANS" \
"\07IMNT_DTYPE" \
diff -r b932c85adb3f -r ff91712c3375 sys/sys/mount.h
--- a/sys/sys/mount.h Thu Feb 11 05:19:35 2010 +0000
+++ b/sys/sys/mount.h Thu Feb 11 05:20:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.h,v 1.195 2009/12/05 20:11:18 pooka Exp $ */
+/* $NetBSD: mount.h,v 1.195.2.1 2010/02/11 05:20:28 uebayasi Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -128,6 +128,8 @@
struct wapbl_replay
*mnt_wapbl_replay; /* replay support XXX: what? */
uint64_t mnt_gen;
+
+ paddr_t mnt_phys_addr; /* XIP */
};
/*
diff -r b932c85adb3f -r ff91712c3375 sys/sys/vnode.h
--- a/sys/sys/vnode.h Thu Feb 11 05:19:35 2010 +0000
+++ b/sys/sys/vnode.h Thu Feb 11 05:20:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode.h,v 1.213 2010/01/27 15:34:08 uebayasi Exp $ */
+/* $NetBSD: vnode.h,v 1.213.2.1 2010/02/11 05:20:28 uebayasi Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -216,6 +216,7 @@
#define VV_MAPPED 0x00000008 /* vnode might have user mappings */
#define VV_MPSAFE 0x00000010 /* file system code is MP safe */
#define VV_LOCKSWORK 0x00000020 /* FS supports locking discipline */
+#define VV_XIP 0x00000040 /* device supports XIP */
/*
* The second set are locked by vp->v_interlock.
Home |
Main Index |
Thread Index |
Old Index