Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Extract M_DATA, M_LEN, M_NEXT.



details:   https://anonhg.NetBSD.org/src/rev/0f3ca884a0be
branches:  trunk
changeset: 831999:0f3ca884a0be
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Apr 25 09:28:42 2018 +0000

description:
Extract M_DATA, M_LEN, M_NEXT.

diffstat:

 sys/arch/vax/vax/genassym.cf |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 0b51a4047993 -r 0f3ca884a0be sys/arch/vax/vax/genassym.cf
--- a/sys/arch/vax/vax/genassym.cf      Wed Apr 25 09:23:00 2018 +0000
+++ b/sys/arch/vax/vax/genassym.cf      Wed Apr 25 09:28:42 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.52 2017/05/22 16:39:41 ragge Exp $
+#      $NetBSD: genassym.cf,v 1.53 2018/04/25 09:28:42 ragge Exp $
 #
 # Copyright (c) 1997 Ludd, University of Lule}, Sweden.
 # All rights reserved.
@@ -33,6 +33,7 @@
 include        <sys/syscall.h>
 include        <sys/sched.h>
 include        <sys/device.h>
+include <sys/mbuf.h>
 
 include <uvm/uvm.h>
 
@@ -83,6 +84,11 @@
 define MEMERR          offsetof(struct cpu_dep, cpu_memerr)
 define BADADDR         offsetof(struct cpu_dep, cpu_badaddr)
 
+define M_DATA          offsetof(struct mbuf, m_data)
+define M_LEN           offsetof(struct mbuf, m_len)
+define M_NEXT          offsetof(struct mbuf, m_next)
+
+
 define KERNBASE        KERNBASE
 
 ifdef MULTIPROCESSOR



Home | Main Index | Thread Index | Old Index