diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-02-17 02:53:24 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-02-17 02:53:24 +0000 |
commit | d7d2d6fd4d301bfcbecc7e8ce70f15a656fbdd55 (patch) | |
tree | 51a5f75178a25dd190f2214ae76481ef350da5fb /nuttx/arch | |
parent | 2bd3d88d6a66a8a1cc3b5640bce959342e1761ec (diff) |
Complete coding of M16C port
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1510 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sh/src/common/up_internal.h | 6 | ||||
-rw-r--r-- | nuttx/arch/sh/src/sh1/chip.h | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h index 3c708a387c..204ef6ca0d 100644 --- a/nuttx/arch/sh/src/common/up_internal.h +++ b/nuttx/arch/sh/src/common/up_internal.h @@ -98,12 +98,6 @@ extern uint32 *current_regs; */ extern uint32 g_heapbase; - -/* Address of the saved user stack pointer */ - -#if CONFIG_ARCH_INTERRUPTSTACK > 3 -extern uint32 g_userstack; -#endif #endif /**************************************************************************** diff --git a/nuttx/arch/sh/src/sh1/chip.h b/nuttx/arch/sh/src/sh1/chip.h index bffa19bd94..c10322a13a 100644 --- a/nuttx/arch/sh/src/sh1/chip.h +++ b/nuttx/arch/sh/src/sh1/chip.h @@ -59,6 +59,14 @@ * Public Data ************************************************************************************/ +/* Address of the saved user stack pointer */ + +#ifndef __ASSEMBLY__ +# if CONFIG_ARCH_INTERRUPTSTACK > 3 + extern uint32 g_userstack; +# endif +#endif + /************************************************************************************ * Public Functions ************************************************************************************/ |