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