Module Name:    src
Committed By:   uebayasi
Date:           Sun Mar 18 13:31:15 UTC 2012

Modified Files:
        src/sys/uvm: uvm_extern.h uvm_param.h

Log Message:
Move base type definitions from uvm_extern.h to uvm_param.h so that
other sources can easily include part of UVM headers without the whole
uvm_extern.h (e.g. sys/vnode.h wants only uvm_object.h).


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.29 -r1.30 src/sys/uvm/uvm_param.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/uvm/uvm_extern.h
diff -u src/sys/uvm/uvm_extern.h:1.181 src/sys/uvm/uvm_extern.h:1.182
--- src/sys/uvm/uvm_extern.h:1.181	Thu Feb  2 18:59:45 2012
+++ src/sys/uvm/uvm_extern.h	Sun Mar 18 13:31:14 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_extern.h,v 1.181 2012/02/02 18:59:45 para Exp $	*/
+/*	$NetBSD: uvm_extern.h,v 1.182 2012/03/18 13:31:14 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -73,16 +73,6 @@
  */
 
 /*
- * typedefs, necessary for standard UVM headers.
- */
-
-typedef unsigned int uvm_flag_t;
-
-typedef int vm_inherit_t;	/* XXX: inheritance codes */
-typedef off_t voff_t;		/* XXX: offset within a uvm_object */
-typedef voff_t pgoff_t;		/* XXX: number of pages within a uvm object */
-
-/*
  * defines
  */
 

Index: src/sys/uvm/uvm_param.h
diff -u src/sys/uvm/uvm_param.h:1.29 src/sys/uvm/uvm_param.h:1.30
--- src/sys/uvm/uvm_param.h:1.29	Mon Feb 27 01:39:58 2012
+++ src/sys/uvm/uvm_param.h	Sun Mar 18 13:31:15 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_param.h,v 1.29 2012/02/27 01:39:58 he Exp $	*/
+/*	$NetBSD: uvm_param.h,v 1.30 2012/03/18 13:31:15 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -249,6 +249,16 @@ extern const int *const uvmexp_pageshift
 # endif /* VM_DEFAULT_ADDRESS */
 #endif /* !__USING_TOPDOWN_VM */
 
+/*
+ * typedefs, necessary for standard UVM headers.
+ */
+
+typedef unsigned int uvm_flag_t;
+
+typedef int vm_inherit_t;	/* XXX: inheritance codes */
+typedef off_t voff_t;		/* XXX: offset within a uvm_object */
+typedef voff_t pgoff_t;		/* XXX: number of pages within a uvm object */
+
 extern int		ubc_nwins;	/* number of UBC mapping windows */
 extern int		ubc_winshift;	/* shift for a UBC mapping window */
 extern u_int		uvm_emap_size;	/* size of emap */

Reply via email to