Rename arch/sh to arch/renesas

This commit is contained in:
Gregory Nutt 2016-08-06 13:33:41 -06:00
parent 11870f98f1
commit 8ee155da3d
83 changed files with 323 additions and 138 deletions

View File

@ -31,11 +31,11 @@ nuttx/
| |- arm/
| | `- src
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/arm/src/lpc214x/README.txt" target="_blank">lpc214x/README.txt</a>
| |- sh/
| |- renesas/
| | |- include/
| | | `-<a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/sh/include/README.txt" target="_blank">README.txt</a>
| | | `-<a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/renesas/include/README.txt" target="_blank">README.txt</a>
| | |- src/
| | | `-<a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/sh/src/README.txt" target="_blank">README.txt</a>
| | | `-<a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/renesas/src/README.txt" target="_blank">README.txt</a>
| |- x86/
| | |- include/
| | | `-<a href="https://bitbucket.org/nuttx/nuttx/src/master/arch/x86/include/README.txt" target="_blank">README.txt</a>

View File

@ -1250,7 +1250,7 @@ nuttx/
| |- arm/
| | `- src
| | `- lpc214x/README.txt
| |- sh/
| |- renesas/
| | |- include/
| | | `-README.txt
| | |- src/

2
TODO
View File

@ -1737,7 +1737,7 @@ o ARM (arch/arm/)
upon return. This could be improved as well: If there is no
context switch, then the static registers need not be restored
because they will not be modified by the called C code.
(see arch/sh/src/sh1/sh1_vector.S for example)
(see arch/renesas/src/sh1/sh1_vector.S for example)
Status: Open
Priority: Low

View File

@ -99,7 +99,7 @@ source arch/avr/Kconfig
source arch/hc/Kconfig
source arch/mips/Kconfig
source arch/rgmp/Kconfig
source arch/sh/Kconfig
source arch/renesas/Kconfig
source arch/sim/Kconfig
source arch/x86/Kconfig
source arch/z16/Kconfig

View File

@ -210,6 +210,16 @@ arch/mips
arch/mips/include/pic32mx and arch/mips/src/pic32mx
arch/mips/include/pic32mz and arch/mips/src/pic32mz
arch/renesas - Support for Renesas and legacy Hitachi microcontrollers.
This include SuperH and M16C.
Architecture Support
arch/renesas/include and arch/renesas/src/common
MCU support
arch/renesas/include/m16c and arch/renesas/src/m16c
arch/renesas/include/sh1 and arch/renesas/src/sh1
arch/rgmp
RGMP stands for RTOS and GPOS on Multi-Processor. RGMP is a project
@ -221,15 +231,6 @@ arch/rgmp
See http://rgmp.sourceforge.net/wiki/index.php/Main_Page for further
information about RGMP.
arch/sh - SuperH and related Hitachi/Renesas microcontrollers
Architecture Support
arch/sh/include and arch/sh/src/common
MCU support
arch/sh/include/m16c and arch/sh/src/m16c
arch/sh/include/sh1 and arch/sh/src/sh1
arch/x86 - Intel x86 architectures
This directory holds related, 32- and 64-bit architectures from Intel.
At present, this includes the following subdirectories:

View File

@ -37,8 +37,8 @@ config ARCH_CHIP
default "sh1" if ARCH_SH1
default "m16c" if ARCH_M16C
source arch/sh/src/common/Kconfig
source arch/sh/src/m16c/Kconfig
source arch/sh/src/sh1/Kconfig
source arch/renesas/src/common/Kconfig
source arch/renesas/src/m16c/Kconfig
source arch/renesas/src/sh1/Kconfig
endif # ARCH_SH

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/arch.h
* arch/renesas/include/arch.h
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* only indirectly through nuttx/arch.h
*/
#ifndef __ARCH_SH_INCLUDE_ARCH_H
#define __ARCH_SH_INCLUDE_ARCH_H
#ifndef __ARCH_RENESAS_INCLUDE_ARCH_H
#define __ARCH_RENESAS_INCLUDE_ARCH_H
/****************************************************************************
* Included Files
@ -77,4 +77,4 @@ extern "C"
}
#endif
#endif /* __ARCH_SH_INCLUDE_ARCH_H */
#endif /* __ARCH_RENESAS_INCLUDE_ARCH_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/irq.h
* arch/renesas/include/irq.h
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_SH_INCLUDE_IRQ_H
#define __ARCH_SH_INCLUDE_IRQ_H
#ifndef __ARCH_RENESAS_INCLUDE_IRQ_H
#define __ARCH_RENESAS_INCLUDE_IRQ_H
/****************************************************************************
* Included Files
@ -82,5 +82,5 @@ extern "C"
#endif
#endif
#endif /* __ARCH_SH_INCLUDE_IRQ_H */
#endif /* __ARCH_RENESAS_INCLUDE_IRQ_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/limits.h
* arch/renesas/include/limits.h
*
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_SH_INCLUDE_LIMITS_H
#define __ARCH_SH_INCLUDE_LIMITS_H
#ifndef __ARCH_RENESAS_INCLUDE_LIMITS_H
#define __ARCH_RENESAS_INCLUDE_LIMITS_H
/****************************************************************************
* Included Files
@ -46,4 +46,4 @@
* Pre-processor Definitions
****************************************************************************/
#endif /* __ARCH_SH_INCLUDE_LIMITS_H */
#endif /* __ARCH_RENESAS_INCLUDE_LIMITS_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/include/m16c/irq.h
* arch/renesas/include/m16c/irq.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_SH_INCLUDE_M16C_IRQ_H
#define __ARCH_SH_INCLUDE_M16C_IRQ_H
#ifndef __ARCH_RENESAS_INCLUDE_M16C_IRQ_H
#define __ARCH_RENESAS_INCLUDE_M16C_IRQ_H
/************************************************************************************
* Included Files
@ -328,5 +328,5 @@ static inline void up_irq_restore(irqstate_t flags)
#endif
#endif
#endif /* __ARCH_SH_INCLUDE_M16C_IRQ_H */
#endif /* __ARCH_RENESAS_INCLUDE_M16C_IRQ_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/m16c/limits.h
* arch/renesas/include/m16c/limits.h
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_SH_INCLUDE_M16C_LIMITS_H
#define __ARCH_SH_INCLUDE_M16C_LIMITS_H
#ifndef __ARCH_RENESAS_INCLUDE_M16C_LIMITS_H
#define __ARCH_RENESAS_INCLUDE_M16C_LIMITS_H
/****************************************************************************
* Included Files
@ -85,4 +85,4 @@
#define PTR_MAX 32767
#define UPTR_MAX 65535U
#endif /* __ARCH_SH_INCLUDE_M16C_LIMITS_H */
#endif /* __ARCH_RENESAS_INCLUDE_M16C_LIMITS_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/m16c/types.h
* arch/renesas/include/m16c/types.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* through sys/types.h
*/
#ifndef __ARCH_SH_INCLUDE_M16C_TYPES_H
#define __ARCH_SH_INCLUDE_M16C_TYPES_H
#ifndef __ARCH_RENESAS_INCLUDE_M16C_TYPES_H
#define __ARCH_RENESAS_INCLUDE_M16C_TYPES_H
/****************************************************************************
* Included Files
@ -95,4 +95,4 @@ typedef _uint16_t irqstate_t;
* Public Function Prototypes
****************************************************************************/
#endif /* __ARCH_SH_INCLUDE_M16C_TYPES_H */
#endif /* __ARCH_RENESAS_INCLUDE_M16C_TYPES_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/serial.h
* arch/renesas/include/serial.h
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_SH_INCLUDE_SERIAL_H
#define __ARCH_SH_INCLUDE_SERIAL_H
#ifndef __ARCH_RENESAS_INCLUDE_SERIAL_H
#define __ARCH_RENESAS_INCLUDE_SERIAL_H
/****************************************************************************
* Included Files
@ -54,4 +54,4 @@
* Public Functions
****************************************************************************/
#endif /* __ARCH_SH_INCLUDE_SERIAL_H */
#endif /* __ARCH_RENESAS_INCLUDE_SERIAL_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/include/sh1/irq.h
* arch/renesas/include/sh1/irq.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_SH_INCLUDE_SH1_IRQ_H
#define __ARCH_SH_INCLUDE_SH1_IRQ_H
#ifndef __ARCH_RENESAS_INCLUDE_SH1_IRQ_H
#define __ARCH_RENESAS_INCLUDE_SH1_IRQ_H
/************************************************************************************
* Included Files
@ -563,5 +563,5 @@ static inline void up_irq_restore(irqstate_t flags)
#endif
#endif
#endif /* __ARCH_SH_INCLUDE_SH1_IRQ_H */
#endif /* __ARCH_RENESAS_INCLUDE_SH1_IRQ_H */

View File

@ -0,0 +1,88 @@
/****************************************************************************
* arch/renesas/include/sh1/limits.h
*
* Copyright (C) 2008, 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
#ifndef __ARCH_RENESAS_INCLUDE_SH1_LIMITS_H
#define __ARCH_RENESAS_INCLUDE_SH1_LIMITS_H
/****************************************************************************
* Included Files
****************************************************************************/
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#define CHAR_BIT 8
#define SCHAR_MIN (-SCHAR_MAX - 1)
#define SCHAR_MAX 127
#define UCHAR_MAX 255
/* These could be different on machines where char is unsigned */
#ifdef __CHAR_UNSIGNED__
#define CHAR_MIN 0
#define CHAR_MAX UCHAR_MAX
#else
#define CHAR_MIN SCHAR_MIN
#define CHAR_MAX SCHAR_MAX
#endif
#define SHRT_MIN (-SHRT_MAX - 1)
#define SHRT_MAX 32767
#define USHRT_MAX 65535U
/* On SH-1, type 'int' is 32-bits */
#define INT_MIN (-INT_MAX - 1)
#define INT_MAX 2147483647
#define UINT_MAX 4294967295U
/* On SH-1, type 'long' is the same size as type 'int', 32-bits */
#define LONG_MIN (-LONG_MAX - 1)
#define LONG_MAX 2147483647L
#define ULONG_MAX 4294967295UL
#define LLONG_MIN (-LLONG_MAX - 1)
#define LLONG_MAX 9223372036854775807LL
#define ULLONG_MAX 18446744073709551615ULL
/* A pointer is 4 bytes */
#define PTR_MIN (-PTR_MAX - 1)
#define PTR_MAX 2147483647
#define UPTR_MAX 4294967295U
#endif /* __ARCH_RENESAS_INCLUDE_SH1_LIMITS_H */

View File

@ -0,0 +1,96 @@
/****************************************************************************
* arch/renesas/include/sh1/types.h
*
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/* This file should never be included directed but, rather, only indirectly\
* through sys/types.h
*/
#ifndef __ARCH_RENESAS_INCLUDE_SH1_TYPES_H
#define __ARCH_RENESAS_INCLUDE_SH1_TYPES_H
/****************************************************************************
* Included Files
****************************************************************************/
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/****************************************************************************
* Type Declarations
****************************************************************************/
#ifndef __ASSEMBLY__
/* These are the sizes of the standard integer types. NOTE that these type
* names have a leading underscore character. This file will be included
* (indirectly) by include/stdint.h and typedef'ed to the final name without
* the underscore character. This roundabout way of doings things allows
* the stdint.h to be removed from the include/ directory in the event that
* the user prefers to use the definitions provided by their toolchain header
* files
*/
typedef signed char _int8_t;
typedef unsigned char _uint8_t;
typedef signed short _int16_t;
typedef unsigned short _uint16_t;
typedef signed int _int32_t;
typedef unsigned int _uint32_t;
typedef signed long long _int64_t;
typedef unsigned long long _uint64_t;
#define __INT64_DEFINED
/* A pointer is 4 bytes */
typedef signed int _intptr_t;
typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by
* up_irq_save()
*/
typedef unsigned long irqstate_t;
#endif /* __ASSEMBLY__ */
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
#endif /* __ARCH_RENESAS_INCLUDE_SH1_TYPES_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/syscall.h
* arch/renesas/include/syscall.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* through include/syscall.h or include/sys/sycall.h
*/
#ifndef __ARCH_SH_INCLUDE_SYSCALL_H
#define __ARCH_SH_INCLUDE_SYSCALL_H
#ifndef __ARCH_RENESAS_INCLUDE_SYSCALL_H
#define __ARCH_RENESAS_INCLUDE_SYSCALL_H
/****************************************************************************
* Included Files
@ -79,5 +79,5 @@ extern "C"
#endif
#endif
#endif /* __ARCH_SH_INCLUDE_SYSCALL_H */
#endif /* __ARCH_RENESAS_INCLUDE_SYSCALL_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/types.h
* arch/renesas/include/types.h
*
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* through sys/types.h
*/
#ifndef __ARCH_SH_INCLUDE_TYPES_H
#define __ARCH_SH_INCLUDE_TYPES_H
#ifndef __ARCH_RENESAS_INCLUDE_TYPES_H
#define __ARCH_RENESAS_INCLUDE_TYPES_H
/****************************************************************************
* Included Files
@ -58,4 +58,4 @@
* Public Function Prototypes
****************************************************************************/
#endif /* __ARCH_SH_INCLUDE_TYPES_H */
#endif /* __ARCH_RENESAS_INCLUDE_TYPES_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/include/watchdog.h
* arch/renesas/include/watchdog.h
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __ARCH_SH_INCLUDE_WATCHDOG_H
#define __ARCH_SH_INCLUDE_WATCHDOG_H
#ifndef __ARCH_RENESAS_INCLUDE_WATCHDOG_H
#define __ARCH_RENESAS_INCLUDE_WATCHDOG_H
/****************************************************************************
* Included Files
@ -56,4 +56,4 @@
* Public Functions
****************************************************************************/
#endif /* __ARCH_SH_INCLUDE_WATCHDOG_H */
#endif /* __ARCH_RENESAS_INCLUDE_WATCHDOG_H */

View File

@ -1,5 +1,5 @@
############################################################################
# arch/sh/src/Makefile
# arch/renesas/src/Makefile
#
# Copyright (C) 2008, 2011-2012, 2014, 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_allocateheap.c
* arch/renesas/src/common/up_allocateheap.c
*
* Copyright (C) 2008, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_arch.h
* arch/renesas/src/common/up_arch.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef ___ARCH_SH_SRC_COMMON_UP_ARCH_H
#define ___ARCH_SH_SRC_COMMON_UP_ARCH_H
#ifndef ___ARCH_RENESAS_SRC_COMMON_UP_ARCH_H
#define ___ARCH_RENESAS_SRC_COMMON_UP_ARCH_H
/****************************************************************************
* Included Files
@ -67,4 +67,4 @@
#endif
#endif /* ___ARCH_SH_SRC_COMMON_UP_ARCH_H */
#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_ARCH_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_assert.c
* arch/renesas/src/common/up_assert.c
*
* Copyright (C) 2008-2009, 2012-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_blocktask.c
* arch/renesas/src/common/up_blocktask.c
*
* Copyright (C) 2008-2009, 2013-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_createstack.c
* arch/renesas/src/common/up_createstack.c
*
* Copyright (C) 2008-2009, 2013-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_doirq.c
* arch/renesas/src/common/up_doirq.c
*
* Copyright (C) 2008-2009, 2011, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_idle.c
* arch/renesas/src/common/up_idle.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_initialize.c
* arch/renesas/src/common/up_initialize.c
*
* Copyright (C) 2008-2010, 2012-2013, 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_internal.h
* arch/renesas/src/common/up_internal.h
*
* Copyright (C) 2008-2009, 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef ___ARCH_SH_SRC_COMMON_UP_INTERNAL_H
#define ___ARCH_SH_SRC_COMMON_UP_INTERNAL_H
#ifndef ___ARCH_RENESAS_SRC_COMMON_UP_INTERNAL_H
#define ___ARCH_RENESAS_SRC_COMMON_UP_INTERNAL_H
/****************************************************************************
* Included Files
@ -237,4 +237,4 @@ void up_dumpstate(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* ___ARCH_SH_SRC_COMMON_UP_INTERNAL_H */
#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_INTERNAL_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_interruptcontext.c
* arch/renesas/src/common/up_interruptcontext.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_lowputs.c
* arch/renesas/src/common/up_lowputs.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_mdelay.c
* arch/renesas/src/common/up_mdelay.c
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_puts.c
* arch/renesas/src/common/up_puts.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_releasepending.c
* arch/renesas/src/common/up_releasepending.c
*
* Copyright (C) 2008-2009, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_releasestack.c
* arch/renesas/src/common/up_releasestack.c
*
* Copyright (C) 2008-2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_reprioritizertr.c
* arch/renesas/src/common/up_reprioritizertr.c
*
* Copyright (C) 2008-2009, 2011, 2013-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_stackframe.c
* arch/renesas/src/common/up_stackframe.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_udelay.c
* arch/renesas/src/common/up_udelay.c
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_unblocktask.c
* arch/renesas/src/common/up_unblocktask.c
*
* Copyright (C) 2008-2009, 2013-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/common/up_usestack.c
* arch/renesas/src/common/up_usestack.c
*
* Copyright (C) 2008-2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
##############################################################################
# arch/sh/src/m16c/Make.defs
# arch/renesas/src/m16c/Make.defs
#
# Copyright (C) 2009, 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/m16c/chip.h
* arch/renesas/src/m16c/chip.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_SH_SRC_M16C_CHIP_H
#define __ARCH_SH_SRC_M16C_CHIP_H
#ifndef __ARCH_RENESAS_SRC_M16C_CHIP_H
#define __ARCH_RENESAS_SRC_M16C_CHIP_H
/************************************************************************************
* Included Files
@ -278,4 +278,4 @@ extern uint32_t g_idle_topstack; /* Start of the heap */
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_SH_SRC_M16C_CHIP_H */
#endif /* __ARCH_RENESAS_SRC_M16C_CHIP_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/up_copystate.c
* arch/renesas/src/m16c/up_copystate.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_assert.c
* arch/renesas/src/m16c/m16c_assert.c
*
* Copyright (C) 2009, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/m16c/m16c_head.S
* arch/renesas/src/m16c/m16c_head.S
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_initialstate.c
* arch/renesas/src/m16c/m16c_initialstate.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_irq.c
* arch/renesas/src/m16c/m16c_irq.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_lowputc.c
* arch/renesas/src/m16c/m16c_lowputc.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_schedulesigaction.c
* arch/renesas/src/m16c/m16c_schedulesigaction.c
*
* Copyright (C) 2009-2010, 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_serial.c
* arch/renesas/src/m16c/m16c_serial.c
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_sigdeliver.c
* arch/renesas/src/m16c/m16c_sigdeliver.c
*
* Copyright (C) 2009-2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/m16c/m16c_timer.h
* arch/renesas/src/m16c/m16c_timer.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_SH_SRC_M16C_M16C_TIMER_H
#define __ARCH_SH_SRC_M16C_M16C_TIMER_H
#ifndef __ARCH_RENESAS_SRC_M16C_M16C_TIMER_H
#define __ARCH_RENESAS_SRC_M16C_M16C_TIMER_H
/************************************************************************************
* Included Files
@ -223,4 +223,4 @@
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_SH_SRC_M16C_M16C_TIMER_H */
#endif /* __ARCH_RENESAS_SRC_M16C_M16C_TIMER_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/m16c/m16c_timerisr.c
* arch/renesas/src/m16c/m16c_timerisr.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/m16c/m16c_uart.h
* arch/renesas/src/m16c/m16c_uart.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_SH_SRC_M16C_M16C_UART_H
#define __ARCH_SH_SRC_M16C_M16C_UART_H
#ifndef __ARCH_RENESAS_SRC_M16C_M16C_UART_H
#define __ARCH_RENESAS_SRC_M16C_M16C_UART_H
/************************************************************************************
* Included Files
@ -142,4 +142,4 @@
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_SH_SRC_M16C_M16C_UART_H */
#endif /* __ARCH_RENESAS_SRC_M16C_M16C_UART_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/m16c/m16c_vectors.S
* arch/renesas/src/m16c/m16c_vectors.S
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
##############################################################################
# arch/sh/src/sh1/Make.defs
# arch/renesas/src/sh1/Make.defs
#
# Copyright (C) 2008, 2009, 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/sh1/chip.h
* arch/renesas/src/sh1/chip.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_SH_SRC_SH1_CHIP_H
#define __ARCH_SH_SRC_SH1_CHIP_H
#ifndef __ARCH_RENESAS_SRC_SH1_CHIP_H
#define __ARCH_RENESAS_SRC_SH1_CHIP_H
/************************************************************************************
* Included Files
@ -71,4 +71,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_SH_SRC_SH1_CHIP_H */
#endif /* __ARCH_RENESAS_SRC_SH1_CHIP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/sh/src/sh1/sh1_703x.h
* arch/renesas/src/sh1/sh1_703x.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_SH_SRC_SH1_703X_H
#define __ARCH_SH_SRC_SH1_703X_H
#ifndef __ARCH_RENESAS_SRC_SH1_703X_H
#define __ARCH_RENESAS_SRC_SH1_703X_H
/************************************************************************************
* Included Files
@ -459,7 +459,7 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_SH_SRC_SH1_703X_H */
#endif /* __ARCH_RENESAS_SRC_SH1_703X_H */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/up_copystate.c
* arch/renesas/src/sh1/up_copystate.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_assert.c
* arch/renesas/src/sh1/sh1_assert.c
*
* Copyright (C) 2008-2009, 2011, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/*****************************************************************************
* arch/sh/src/sh1/sh1_head.S
* arch/renesas/src/sh1/sh1_head.S
*
* Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_initialstate.c
* arch/renesas/src/sh1/sh1_initialstate.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_irq.c
* arch/renesas/src/sh1/sh1_irq.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_lowputc.c
* arch/renesas/src/sh1/sh1_lowputc.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************
* arch/sh/src/sh1/sh1_saveusercontext.S
* arch/renesas/src/sh1/sh1_saveusercontext.S
*
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_schedulesigaction.c
* arch/renesas/src/sh1/sh1_schedulesigaction.c
*
* Copyright (C) 2008-2010, 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_serial.c
* arch/renesas/src/sh1/sh1_serial.c
*
* Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* arch/sh/src/sh1/sh1_timerisr.c
* arch/renesas/src/sh1/sh1_timerisr.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/*****************************************************************************
* arch/sh/src/sh1/sh1_vector.S
* arch/renesas/src/sh1/sh1_vector.S
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -59,7 +59,7 @@ CONFIG_ARCH_SH=y
# CONFIG_ARCH_X86 is not set
# CONFIG_ARCH_Z16 is not set
# CONFIG_ARCH_Z80 is not set
CONFIG_ARCH="sh"
CONFIG_ARCH="renesas"
CONFIG_ARCH_CHIP="m16c"
# CONFIG_ARCH_CHIP_SH7032 is not set
CONFIG_ARCH_CHIP_M30262F8=y

View File

@ -110,9 +110,9 @@ specific to the SH-1
Architecture selection
CONFIG_ARCH - identifies the arch subdirectory and, hence, the
processor architecture. This should be sh (for arch/sh)
processor architecture. This should be sh (for arch/renesas)
CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory.
This should be sh1 (for arch/sh/src/sh1 and arch/sh/include/sh1)
This should be sh1 (for arch/renesas/src/sh1 and arch/renesas/include/sh1)
CONFIG_ARCH_SH1 and CONFIG_ARCH_CHIP_SH7032 - for use in C code. These
identify the particular chip or SoC that the architecture is
implemented in.

View File

@ -59,7 +59,7 @@ CONFIG_ARCH_SH=y
# CONFIG_ARCH_X86 is not set
# CONFIG_ARCH_Z16 is not set
# CONFIG_ARCH_Z80 is not set
CONFIG_ARCH="sh"
CONFIG_ARCH="renesas"
CONFIG_ARCH_CHIP="sh1"
CONFIG_ARCH_CHIP_SH7032=y
# CONFIG_ARCH_CHIP_M30262F8 is not set

View File

@ -59,7 +59,7 @@ CONFIG_ARCH_SH=y
# CONFIG_ARCH_X86 is not set
# CONFIG_ARCH_Z16 is not set
# CONFIG_ARCH_Z80 is not set
CONFIG_ARCH="sh"
CONFIG_ARCH="renesas"
CONFIG_ARCH_CHIP="sh1"
CONFIG_ARCH_CHIP_SH7032=y
# CONFIG_ARCH_CHIP_M30262F8 is not set