Rename VXMICRO_ARCH_arc -> CONFIG_ARC

Change-Id: I4aca181523f50f43ee01e1be0c20a9ad844ef618
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-06-05 22:27:49 -04:00
commit f2520f87a2
6 changed files with 12 additions and 12 deletions

View file

@ -37,7 +37,7 @@
#include <arch/x86/arch.h> #include <arch/x86/arch.h>
#elif defined(CONFIG_ARM) #elif defined(CONFIG_ARM)
#include <arch/arm/arch.h> #include <arch/arm/arch.h>
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
#include <arch/arc/arch.h> #include <arch/arc/arch.h>
#else #else
#error "Unknown VXMICRO_ARCH" #error "Unknown VXMICRO_ARCH"

View file

@ -49,7 +49,7 @@ This file may be included by:
#include <arch/x86/linker-defs-arch.h> #include <arch/x86/linker-defs-arch.h>
#elif defined(CONFIG_ARM) #elif defined(CONFIG_ARM)
/* Nothing yet to include */ /* Nothing yet to include */
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
/* Nothing yet to include */ /* Nothing yet to include */
#else #else
#error Arch not supported. #error Arch not supported.

View file

@ -60,7 +60,7 @@
_FILE_PATH_HASH, __COUNTER__) _FILE_PATH_HASH, __COUNTER__)
#endif /* CONFIG_GDB_INFO && !CONFIG_SW_ISR_TABLE */ #endif /* CONFIG_GDB_INFO && !CONFIG_SW_ISR_TABLE */
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
#define __irq_vector_table \ #define __irq_vector_table \
__section(IRQ_VECTOR_TABLE, _FILE_PATH_HASH, __COUNTER__) __section(IRQ_VECTOR_TABLE, _FILE_PATH_HASH, __COUNTER__)
@ -68,7 +68,7 @@
#define __isr_table_section \ #define __isr_table_section \
__section(ISR_TABLE_SECTION, _FILE_PATH_HASH, __COUNTER__) __section(ISR_TABLE_SECTION, _FILE_PATH_HASH, __COUNTER__)
#endif /* VXMICRO_ARCH_arc */ #endif /* CONFIG_ARC */
#endif /* !_ASMLANGUAGE */ #endif /* !_ASMLANGUAGE */

View file

@ -79,7 +79,7 @@
#define GDB_STUB_IRQ_VECTOR_TABLE gdb_stub_irq_vector_table #define GDB_STUB_IRQ_VECTOR_TABLE gdb_stub_irq_vector_table
#endif /* CONFIG_GDB_INFO && !CONFIG_SW_ISR_TABLE */ #endif /* CONFIG_GDB_INFO && !CONFIG_SW_ISR_TABLE */
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
#ifdef CONFIG_SW_ISR_TABLE_DYNAMIC #ifdef CONFIG_SW_ISR_TABLE_DYNAMIC
#define ISR_TABLE_SECTION DATA #define ISR_TABLE_SECTION DATA

View file

@ -101,7 +101,7 @@ Macros to abstract compiler capabilities (common to all toolchains).
#define PERFOPT_ALIGN .balign 4 #define PERFOPT_ALIGN .balign 4
#endif #endif
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
#define PERFOPT_ALIGN .balign 4 #define PERFOPT_ALIGN .balign 4

View file

@ -173,7 +173,7 @@ A##a:
#define GDATA(sym) .global FUNC(sym); .type FUNC(sym),%object #define GDATA(sym) .global FUNC(sym); .type FUNC(sym),%object
#define WTEXT(sym) .weak FUNC(sym); .type FUNC(sym),%function #define WTEXT(sym) .weak FUNC(sym); .type FUNC(sym),%function
#define WDATA(sym) .weak FUNC(sym); .type FUNC(sym),%object #define WDATA(sym) .weak FUNC(sym); .type FUNC(sym),%object
#elif defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_ARC)
/* /*
* Need to use assembly macros because ';' is interpreted as the start of * Need to use assembly macros because ';' is interpreted as the start of
* a single line comment in the ARC assembler. * a single line comment in the ARC assembler.
@ -191,7 +191,7 @@ A##a:
#define GTEXT(sym) glbl_text sym #define GTEXT(sym) glbl_text sym
#define GDATA(sym) glbl_data sym #define GDATA(sym) glbl_data sym
#else /* !CONFIG_ARM && !VXMICRO_ARCH_arc */ #else /* !CONFIG_ARM && !CONFIG_ARC */
#define GTEXT(sym) .globl FUNC(sym); .type FUNC(sym),@function #define GTEXT(sym) .globl FUNC(sym); .type FUNC(sym),@function
#define GDATA(sym) .globl FUNC(sym); .type FUNC(sym),@object #define GDATA(sym) .globl FUNC(sym); .type FUNC(sym),@object
#endif #endif
@ -206,7 +206,7 @@ A##a:
* if all functions in the sub-section are not referenced. * if all functions in the sub-section are not referenced.
*/ */
#if defined(VXMICRO_ARCH_arc) #if defined(CONFIG_ARC)
/* /*
* Need to use assembly macros because ';' is interpreted as the start of * Need to use assembly macros because ';' is interpreted as the start of
* a single line comment in the ARC assembler. * a single line comment in the ARC assembler.
@ -238,7 +238,7 @@ A##a:
#define SECTION_FUNC(sect, sym) section_func sect, sym #define SECTION_FUNC(sect, sym) section_func sect, sym
#define SECTION_SUBSEC_FUNC(sect, subsec, sym) \ #define SECTION_SUBSEC_FUNC(sect, subsec, sym) \
section_subsec_func sect, subsec, sym section_subsec_func sect, subsec, sym
#else /* !VXMICRO_ARCH_arc */ #else /* !CONFIG_ARC */
#define SECTION_VAR(sect, sym) .section .sect.FUNC(sym); FUNC(sym): #define SECTION_VAR(sect, sym) .section .sect.FUNC(sym); FUNC(sym):
#define SECTION_FUNC(sect, sym) \ #define SECTION_FUNC(sect, sym) \
@ -249,7 +249,7 @@ A##a:
#define SECTION_SUBSEC_FUNC(sect, subsec, sym) \ #define SECTION_SUBSEC_FUNC(sect, subsec, sym) \
.section .sect.subsec, "ax"; PERFOPT_ALIGN; FUNC(sym): .section .sect.subsec, "ax"; PERFOPT_ALIGN; FUNC(sym):
#endif /* VXMICRO_ARCH_arc */ #endif /* CONFIG_ARC */
#endif /* _ASMLANGUAGE && !_LINKER */ #endif /* _ASMLANGUAGE && !_LINKER */
@ -294,7 +294,7 @@ A##a:
",%B0" \ ",%B0" \
"\n\t.type\t" #name ",%%object" : : "n"(~(value))) "\n\t.type\t" #name ",%%object" : : "n"(~(value)))
#elif defined(CONFIG_X86_32) || defined(VXMICRO_ARCH_arc) #elif defined(CONFIG_X86_32) || defined(CONFIG_ARC)
#define GEN_ABSOLUTE_SYM(name, value) \ #define GEN_ABSOLUTE_SYM(name, value) \
__asm__(".globl\t" #name "\n\t.equ\t" #name \ __asm__(".globl\t" #name "\n\t.equ\t" #name \