Deleted Added
full compact
ofw_real.c (253588) ofw_real.c (261884)
1/* $NetBSD: Locore.c,v 1.7 2000/08/20 07:04:59 tsubai Exp $ */
2
3/*-
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
52 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
53 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
54 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
55 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
1/* $NetBSD: Locore.c,v 1.7 2000/08/20 07:04:59 tsubai Exp $ */
2
3/*-
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
52 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
53 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
54 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
55 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
59__FBSDID("$FreeBSD: head/sys/powerpc/ofw/ofw_real.c 253588 2013-07-24 02:01:01Z jhibbits $");
59__FBSDID("$FreeBSD: head/sys/powerpc/ofw/ofw_real.c 261884 2014-02-14 11:18:15Z brueffer $");
60
61#include <sys/param.h>
62#include <sys/kernel.h>
63#include <sys/lock.h>
64#include <sys/mutex.h>
65#include <sys/systm.h>
66
67#include <vm/vm.h>

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

295
296/* Initialiser */
297
298static int
299ofw_real_init(ofw_t ofw, void *openfirm)
300{
301 openfirmware = (int (*)(void *))openfirm;
302
60
61#include <sys/param.h>
62#include <sys/kernel.h>
63#include <sys/lock.h>
64#include <sys/mutex.h>
65#include <sys/systm.h>
66
67#include <vm/vm.h>

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

295
296/* Initialiser */
297
298static int
299ofw_real_init(ofw_t ofw, void *openfirm)
300{
301 openfirmware = (int (*)(void *))openfirm;
302
303 mtx_init(&of_bounce_mtx, "OF Bounce Page", MTX_DEF, 0);
303 mtx_init(&of_bounce_mtx, "OF Bounce Page", NULL, MTX_DEF);
304 of_bounce_virt = NULL;
305 return (0);
306}
307
308/*
309 * Generic functions
310 */
311

--- 791 unchanged lines hidden ---
304 of_bounce_virt = NULL;
305 return (0);
306}
307
308/*
309 * Generic functions
310 */
311

--- 791 unchanged lines hidden ---