Deleted Added
full compact
mem.4 (53200) mem.4 (57676)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mem.4 5.3 (Berkeley) 5/2/91
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)mem.4 5.3 (Berkeley) 5/2/91
33.\" $FreeBSD: head/share/man/man4/mem.4 53200 1999-11-15 23:14:32Z phantom $
33.\" $FreeBSD: head/share/man/man4/mem.4 57676 2000-03-01 14:50:24Z sheldonh $
34.\"
35.Dd May 2, 1991
36.Dt MEM 4
37.Os
38.Sh NAME
39.Nm mem ,
40.Nm kmem
41.Nd memory files

--- 87 unchanged lines hidden (view full) ---

129.Fa struct mem_range_op :
130.Bd -literal -offset indent
131struct mem_range_desc *mo_desc;
132int mo_arg[2];
133.Ed
134.Pp
135The
136.Fa MEMRANGE_GET
34.\"
35.Dd May 2, 1991
36.Dt MEM 4
37.Os
38.Sh NAME
39.Nm mem ,
40.Nm kmem
41.Nd memory files

--- 87 unchanged lines hidden (view full) ---

129.Fa struct mem_range_op :
130.Bd -literal -offset indent
131struct mem_range_desc *mo_desc;
132int mo_arg[2];
133.Ed
134.Pp
135The
136.Fa MEMRANGE_GET
137ioctl is used to retrieve current memory range attributes. If
137ioctl is used to retrieve current memory range attributes.
138If
138.Fa mo_arg[0]
139is set to 0, it will be updated with the total number of memory range
140descriptors. If greater than 0, the array at
141.Fa mo_desc
142will be filled with a corresponding number of descriptor structures,
143or the maximum, whichever is less.
144.Pp
145The

--- 48 unchanged lines hidden ---
139.Fa mo_arg[0]
140is set to 0, it will be updated with the total number of memory range
141descriptors. If greater than 0, the array at
142.Fa mo_desc
143will be filled with a corresponding number of descriptor structures,
144or the maximum, whichever is less.
145.Pp
146The

--- 48 unchanged lines hidden ---