Module Name: src
Committed By: uebayasi
Date: Thu Feb 11 05:20:28 UTC 2010
Modified Files:
src/sys/sys [uebayasi-xip]: fstypes.h mount.h vnode.h
Log Message:
XIP glues in struct mount and struct vnode.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.26.14.1 src/sys/sys/fstypes.h
cvs rdiff -u -r1.195 -r1.195.2.1 src/sys/sys/mount.h
cvs rdiff -u -r1.213 -r1.213.2.1 src/sys/sys/vnode.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/sys/fstypes.h
diff -u src/sys/sys/fstypes.h:1.26 src/sys/sys/fstypes.h:1.26.14.1
--- src/sys/sys/fstypes.h:1.26 Wed Sep 3 23:43:06 2008
+++ src/sys/sys/fstypes.h Thu Feb 11 05:20:28 2010
@@ -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" \
Index: src/sys/sys/mount.h
diff -u src/sys/sys/mount.h:1.195 src/sys/sys/mount.h:1.195.2.1
--- src/sys/sys/mount.h:1.195 Sat Dec 5 20:11:18 2009
+++ src/sys/sys/mount.h Thu Feb 11 05:20:28 2010
@@ -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 */
};
/*
Index: src/sys/sys/vnode.h
diff -u src/sys/sys/vnode.h:1.213 src/sys/sys/vnode.h:1.213.2.1
--- src/sys/sys/vnode.h:1.213 Wed Jan 27 15:34:08 2010
+++ src/sys/sys/vnode.h Thu Feb 11 05:20:28 2010
@@ -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.