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