kloader.h revision 1.1
11.1Suwe/*	$NetBSD: kloader.h,v 1.1 2006/09/01 21:26:18 uwe Exp $	*/
21.1Suwe
31.1Suwe/*-
41.1Suwe * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
51.1Suwe * All rights reserved.
61.1Suwe *
71.1Suwe * Redistribution and use in source and binary forms, with or without
81.1Suwe * modification, are permitted provided that the following conditions
91.1Suwe * are met:
101.1Suwe * 1. Redistributions of source code must retain the above copyright
111.1Suwe *    notice, this list of conditions and the following disclaimer.
121.1Suwe * 2. Redistributions in binary form must reproduce the above copyright
131.1Suwe *    notice, this list of conditions and the following disclaimer in the
141.1Suwe *    documentation and/or other materials provided with the distribution.
151.1Suwe * 3. All advertising materials mentioning features or use of this software
161.1Suwe *    must display the following acknowledgement:
171.1Suwe *        This product includes software developed by the NetBSD
181.1Suwe *        Foundation, Inc. and its contributors.
191.1Suwe * 4. Neither the name of The NetBSD Foundation nor the names of its
201.1Suwe *    contributors may be used to endorse or promote products derived
211.1Suwe *    from this software without specific prior written permission.
221.1Suwe *
231.1Suwe * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
241.1Suwe * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
251.1Suwe * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
261.1Suwe * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
271.1Suwe * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
281.1Suwe * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
291.1Suwe * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
301.1Suwe * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
311.1Suwe * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
321.1Suwe * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
331.1Suwe * POSSIBILITY OF SUCH DAMAGE.
341.1Suwe */
351.1Suwe
361.1Suwe#ifndef	_LANDISK_KLOADER_H_
371.1Suwe#define	_LANDISK_KLOADER_H_
381.1Suwe
391.1Suwe#define PG_VADDR(pg)	SH3_PHYS_TO_P1SEG(VM_PAGE_TO_PHYS(pg))
401.1Suwe
411.1Suwe#include <dev/kloader.h>
421.1Suwe
431.1Suwe#endif	/* _LANDISK_KLOADER_H_ */
44