11303Swesolows/*- 21303Swesolows * Copyright (c) 2016 Olivier Houchard <cognet@FreeBSD.org> 31303Swesolows * All rights reserved. 41303Swesolows * 51303Swesolows * Redistribution and use in source and binary forms, with or without 61303Swesolows * modification, are permitted provided that the following conditions 71303Swesolows * are met: 81303Swesolows * 1. Redistributions of source code must retain the above copyright 91303Swesolows * notice, this list of conditions and the following disclaimer. 101303Swesolows * 2. Redistributions in binary form must reproduce the above copyright 111303Swesolows * notice, this list of conditions and the following disclaimer in the 121303Swesolows * documentation and/or other materials provided with the distribution. 131303Swesolows * 141303Swesolows * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 151303Swesolows * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 161303Swesolows * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 171303Swesolows * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 181303Swesolows * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 191303Swesolows * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 201303Swesolows * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 211303Swesolows * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 221303Swesolows * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 231303Swesolows * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 241303Swesolows */ 251303Swesolows 261303Swesolows#ifndef _OMAP4_MACHDEP_H_ 271303Swesolows#define _OMAP4_MACHDEP_H_ 281303Swesolows 291303Swesolowsstruct pl310_softc; 301303Swesolows 311303Swesolowsvoid omap4_mp_setmaxid(platform_t plat); 321303Swesolowsvoid omap4_mp_start_ap(platform_t plat); 331303Swesolows 341303Swesolowsvoid omap4_pl310_init(platform_t, struct pl310_softc *); 351303Swesolowsvoid omap4_pl310_write_ctrl(platform_t, struct pl310_softc *, uint32_t); 361303Swesolowsvoid omap4_pl310_write_debug(platform_t, struct pl310_softc *, uint32_t); 371303Swesolows 381303Swesolows#endif /* _OMAP4_MACHDEP_H_ */ 391303Swesolows