Module Name: src
Committed By: jmcneill
Date: Tue Dec 3 22:03:14 UTC 2019
Modified Files:
src/sys/arch/aarch64/include: frame.h
Log Message:
Define lwp_trapframe() macro
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/frame.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/aarch64/include/frame.h
diff -u src/sys/arch/aarch64/include/frame.h:1.2 src/sys/arch/aarch64/include/frame.h:1.3
--- src/sys/arch/aarch64/include/frame.h:1.2 Sun Apr 1 04:35:03 2018
+++ src/sys/arch/aarch64/include/frame.h Tue Dec 3 22:03:14 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: frame.h,v 1.2 2018/04/01 04:35:03 ryo Exp $ */
+/* $NetBSD: frame.h,v 1.3 2019/12/03 22:03:14 jmcneill Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -72,6 +72,8 @@ struct faultbuf {
register_t fb_reg[FB_MAX];
};
+#define lwp_trapframe(l) ((l)->l_md.md_utf)
+
#elif defined(__arm__)
#include <arm/frame.h>