1cb34ed44SMarcel Moolenaar /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3ebf5747bSPedro F. Giffuni * 4cb34ed44SMarcel Moolenaar * Copyright (c) 2013 Juniper Networks, Inc. 5cb34ed44SMarcel Moolenaar * All rights reserved. 6cb34ed44SMarcel Moolenaar * 7cb34ed44SMarcel Moolenaar * Redistribution and use in source and binary forms, with or without 8cb34ed44SMarcel Moolenaar * modification, are permitted provided that the following conditions 9cb34ed44SMarcel Moolenaar * are met: 10cb34ed44SMarcel Moolenaar * 1. Redistributions of source code must retain the above copyright 11cb34ed44SMarcel Moolenaar * notice, this list of conditions and the following disclaimer. 12cb34ed44SMarcel Moolenaar * 2. Redistributions in binary form must reproduce the above copyright 13cb34ed44SMarcel Moolenaar * notice, this list of conditions and the following disclaimer in the 14cb34ed44SMarcel Moolenaar * documentation and/or other materials provided with the distribution. 15cb34ed44SMarcel Moolenaar * 16cb34ed44SMarcel Moolenaar * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17cb34ed44SMarcel Moolenaar * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18cb34ed44SMarcel Moolenaar * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19cb34ed44SMarcel Moolenaar * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20cb34ed44SMarcel Moolenaar * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21cb34ed44SMarcel Moolenaar * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22cb34ed44SMarcel Moolenaar * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23cb34ed44SMarcel Moolenaar * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24cb34ed44SMarcel Moolenaar * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25cb34ed44SMarcel Moolenaar * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26cb34ed44SMarcel Moolenaar * SUCH DAMAGE. 27cb34ed44SMarcel Moolenaar */ 28cb34ed44SMarcel Moolenaar 29cb34ed44SMarcel Moolenaar #ifndef _MACHINE_OFW_MACHDEP_H_ 30cb34ed44SMarcel Moolenaar #define _MACHINE_OFW_MACHDEP_H_ 31cb34ed44SMarcel Moolenaar 325e4fb9caSWarner Losh #include <machine/bus.h> 33dcd08302SNathan Whitehorn #include <vm/vm.h> 34cb34ed44SMarcel Moolenaar 35cb34ed44SMarcel Moolenaar typedef uint32_t cell_t; 36cb34ed44SMarcel Moolenaar 37dcd08302SNathan Whitehorn struct mem_region { 38dcd08302SNathan Whitehorn vm_offset_t mr_start; 39dcd08302SNathan Whitehorn vm_size_t mr_size; 40dcd08302SNathan Whitehorn }; 41dcd08302SNathan Whitehorn 42cb34ed44SMarcel Moolenaar #endif /* _MACHINE_OFW_MACHDEP_H_ */ 43