Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Define lwp_trapframe() macro



details:   https://anonhg.NetBSD.org/src/rev/da24d0cfdcd8
branches:  trunk
changeset: 846901:da24d0cfdcd8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Dec 03 22:03:14 2019 +0000

description:
Define lwp_trapframe() macro

diffstat:

 sys/arch/aarch64/include/frame.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b16373d13c05 -r da24d0cfdcd8 sys/arch/aarch64/include/frame.h
--- a/sys/arch/aarch64/include/frame.h  Tue Dec 03 22:02:43 2019 +0000
+++ b/sys/arch/aarch64/include/frame.h  Tue Dec 03 22:03:14 2019 +0000
@@ -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 @@
        register_t fb_reg[FB_MAX];
 };
 
+#define        lwp_trapframe(l)                ((l)->l_md.md_utf)
+
 #elif defined(__arm__)
 
 #include <arm/frame.h>



Home | Main Index | Thread Index | Old Index