arm: Replace references to BSP with platform

Removes references to obsolete BSP terminology.  Where appropriate, replaces it
with platform terminology.

Change-Id: I26c199c50fefc9729ec07c48083bedc86890cc89
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-07-27 12:09:43 -04:00 committed by Anas Nashif
commit 7175ec33a2
11 changed files with 27 additions and 27 deletions

View file

@ -1,4 +1,4 @@
# Kconfig - ARM BSP CortexM configuration options # Kconfig - ARM CortexM platform configuration options
# #
# Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2014-2015 Wind River Systems, Inc.
@ -64,7 +64,7 @@ config DATA_ENDIANNESS_LITTLE
default y default y
help help
This is driven by the processor implementation, since it is fixed in This is driven by the processor implementation, since it is fixed in
hardware. The BSP should set this value to 'n' if the data is hardware. The platform should set this value to 'n' if the data is
implemented as big endian. implemented as big endian.
config STACK_ALIGN_DOUBLE_WORD config STACK_ALIGN_DOUBLE_WORD
@ -86,12 +86,12 @@ config STACK_GROWS_DOWN
config NUM_IRQ_PRIO_BITS config NUM_IRQ_PRIO_BITS
int int
#hidden option, implemented by BSP #hidden option, implemented by platform
help help
Cortex-M chips can implement up to 8 bits of interrupt priorities, Cortex-M chips can implement up to 8 bits of interrupt priorities,
for a maximum of 256 priorities. Most chips implement fewer than 8. for a maximum of 256 priorities. Most chips implement fewer than 8.
The BSP must define the correct value. The platform must define the correct value.
config RUNTIME_NMI config RUNTIME_NMI
bool bool
@ -184,7 +184,7 @@ config SW_ISR_TABLE_STATIC_CUSTOM
depends on SW_ISR_TABLE && !SW_ISR_TABLE_DYNAMIC depends on SW_ISR_TABLE && !SW_ISR_TABLE_DYNAMIC
default n default n
help help
Projects, not the BSP, provide a software table of ISR and their Projects, not the platform, provide a software table of ISR and their
parameters. The table is static, and thus ISRs cannot be connected parameters. The table is static, and thus ISRs cannot be connected
at runtime. at runtime.
@ -194,7 +194,7 @@ config IRQ_VECTOR_TABLE_CUSTOM
depends on !SW_ISR_TABLE depends on !SW_ISR_TABLE
default n default n
help help
Projects, not the BSP, provide the IRQ part of the vector table. Projects, not the platform, provide the IRQ part of the vector table.
This is the table of interrupt handlers with the best potential This is the table of interrupt handlers with the best potential
performance, but is the less flexible. performance, but is the less flexible.

View file

@ -72,8 +72,8 @@ static void _DefaultHandler(void)
* *
* @brief Install default runtime NMI handler * @brief Install default runtime NMI handler
* *
* Meant to be called by BSP code if they want to install a simple NMI handler * Meant to be called by platform code if they want to install a simple NMI
* that reboots the target. It should be installed after the console is * handler that reboots the target. It should be installed after the console is
* initialized. * initialized.
* *
* @return N/A * @return N/A
@ -88,9 +88,9 @@ void _NmiInit(void)
* *
* @brief Install a custom runtime NMI handler * @brief Install a custom runtime NMI handler
* *
* Meant to be called by BSP code if they want to install a custom NMI handler * Meant to be called by platform code if they want to install a custom NMI
* that reboots. It should be installed after the console is initialized if it is * handler that reboots. It should be installed after the console is
* meant to output to the console. * initialized if it is meant to output to the console.
* *
* @return N/A * @return N/A
*/ */

View file

@ -32,7 +32,7 @@
/* /*
DESCRIPTION DESCRIPTION
This module provides the _SysFatalErrorHandler() routine for Cortex-M BSPs. This module provides the _SysFatalErrorHandler() routine for Cortex-M platforms.
*/ */
#include <nanokernel.h> #include <nanokernel.h>

View file

@ -1,4 +1,4 @@
# Kconfig - FSL FRDM K64F BSP configuration options # Kconfig - FSL FRDM K64F platform configuration options
# #
# Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2014-2015 Wind River Systems, Inc.

View file

