xref: /freebsd/sys/arm/broadcom/bcm2835/bcm2836_mp.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*10912ba8SEmmanuel Vadot /*-
2*10912ba8SEmmanuel Vadot  * Copyright (C) 2016 Emmanuel Vadot <manu@freebsd.org>
3*10912ba8SEmmanuel Vadot  *
4*10912ba8SEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
5*10912ba8SEmmanuel Vadot  * modification, are permitted provided that the following conditions
6*10912ba8SEmmanuel Vadot  * are met:
7*10912ba8SEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
8*10912ba8SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
9*10912ba8SEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
10*10912ba8SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
11*10912ba8SEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
12*10912ba8SEmmanuel Vadot  *
13*10912ba8SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*10912ba8SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*10912ba8SEmmanuel Vadot  *
16*10912ba8SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17*10912ba8SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18*10912ba8SEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19*10912ba8SEmmanuel Vadot  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20*10912ba8SEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*10912ba8SEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22*10912ba8SEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*10912ba8SEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*10912ba8SEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*10912ba8SEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*10912ba8SEmmanuel Vadot  * SUCH DAMAGE.
27*10912ba8SEmmanuel Vadot  */
28*10912ba8SEmmanuel Vadot 
29*10912ba8SEmmanuel Vadot #ifndef _BCM2836_MP_H_
30*10912ba8SEmmanuel Vadot #define	_BCM2836_MP_H_
31*10912ba8SEmmanuel Vadot 
32*10912ba8SEmmanuel Vadot void	bcm2836_mp_setmaxid(platform_t plat);
33*10912ba8SEmmanuel Vadot void	bcm2836_mp_start_ap(platform_t plat);
34*10912ba8SEmmanuel Vadot 
35*10912ba8SEmmanuel Vadot #endif /* _BCM2836_MP_H_ */
36