diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-05 15:15:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-05 15:46:29 +0100 |
commit | 3d770018d90a57b4afad930ee1953be674c48be1 (patch) | |
tree | 3e074e4f69d2ccf4659daecccc3cea6833b75929 /c/src/lib/libbsp/sparc/leon3/include/leon.h | |
parent | bsp/leon3: Install IPI handler early (diff) | |
download | rtems-3d770018d90a57b4afad930ee1953be674c48be1.tar.bz2 |
bsp/leon3: Fix SMP initialization
Avoid usage of the same stack area by multiple secondary processors at
the same time.
Avoid magic delay loops.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/include/leon.h')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/include/leon.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/include/leon.h b/c/src/lib/libbsp/sparc/leon3/include/leon.h index 694622f58a..82e2c6da35 100644 --- a/c/src/lib/libbsp/sparc/leon3/include/leon.h +++ b/c/src/lib/libbsp/sparc/leon3/include/leon.h @@ -310,6 +310,13 @@ void apbuart_outbyte_polled( */ int apbuart_inbyte_nonblocking(struct apbuart_regs *regs); +/** + * @brief Initializes a secondary processor. + * + * @param[in] cpu The processor executing this function. + */ +void leon3_secondary_cpu_initialize(uint32_t cpu); + #endif /* !ASM */ #ifdef __cplusplus |