Deleted Added
full compact
mmu_if.m (269485) mmu_if.m (269728)
1#-
2# Copyright (c) 2005 Peter Grehan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

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

18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
1#-
2# Copyright (c) 2005 Peter Grehan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

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

18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
26# $FreeBSD: head/sys/powerpc/powerpc/mmu_if.m 269485 2014-08-03 20:40:51Z alc $
26# $FreeBSD: head/sys/powerpc/powerpc/mmu_if.m 269728 2014-08-08 17:12:03Z kib $
27#
28
29#include <sys/param.h>
30#include <sys/lock.h>
31#include <sys/mutex.h>
32#include <sys/systm.h>
33
34#include <vm/vm.h>

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

219/**
220 * @brief Create a mapping between a virtual/physical address pair in the
221 * passed physical map with the specified protection and wiring
222 *
223 * @param _pmap physical map
224 * @param _va mapping virtual address
225 * @param _p mapping physical page
226 * @param _prot mapping page protection
27#
28
29#include <sys/param.h>
30#include <sys/lock.h>
31#include <sys/mutex.h>
32#include <sys/systm.h>
33
34#include <vm/vm.h>

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

219/**
220 * @brief Create a mapping between a virtual/physical address pair in the
221 * passed physical map with the specified protection and wiring
222 *
223 * @param _pmap physical map
224 * @param _va mapping virtual address
225 * @param _p mapping physical page
226 * @param _prot mapping page protection
227 * @param _wired TRUE if page will be wired
227 * @param _flags pmap_enter flags
228 * @param _psind superpage size index
228 */
229 */
229METHOD void enter {
230METHOD int enter {
230 mmu_t _mmu;
231 pmap_t _pmap;
232 vm_offset_t _va;
233 vm_page_t _p;
234 vm_prot_t _prot;
231 mmu_t _mmu;
232 pmap_t _pmap;
233 vm_offset_t _va;
234 vm_page_t _p;
235 vm_prot_t _prot;
235 boolean_t _wired;
236 u_int _flags;
237 int8_t _psind;
236};
237
238
239/**
240 * @brief Maps a sequence of resident pages belonging to the same object.
241 *
242 * @param _pmap physical map
243 * @param _start virtual range start

--- 705 unchanged lines hidden ---
238};
239
240
241/**
242 * @brief Maps a sequence of resident pages belonging to the same object.
243 *
244 * @param _pmap physical map
245 * @param _start virtual range start

--- 705 unchanged lines hidden ---