Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Add some useful mbuf fields.
details: https://anonhg.NetBSD.org/src/rev/bbcda529b755
branches: trunk
changeset: 513689:bbcda529b755
user: eeh <eeh%NetBSD.org@localhost>
date: Wed Aug 08 00:09:30 2001 +0000
description:
Add some useful mbuf fields.
diffstat:
sys/arch/sparc64/sparc64/genassym.c | 7 ++++++-
sys/arch/sparc64/sparc64/genassym.cf | 9 +++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 6de52b50bfc5 -r bbcda529b755 sys/arch/sparc64/sparc64/genassym.c
--- a/sys/arch/sparc64/sparc64/genassym.c Tue Aug 07 22:56:09 2001 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.c Wed Aug 08 00:09:30 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genassym.c,v 1.19 2000/08/01 00:31:15 eeh Exp $ */
+/* $NetBSD: genassym.c,v 1.20 2001/08/08 00:09:30 eeh Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -237,6 +237,11 @@
off("NO_NEXTNODE", struct nodeops, no_nextnode);
off("NO_GETPROP", struct nodeops, no_getprop);
+ /* mbuf fields of import */
+ off("M_NEXT", struct mbuf, m_next);
+ off("M_DATA", struct mbuf, m_data);
+ off("M_LEN", struct mbuf, m_len);
+
/* floppy trap handler fields */
off("FDC_REG_MSR", struct fdcio, fdcio_reg_msr);
off("FDC_REG_FIFO", struct fdcio, fdcio_reg_fifo);
diff -r 6de52b50bfc5 -r bbcda529b755 sys/arch/sparc64/sparc64/genassym.cf
--- a/sys/arch/sparc64/sparc64/genassym.cf Tue Aug 07 22:56:09 2001 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.cf Wed Aug 08 00:09:30 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.22 2000/08/01 00:31:16 eeh Exp $
+# $NetBSD: genassym.cf,v 1.23 2001/08/08 00:09:30 eeh Exp $
#
# Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -226,7 +226,7 @@
define CF_FP offsetof(struct clockframe, fp)
endif
-# interrupt handler fields */
+# interrupt handler fields
define IH_FUN offsetof(struct intrhand, ih_fun)
define IH_ARG offsetof(struct intrhand, ih_arg)
define IH_NUMBER offsetof(struct intrhand, ih_number)
@@ -236,6 +236,11 @@
define IH_MAP offsetof(struct intrhand, ih_map)
define IH_CLR offsetof(struct intrhand, ih_clr)
+# mbuf fields of import
+define M_NEXT offsetof(struct mbuf, m_next)
+define M_DATA offsetof(struct mbuf, m_data)
+define M_LEN offsetof(struct mbuf, m_len)
+
# floppy trap handler fields
define FDC_REG_MSR offsetof(struct fdcio, fdcio_reg_msr)
define FDC_REG_FIFO offsetof(struct fdcio, fdcio_reg_fifo)
Home |
Main Index |
Thread Index |
Old Index