summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/mem.h')
-rw-r--r--usr/src/uts/common/sys/mem.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/mem.h b/usr/src/uts/common/sys/mem.h
index d0ac1223fc..5101b3ec17 100644
--- a/usr/src/uts/common/sys/mem.h
+++ b/usr/src/uts/common/sys/mem.h
@@ -23,6 +23,10 @@
* Use is subject to license terms.
*/
+/*
+ * Copyright (c) 2015, Joyent, Inc. All rights reserved.
+ */
+
#ifndef _SYS_MEM_H
#define _SYS_MEM_H
@@ -128,6 +132,15 @@ extern pfn_t impl_obmem_pfnum(pfn_t);
extern int plat_mem_do_mmio(struct uio *, enum uio_rw);
+typedef struct mm_logentry {
+ uintptr_t mle_vaddr; /* vaddr being written to */
+ size_t mle_len; /* length of write */
+ timespec_t mle_hrestime; /* hrestime at time of write */
+ hrtime_t mle_hrtime; /* hrtime at time of write */
+ pid_t mle_pid; /* pid of writing process */
+ char mle_psargs[80]; /* psargs of writing process */
+} mm_logentry_t;
+
#endif /* _KERNEL */
#ifdef __cplusplus