Deleted Added
full compact
openfirm.h (91108) openfirm.h (100318)
1/* $NetBSD: openfirm.h,v 1.1 1998/05/15 10:16:00 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

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

49 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
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 *
1/* $NetBSD: openfirm.h,v 1.1 1998/05/15 10:16:00 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

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

49 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
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 * $FreeBSD: head/sys/boot/ofw/libofw/openfirm.h 91108 2002-02-23 03:36:04Z jake $
57 * $FreeBSD: head/sys/boot/ofw/libofw/openfirm.h 100318 2002-07-18 12:39:02Z benno $
58 */
59#ifndef _OPENFIRM_H_
60#define _OPENFIRM_H_
61/*
62 * Prototypes for Openfirmware Interface Routines
63 */
64
65#include <sys/cdefs.h>
66#include <sys/types.h>
67
68typedef unsigned int ihandle_t;
69typedef unsigned int phandle_t;
70typedef unsigned long int cell_t;
71
72extern int (*openfirmware)(void *);
73extern phandle_t chosen;
58 */
59#ifndef _OPENFIRM_H_
60#define _OPENFIRM_H_
61/*
62 * Prototypes for Openfirmware Interface Routines
63 */
64
65#include <sys/cdefs.h>
66#include <sys/types.h>
67
68typedef unsigned int ihandle_t;
69typedef unsigned int phandle_t;
70typedef unsigned long int cell_t;
71
72extern int (*openfirmware)(void *);
73extern phandle_t chosen;
74extern ihandle_t memory, mmu;
74
75/*
76 * This isn't actually an OpenFirmware function, but it seemed like the right
77 * place for it to go.
78 */
79void OF_init(int (*openfirm)(void *));
80
81/* Generic functions */

--- 47 unchanged lines hidden ---
75
76/*
77 * This isn't actually an OpenFirmware function, but it seemed like the right
78 * place for it to go.
79 */
80void OF_init(int (*openfirm)(void *));
81
82/* Generic functions */

--- 47 unchanged lines hidden ---