From 70782b0f14cc763a25d002084c729a1b7e5c3e14 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 12 May 2016 15:04:46 -0600 Subject: [PATCH] ARMv7-A i.MX6: More SMP logic. Still untested. --- Documentation/NuttxPortingGuide.html | 36 +-- .../src/{imx6/imx_cpuinit.c => armv7-a/smp.h} | 74 +++-- arch/arm/src/imx6/Make.defs | 2 +- arch/arm/src/imx6/imx_boot.c | 15 + arch/arm/src/imx6/imx_boot.h | 57 +++- arch/arm/src/imx6/imx_cpuboot.c | 265 ++++++++++++++++++ arch/sim/src/up_smphook.c | 23 -- include/nuttx/arch.h | 22 -- sched/init/os_smpstart.c | 6 - 9 files changed, 381 insertions(+), 119 deletions(-) rename arch/arm/src/{imx6/imx_cpuinit.c => armv7-a/smp.h} (59%) create mode 100644 arch/arm/src/imx6/imx_cpuboot.c diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index d935ad37a1..e44d380fc0 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -154,9 +154,8 @@ 4.7.1 up_testset()
4.7.2 up_cpu_index()
4.7.3 up_cpu_start()
- 4.7.4 up_cpu_initialize()
- 4.7.5 up_cpu_pause()
- 4.7.6 up_cpu_resume() + 4.7.4 up_cpu_pause()
+ 4.7.5 up_cpu_resume() 4.8 APIs Exported by NuttX to Architecture-Specific Logic -

4.7.4 up_cpu_initialize()

-

Function Prototype:

-

- -

Description:

- -

Input Parameters:

- -

Returned Value:

- - -

4.7.5 up_cpu_pause()

+

4.7.4 up_cpu_pause()

Function Prototype:

-

4.7.6 up_cpu_resume()

+

4.7.5 up_cpu_resume()

Function Prototype: