1105531Stmm/*-
2105531Stmm * Copyright (c) 2001 Jake Burkholder.
3105531Stmm * All rights reserved.
4105531Stmm *
5105531Stmm * Redistribution and use in source and binary forms, with or without
6105531Stmm * modification, are permitted provided that the following conditions
7105531Stmm * are met:
8105531Stmm * 1. Redistributions of source code must retain the above copyright
9105531Stmm *    notice, this list of conditions and the following disclaimer.
10105531Stmm * 2. Redistributions in binary form must reproduce the above copyright
11105531Stmm *    notice, this list of conditions and the following disclaimer in the
12105531Stmm *    documentation and/or other materials provided with the distribution.
13105531Stmm *
14105531Stmm * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15105531Stmm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16105531Stmm * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17105531Stmm * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18105531Stmm * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19105531Stmm * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20105531Stmm * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21105531Stmm * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22105531Stmm * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23105531Stmm * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24105531Stmm * SUCH DAMAGE.
25105531Stmm *
26105531Stmm * $FreeBSD: releng/11.0/sys/sparc64/include/ofw_mem.h 115971 2003-06-07 18:29:29Z jake $
27105531Stmm */
28105531Stmm
29105531Stmm#ifndef _MACHINE_OFW_MEM_H_
30105531Stmm#define	_MACHINE_OFW_MEM_H_
31105531Stmm
32105531Stmmstruct ofw_mem_region {
33113238Sjake	vm_paddr_t mr_start;
34113238Sjake	vm_size_t mr_size;
35105531Stmm};
36105531Stmm
37105531Stmmstruct ofw_map {
38105531Stmm	vm_offset_t om_start;
39113238Sjake	vm_size_t om_size;
40105531Stmm	u_long	om_tte;
41105531Stmm};
42105531Stmm
43115971Sjakeextern	struct ofw_mem_region sparc64_memreg[];
44115971Sjakeextern	int sparc64_nmemreg;
45115971Sjake
46105531Stmm#endif
47