1209130Sraj/*-
2209130Sraj * Copyright (c) 2009 The FreeBSD Foundation
3209130Sraj * All rights reserved.
4209130Sraj *
5209130Sraj * This software was developed by Semihalf under sponsorship from
6209130Sraj * the FreeBSD Foundation.
7209130Sraj *
8209130Sraj * Redistribution and use in source and binary forms, with or without
9209130Sraj * modification, are permitted provided that the following conditions
10209130Sraj * are met:
11209130Sraj * 1. Redistributions of source code must retain the above copyright
12209130Sraj *    notice, this list of conditions and the following disclaimer.
13209130Sraj * 2. Redistributions in binary form must reproduce the above copyright
14209130Sraj *    notice, this list of conditions and the following disclaimer in the
15209130Sraj *    documentation and/or other materials provided with the distribution.
16209130Sraj *
17209130Sraj * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18209130Sraj * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19209130Sraj * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20209130Sraj * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21209130Sraj * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22209130Sraj * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23209130Sraj * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24209130Sraj * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25209130Sraj * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26209130Sraj * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27209130Sraj * SUCH DAMAGE.
28209130Sraj *
29209130Sraj * $FreeBSD$
30209130Sraj */
31209130Sraj
32209130Sraj#ifndef _MACHINE_OFW_MACHDEP_H_
33209130Sraj#define _MACHINE_OFW_MACHDEP_H_
34209130Sraj
35292555Sian#include <sys/types.h>
36292555Sian#include <sys/bus.h>
37292555Sian#include <sys/rman.h>
38260327Snwhitehorn#include <vm/vm.h>
39260327Snwhitehorn
40209130Srajtypedef	uint32_t	cell_t;
41209130Sraj
42260327Snwhitehornstruct mem_region {
43294754Sandrew	uint64_t	mr_start;
44294754Sandrew	uint64_t	mr_size;
45260327Snwhitehorn};
46260327Snwhitehorn
47209130Sraj#endif /* _MACHINE_OFW_MACHDEP_H_ */
48