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/0047ef4d8359
branches:  trunk
changeset: 1005302:0047ef4d8359
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 0a4bc0c9b6f5 -r 0047ef4d8359 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