xref: /netbsd-src/sys/arch/arm/fdt/arm_simplefb.h (revision 36ef29e801fc9cb222710da05c04d60856fac37a)
1*36ef29e8Sjmcneill /* $NetBSD: arm_simplefb.h,v 1.2 2020/10/20 23:03:30 jmcneill Exp $ */
22824038dSjmcneill 
32824038dSjmcneill /*-
42824038dSjmcneill  * Copyright (c) 2019 The NetBSD Foundation, Inc.
52824038dSjmcneill  * All rights reserved.
62824038dSjmcneill  *
72824038dSjmcneill  * This code is derived from software contributed to The NetBSD Foundation
82824038dSjmcneill  * by Jared McNeill <jmcneill@invisible.ca>.
92824038dSjmcneill  *
102824038dSjmcneill  * Redistribution and use in source and binary forms, with or without
112824038dSjmcneill  * modification, are permitted provided that the following conditions
122824038dSjmcneill  * are met:
132824038dSjmcneill  * 1. Redistributions of source code must retain the above copyright
142824038dSjmcneill  *    notice, this list of conditions and the following disclaimer.
152824038dSjmcneill  * 2. Redistributions in binary form must reproduce the above copyright
162824038dSjmcneill  *    notice, this list of conditions and the following disclaimer in the
172824038dSjmcneill  *    documentation and/or other materials provided with the distribution.
182824038dSjmcneill  *
192824038dSjmcneill  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
202824038dSjmcneill  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
212824038dSjmcneill  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
222824038dSjmcneill  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
232824038dSjmcneill  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
242824038dSjmcneill  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
252824038dSjmcneill  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
262824038dSjmcneill  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
272824038dSjmcneill  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
282824038dSjmcneill  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
292824038dSjmcneill  * POSSIBILITY OF SUCH DAMAGE.
302824038dSjmcneill  */
312824038dSjmcneill 
322824038dSjmcneill #ifndef _ARM_ARM_SIMPLEFB_H
332824038dSjmcneill #define _ARM_ARM_SIMPLEFB_H
342824038dSjmcneill 
352824038dSjmcneill void		arm_simplefb_preattach(void);
36*36ef29e8Sjmcneill uint64_t	arm_simplefb_physaddr(void);
372824038dSjmcneill 
382824038dSjmcneill #endif /* !_ARM_ARM_SIMPLEFB_H */
39