Start to move the arm *_mp.h to be names *_machdep.h. These will be used

by the reworked pl310 driver interface in
https://reviews.freebsd.org/D11546
This commit is contained in:
Andrew Turner 2017-07-10 15:27:53 +00:00
parent 99ac8154ff
commit 3185adf0fd
9 changed files with 16 additions and 15 deletions

View File

@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/openfirm.h>
#include <arm/freescale/imx/imx6_mp.h>
#include <arm/freescale/imx/imx6_machdep.h>
#include "platform_if.h"

View File

@ -26,10 +26,10 @@
* $FreeBSD$
*/
#ifndef IMX6_MP_H
#define IMX6_MP_H
#ifndef IMX6_MACHDEP_H
#define IMX6_MACHDEP_H
void imx6_mp_start_ap(platform_t);
void imx6_mp_setmaxid(platform_t);
#endif /* IMX6_MP_H */
#endif /* IMX6_MACHDEP_H */

View File

@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
#include <machine/platform.h>
#include <machine/platformvar.h>
#include <arm/freescale/imx/imx6_mp.h>
#include <arm/freescale/imx/imx6_machdep.h>
#define SCU_PHYSBASE 0x00a00000
#define SCU_SIZE 0x00001000

View File

@ -25,9 +25,10 @@
* $FreeBSD$
*/
#ifndef _OMAP4_MP_H_
#define _OMAP4_MP_H_
#ifndef _OMAP4_MACHDEP_H_
#define _OMAP4_MACHDEP_H_
void omap4_mp_setmaxid(platform_t plat);
void omap4_mp_start_ap(platform_t plat);
#endif /* _OMAP4_MP_H_ */
#endif /* _OMAP4_MACHDEP_H_ */

View File

@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$");
#include <machine/platformvar.h>
#include <arm/ti/ti_smc.h>
#include <arm/ti/omap4/omap4_machdep.h>
#include <arm/ti/omap4/omap4_smc.h>
#include <arm/ti/omap4/omap4_mp.h>
void
omap4_mp_setmaxid(platform_t plat)

View File

@ -52,8 +52,8 @@ __FBSDID("$FreeBSD$");
#include <machine/machdep.h>
#include <machine/platformvar.h>
#include <arm/ti/omap4/omap4_machdep.h>
#include <arm/ti/omap4/omap4_reg.h>
#include <arm/ti/omap4/omap4_mp.h>
#include <arm/ti/ti_cpuid.h>
#include "platform_if.h"

View File

@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
#include <machine/platform.h>
#include <machine/platformvar.h>
#include <arm/xilinx/zy7_mp.h>
#include <arm/xilinx/zy7_machdep.h>
#include <arm/xilinx/zy7_reg.h>
#include "platform_if.h"

View File

@ -25,10 +25,10 @@
* $FreeBSD$
*/
#ifndef _ZY7_MP_H_
#define _ZY7_MP_H_
#ifndef _ZY7_MACHDEP_H_
#define _ZY7_MACHDEP_H_
void zynq7_mp_setmaxid(platform_t);
void zynq7_mp_start_ap(platform_t);
#endif /* _ZY7_MP_H_ */
#endif /* _ZY7_MACHDEP_H_ */

View File

@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <machine/intr.h>
#include <machine/platformvar.h>
#include <arm/xilinx/zy7_mp.h>
#include <arm/xilinx/zy7_machdep.h>
#include <arm/xilinx/zy7_reg.h>
#define ZYNQ7_CPU1_ENTRY 0xfffffff0