Rename _GdbStubIrqVectorTableEntry to _irq_vector_table_entry_with_gdb_stub

Updating global variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" -o -name "*.arch" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: I4f0c65fb93cfac7d91d89c034a4bccd46d33a2f0
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:12:50 -05:00 committed by Anas Nashif
commit 084f2ce4ae
3 changed files with 6 additions and 6 deletions

View file

@ -131,7 +131,7 @@ SECTION_FUNC(TEXT, _GdbStubExcExit)
/*******************************************************************************
*
* _GdbStubIrqVectorTableEntry - stub for ISRs installed directly in
* _irq_vector_table_entry_with_gdb_stub - stub for ISRs installed directly in
* vector table
*
* VxMicro on Cortex-M3/4 allows users to configure the kernel such that
@ -148,7 +148,7 @@ SECTION_FUNC(TEXT, _GdbStubExcExit)
* RETURNS: N/A
*/
SECTION_FUNC(TEXT, _GdbStubIrqVectorTableEntry)
SECTION_FUNC(TEXT, _irq_vector_table_entry_with_gdb_stub)
_GDB_STUB_EXC_ENTRY

View file

@ -33,7 +33,7 @@
/*
DESCRIPTION
When GDB is enabled, the static IRQ vector table needs to install the
_GdbStubIrqVectorTableEntry stub to do some work before calling the
_irq_vector_table_entry_with_gdb_stub stub to do some work before calling the
user-installed ISRs.
*/
@ -46,7 +46,7 @@ typedef void (*vth)(void); /* Vector Table Handler */
#if defined(CONFIG_GDB_INFO) && !defined(CONFIG_SW_ISR_TABLE)
vth __gdb_stub_irq_vector_table _irq_vector_table_with_gdb_stub[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _GdbStubIrqVectorTableEntry
[0 ...(CONFIG_NUM_IRQS - 1)] = _irq_vector_table_entry_with_gdb_stub
};
#endif /* CONFIG_GDB_INFO && !CONFIG_SW_ISR_TABLE */

View file

@ -62,7 +62,7 @@ _GDB_STUB_EXC_EXIT: .macro
pop {lr}
.endm
GTEXT(_GdbStubIrqVectorTableEntry)
GTEXT(_irq_vector_table_entry_with_gdb_stub)
#else
#define _GDB_STUB_EXC_ENTRY
@ -70,6 +70,6 @@ GTEXT(_GdbStubIrqVectorTableEntry)
#endif /* CONFIG_GDB_INFO */
#else
extern void _GdbStubIrqVectorTableEntry(void);
extern void _irq_vector_table_entry_with_gdb_stub(void);
#endif /* _ASMLANGUAGE */
#endif /* _GDB_STUB__H_ */