Module Name: src
Committed By: simonb
Date: Mon Mar 29 02:07:43 UTC 2021
Modified Files:
src/sys/arch/mips/include: types.h
Log Message:
Provide vm_offset_t and vm_size_t typedefs - used by dtrace.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/mips/include/types.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/arch/mips/include/types.h
diff -u src/sys/arch/mips/include/types.h:1.74 src/sys/arch/mips/include/types.h:1.75
--- src/sys/arch/mips/include/types.h:1.74 Sat Jan 23 19:38:53 2021
+++ src/sys/arch/mips/include/types.h Mon Mar 29 02:07:43 2021
@@ -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 @@ typedef __uint32_t vsize_t;
#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. */