133965Sjdp/*-
2104834Sobrien * Copyright (c) 2001 Jake Burkholder.
333965Sjdp * All rights reserved.
433965Sjdp *
533965Sjdp * Redistribution and use in source and binary forms, with or without
633965Sjdp * modification, are permitted provided that the following conditions
733965Sjdp * are met:
833965Sjdp * 1. Redistributions of source code must retain the above copyright
933965Sjdp *    notice, this list of conditions and the following disclaimer.
1033965Sjdp * 2. Redistributions in binary form must reproduce the above copyright
1133965Sjdp *    notice, this list of conditions and the following disclaimer in the
1233965Sjdp *    documentation and/or other materials provided with the distribution.
1333965Sjdp *
1433965Sjdp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1533965Sjdp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1633965Sjdp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1733965Sjdp * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1833965Sjdp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1933965Sjdp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2033965Sjdp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2133965Sjdp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2233965Sjdp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2333965Sjdp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2433965Sjdp * SUCH DAMAGE.
2589857Sobrien *
2689857Sobrien * $FreeBSD$
2789857Sobrien */
2889857Sobrien
2989857Sobrien#ifndef _MACHINE_OFW_MEM_H_
3089857Sobrien#define	_MACHINE_OFW_MEM_H_
3189857Sobrien
3289857Sobrienstruct ofw_mem_region {
3389857Sobrien	vm_paddr_t mr_start;
3489857Sobrien	vm_size_t mr_size;
3589857Sobrien};
3689857Sobrien
3789857Sobrienstruct ofw_map {
3889857Sobrien	vm_offset_t om_start;
3989857Sobrien	vm_size_t om_size;
4077298Sobrien	u_long	om_tte;
4177298Sobrien};
4233965Sjdp
4333965Sjdpextern	struct ofw_mem_region sparc64_memreg[];
4433965Sjdpextern	int sparc64_nmemreg;
4533965Sjdp
4633965Sjdp#endif
4733965Sjdp