1280558Sandrew/*
2280558Sandrew * Copyright 2015 Andrew Turner.
3280558Sandrew * All rights reserved.
4280558Sandrew *
5280558Sandrew * Redistribution and use in source and binary forms, with or without
6280558Sandrew * modification, are permitted provided that the following conditions are
7280558Sandrew * met:
8280558Sandrew *
9280558Sandrew *  1. Redistributions of source code must retain the above copyright
10280558Sandrew *     notice, this list of conditions and the following disclaimer.
11280558Sandrew *  2. Redistributions in binary form must reproduce the above copyright
12280558Sandrew *     notice, this list of conditions and the following disclaimer in the
13280558Sandrew *     documentation and/or other materials provided with the distribution.
14280558Sandrew *
15280558Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16280558Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17280558Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18280558Sandrew * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
19280558Sandrew * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20280558Sandrew * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21280558Sandrew * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
22280558Sandrew * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23280558Sandrew * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24280558Sandrew * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25280558Sandrew * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26280558Sandrew *
27280558Sandrew * $FreeBSD: releng/11.0/sys/arm/broadcom/bcm2835/bcm2836.h 298068 2016-04-15 16:05:41Z andrew $
28280558Sandrew */
29280558Sandrew
30280558Sandrew#ifndef _BCM2815_BCM2836_H
31280558Sandrew#define	_BCM2815_BCM2836_H
32280558Sandrew
33298068Sandrew#ifndef INTRNG
34290457Sskra#define	BCM2836_GPU_IRQ		8
35290457Sskra
36280558Sandrewint bcm2836_get_next_irq(int);
37280558Sandrewvoid bcm2836_mask_irq(uintptr_t);
38280558Sandrewvoid bcm2836_unmask_irq(uintptr_t);
39280558Sandrew#endif
40297581Sskra#endif
41