SCM Repositories - netbsd-soc

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 10:11:08 2007 UTC (19 months, 3 weeks ago) by pcahyna
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +53 -4 lines
Diff to previous 1.18
make functions which are used to replace inline code static inline, to keep the
performance characteristics of current code.

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 21:10:49 2007 UTC (19 months, 4 weeks ago) by pcahyna
Branch: MAIN
Changes since 1.17: +10 -10 lines
Diff to previous 1.17
resolve conflicts, kill remaining caddr_t.

Revision 1.1.1.4 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Thu Apr 5 20:44:13 2007 UTC (19 months, 4 weeks ago) by pcahyna
Branch: NetBSD, NetBSD-PCahyna
CVS Tags: NetBSD-20070310, NetBSD-20070405
Changes since 1.1.1.3: +10 -10 lines
Diff to previous 1.1.1.3 , to next main 1.19
new NetBSD sources, after the caddr_t removal.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 20:36:48 2007 UTC (19 months, 4 weeks ago) by pcahyna
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
resolve conflicts from boolean_t changes.

Revision 1.1.1.3 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Thu Apr 5 20:30:21 2007 UTC (19 months, 4 weeks ago) by pcahyna
Branch: NetBSD, NetBSD-PCahyna
CVS Tags: NetBSD-20070228
Changes since 1.1.1.2: +3 -3 lines
Diff to previous 1.1.1.2
new NetBSD sources, after the boolean_t changes.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Feb 17 17:05:29 2007 UTC (21 months, 2 weeks ago) by pcahyna
Branch: MAIN
Changes since 1.15: +60 -2 lines
Diff to previous 1.15
resolve conflicts.

Revision 1.1.1.2 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Sat Feb 17 16:49:16 2007 UTC (21 months, 2 weeks ago) by pcahyna
Branch: NetBSD, NetBSD-PCahyna
CVS Tags: NetBSD-20070217
Changes since 1.1.1.1: +61 -8 lines
Diff to previous 1.1.1.1
new NetBSD sources

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 10:08:21 2006 UTC (23 months, 4 weeks ago) by pcahyna
Branch: MAIN
Changes since 1.14: +7 -7 lines
Diff to previous 1.14
Swap the 2nd and 3rd argument of mptr* and m_datarange*,
to be consistent with other mbuf functions
which accept "off and "len" arguments.
Thanks to Xrefactory, http://xref-tech.com

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Aug 19 22:25:52 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
add forgotten parentheses around macro argument.

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Aug 18 19:29:31 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.12: +8 -0 lines
Diff to previous 1.12
In m_move_pkthdr, dont't forget to update m_contig after the packet header
has been removed. Extract a common macro M_CLEAR_PKTHDR for this.

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Aug 18 13:45:33 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
more verbose panic message.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 10:24:52 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.10: +7 -1 lines
Diff to previous 1.10
move the debugging check for consistent m_pkthdr.len to m_length.

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Aug 9 13:22:38 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.9: +6 -51 lines
Diff to previous 1.9
Move the new inline functions from mbuf.h to uipc_mbuf.c for easier
debugging.

Correct operator in the flags-manipulating macros.

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Aug 9 10:27:28 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
forgot a semicolon

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Aug 9 10:03:19 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.7: +5 -3 lines
Diff to previous 1.7
add a fourth "flags" argument to the mptr and mptr_rw macros, with the
same values as for m_datarange. mptr_pullup now becomes
mptr(..., MP_PULLUP).

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 8 15:24:16 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.6: +5 -2 lines
Diff to previous 1.6
use M_ADJSTART in M_PREPEND, and reset m_contig at more places.

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 8 15:12:34 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.5: +44 -0 lines
Diff to previous 1.5
Add a m_contig member to struct mbuf, which describes how much data is
guaranteed to be contiguous. Add macros to manipulate m_data and m_len,
which take care of updating m_contig. (If m_data and m_len are manipulated
directly, nothing bad happens, only it may happen that a contiguous region
is created when not necessary.)

Adapt the mbuf routines to those macros.

Adapt m_pulldown0 (the backend for mptr* and m_pulldown) to respect
m_contig.

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Aug 8 10:03:14 2006 UTC (2 years, 3 months ago) by pcahyna
Branch: MAIN
Changes since 1.4: +63 -17 lines
Diff to previous 1.4
Add m_datarange and m_datarange_rw functions, which correspond to
mptr_pullup and mptr_rw macros, but without the sizeof magic - they accept
an explicit "len" argument.

Rename some flags to the m_pulldown0 internal function and add new flags
to request blocking allocation, alignment and leading space in a newly
allocated mbuf. (The intent is to duplicate the functionality of m_copyup.)
The new functions accept those flags, too.

Change the semantics of mptr a bit - now it assumes that all the data are
in the first mbuf, even in the case ofa nonzero offset.

Revert to upstream version 1.110 of uipc_mbuf.c, this is what corresponds
to my kernel snapshot.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Jul 11 22:04:04 2006 UTC (2 years, 4 months ago) by pcahyna
Branch: MAIN
Changes since 1.3: +5 -6 lines
Diff to previous 1.3
delete an incorrect optimization.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Jul 2 10:28:56 2006 UTC (2 years, 5 months ago) by pcahyna
Branch: MAIN
Changes since 1.2: +39 -0 lines
Diff to previous 1.2
Introduce a mptr_pullup(struct mbuf **mp, type, int off) macro, which
returns a pointer to the data at offset off in the mbuf chain **mp, cast
to a const pointer to type, while ensuring that (sizeof type) is
contiguous.

Also introduce a mptr macro, which does not make the data contiguous, only
checks this and panic if they are not.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Jul 2 08:07:27 2006 UTC (2 years, 5 months ago) by pcahyna
Branch: MAIN
Changes since 1.1: +1 -6 lines
Diff to previous 1.1
Eliminate an unnecessary difference from the original in-kernel version.

Revision 1.1.2.1 - (view) (download) (annotate) - [select for diffs]
Sat Jul 1 21:54:15 2006 UTC (2 years, 5 months ago) by pcahyna
CVS Tags: NetBSD-20060527
Changes since 1.1: +1 -6 lines
Diff to previous 1.1 , to next main 1.19
import of the original NetBSD files, 2nd attempt.

Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Sat Jun 3 16:43:09 2006 UTC (2 years, 5 months ago) by pcahyna
Branch: NetBSD, NetBSD-PCahyna
CVS Tags: PC_20060603
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
Subset of kernel sources suitable for being compiled in userland.

Includes uipc_mbuf.c, uipc_mbuf2.c, mbuf.h and everything needed by them to
compile and being usable for userland programs (typically unit tests).

Target platform is Valgrind on Linux/i386, tested with a sample program
(not included). Could work under NetBSD/i386 too, but untested. Other
platforms will need different machine directories.

The Makefiles are for GNU Make.

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Jun 3 16:43:09 2006 UTC (2 years, 5 months ago) by pcahyna
Branch: MAIN
Branch point for: NetBSD, NetBSD-PCahyna
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by: