1*43331e8dSjmcneill /* $NetBSD: sunxi_mc_smp.h,v 1.2 2019/01/03 14:44:21 jmcneill Exp $ */ 208185578Sjmcneill 308185578Sjmcneill /*- 408185578Sjmcneill * Copyright (c) 2019 Jared McNeill <jmcneill@invisible.ca> 508185578Sjmcneill * All rights reserved. 608185578Sjmcneill * 708185578Sjmcneill * Redistribution and use in source and binary forms, with or without 808185578Sjmcneill * modification, are permitted provided that the following conditions 908185578Sjmcneill * are met: 1008185578Sjmcneill * 1. Redistributions of source code must retain the above copyright 1108185578Sjmcneill * notice, this list of conditions and the following disclaimer. 1208185578Sjmcneill * 2. Redistributions in binary form must reproduce the above copyright 1308185578Sjmcneill * notice, this list of conditions and the following disclaimer in the 1408185578Sjmcneill * documentation and/or other materials provided with the distribution. 1508185578Sjmcneill * 1608185578Sjmcneill * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1708185578Sjmcneill * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1808185578Sjmcneill * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1908185578Sjmcneill * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2008185578Sjmcneill * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 2108185578Sjmcneill * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 2208185578Sjmcneill * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 2308185578Sjmcneill * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2408185578Sjmcneill * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2508185578Sjmcneill * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2608185578Sjmcneill * SUCH DAMAGE. 2708185578Sjmcneill */ 2808185578Sjmcneill 2908185578Sjmcneill #ifndef _SUNXI_MC_SMP_H 3008185578Sjmcneill #define _SUNXI_MC_SMP_H 3108185578Sjmcneill 3208185578Sjmcneill int sunxi_mc_smp_match(const char *); 33*43331e8dSjmcneill int sun8i_a83t_smp_enable(u_int); 34*43331e8dSjmcneill int sun9i_a80_smp_enable(u_int); 3508185578Sjmcneill 3608185578Sjmcneill #endif /* !_SUNXI_MC_SMP_H */ 37