omap4_mp.c (256281) | omap4_mp.c (266203) |
---|---|
1/*- 2 * Copyright (c) 2012 Olivier Houchard. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012 Olivier Houchard. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> |
26__FBSDID("$FreeBSD: stable/10/sys/arm/ti/omap4/omap4_mp.c 242362 2012-10-30 15:25:01Z cognet $"); | 26__FBSDID("$FreeBSD: stable/10/sys/arm/ti/omap4/omap4_mp.c 266203 2014-05-16 00:14:50Z ian $"); |
27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/lock.h> 31#include <sys/mutex.h> 32#include <sys/smp.h> 33 34#include <machine/smp.h> 35#include <machine/fdt.h> 36#include <machine/intr.h> 37 38#include <arm/ti/ti_smc.h> 39#include <arm/ti/omap4/omap4_smc.h> 40 | 27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/lock.h> 31#include <sys/mutex.h> 32#include <sys/smp.h> 33 34#include <machine/smp.h> 35#include <machine/fdt.h> 36#include <machine/intr.h> 37 38#include <arm/ti/ti_smc.h> 39#include <arm/ti/omap4/omap4_smc.h> 40 |
41void mpentry(void); 42void mptramp(void); 43 | |
44void 45platform_mp_init_secondary(void) 46{ 47 gic_init_secondary(); 48} 49 50void 51platform_mp_setmaxid(void) --- 36 unchanged lines hidden --- | 41void 42platform_mp_init_secondary(void) 43{ 44 gic_init_secondary(); 45} 46 47void 48platform_mp_setmaxid(void) --- 36 unchanged lines hidden --- |