Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Provide vm_offset_t and vm_size_t type...



details:   https://anonhg.NetBSD.org/src/rev/f5aa45b33e48
branches:  trunk
changeset: 954102:f5aa45b33e48
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Mar 29 02:07:43 2021 +0000

description:
Provide vm_offset_t and vm_size_t typedefs - used by dtrace.

diffstat:

 sys/arch/mips/include/types.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4a92fb94a359 -r f5aa45b33e48 sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h     Mon Mar 29 01:57:09 2021 +0000
+++ b/sys/arch/mips/include/types.h     Mon Mar 29 02:07:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.74 2021/01/23 19:38:53 christos Exp $      */
+/*     $NetBSD: types.h,v 1.75 2021/03/29 02:07:43 simonb Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -98,6 +98,9 @@
 #define        PRIdVSIZE       PRId32
 #endif
 
+typedef        vaddr_t vm_offset_t;    /* deprecated (cddl/FreeBSD compat) */
+typedef        vsize_t vm_size_t;      /* deprecated (cddl/FreeBSD compat) */
+
 
 typedef int            mips_prid_t;
 /* Make sure this is signed; we need pointers to be sign-extended. */



Home | Main Index | Thread Index | Old Index