@ -1,4 +1,4 @@
/* board.h - board configuration macros for the fsl_frdm_k64f BSP */ /* board.h - board configuration macros for the fsl_frdm_k64f platform */
/* /*
* Copyright (c) 2014-2015 Wind River Systems, Inc. * Copyright (c) 2014-2015 Wind River Systems, Inc.
@ -33,7 +33,7 @@
/* /*
DESCRIPTION DESCRIPTION
This header file is used to specify and describe board-level aspects for the This header file is used to specify and describe board-level aspects for the
'fsl_frdm_k64f' BSP. 'fsl_frdm_k64f' platform.
*/ */
#ifndef _BOARD__H_ #ifndef _BOARD__H_

View file

@ -38,8 +38,8 @@ for one of two cases:
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
binds _isr_wrapper() to all the IRQ entries in the vector table. binds _isr_wrapper() to all the IRQ entries in the vector table.
b) When the BSP is written so that device ISRs are installed directly in the b) When the platform is written so that device ISRs are installed directly in
vector table, they are enumerated here. the vector table, they are enumerated here.
*/ */
#include <toolchain.h> #include <toolchain.h>

View file

@ -1,4 +1,4 @@
/* system.c - system/hardware module for fsl_frdm_k64f BSP */ /* system.c - system/hardware module for fsl_frdm_k64f platform */
/* /*
* Copyright (c) 2014-2015 Wind River Systems, Inc. * Copyright (c) 2014-2015 Wind River Systems, Inc.
@ -33,7 +33,7 @@
/* /*
DESCRIPTION DESCRIPTION
This module provides routines to initialize and support board-level hardware This module provides routines to initialize and support board-level hardware
for the fsl_frdm_k64f BSP. for the fsl_frdm_k64f platform.
*/ */
#include <nanokernel.h> #include <nanokernel.h>

View file

@ -1,4 +1,4 @@
/* wdog.S - watchdog initialization for fsl_frdm_k64f BSP */ /* wdog.S - watchdog initialization for fsl_frdm_k64f platform */
/* /*
* Copyright (c) 2014 Wind River Systems, Inc. * Copyright (c) 2014 Wind River Systems, Inc.
@ -32,7 +32,7 @@
/* /*
DESCRIPTION DESCRIPTION
This module initializes the watchdog for the fsl_frdm_k64f BSP. This module initializes the watchdog for the fsl_frdm_k64f platform.
*/ */
#define _ASMLANGUAGE #define _ASMLANGUAGE

View file

@ -1,4 +1,4 @@
/* board.h - board configuration macros for the ti_lm3s6965 BSP */ /* board.h - board configuration macros for the ti_lm3s6965 platform */
/* /*
* Copyright (c) 2013-2015 Wind River Systems, Inc. * Copyright (c) 2013-2015 Wind River Systems, Inc.
@ -33,7 +33,7 @@
/* /*
DESCRIPTION DESCRIPTION
This header file is used to specify and describe board-level aspects for This header file is used to specify and describe board-level aspects for
the 'ti_lm3s6965' BSP. the 'ti_lm3s6965' platform.
*/ */
#ifndef _BOARD__H_ #ifndef _BOARD__H_

View file

@ -38,8 +38,8 @@ for one of two cases:
a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it a) When software-managed ISRs (SW_ISR_TABLE) is enabled, and in that case it
binds _isr_wrapper() to all the IRQ entries in the vector table. binds _isr_wrapper() to all the IRQ entries in the vector table.
b) When the BSP is written so that device ISRs are installed directly in the b) When the platform is written so that device ISRs are installed directly in
vector table, they are enumerated here. the vector table, they are enumerated here.
*/ */
#include <toolchain.h> #include <toolchain.h>

View file

@ -1,4 +1,4 @@
/* system.c - system/hardware module for ti_lm3s6965 BSP */ /* system.c - system/hardware module for ti_lm3s6965 platform */
/* /*
* Copyright (c) 2013-2015 Wind River Systems, Inc. * Copyright (c) 2013-2015 Wind River Systems, Inc.
@ -33,7 +33,7 @@
/* /*
DESCRIPTION DESCRIPTION
This module provides routines to initialize and support board-level hardware This module provides routines to initialize and support board-level hardware
for the ti_lm3s6965 BSP. for the ti_lm3s6965 platform.
*/ */
#include <nanokernel.h> #include <nanokernel.h>