Rename _IrqVectorTable to _irq_vector_table

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: Id3f9096f28a1bf98035c6a531cd8d2dc66e6448a
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:12:46 -05:00 committed by Anas Nashif
commit 817e2b275f
6 changed files with 8 additions and 8 deletions

View file

@ -154,7 +154,7 @@ SECTION_FUNC(TEXT, _GdbStubIrqVectorTableEntry)
mrs r0, IPSR /* get exception number */
sub r0, r0, #16 /* get IRQ number */
ldr r1, =_IrqVectorTable
ldr r1, =_irq_vector_table
/* grab real ISR at address: r1 + (r0 << 2) (table is 4-byte wide) */
ldr r1, [r1, r0, LSL #2]

View file

@ -60,7 +60,7 @@ typedef void (*vth)(void); /* Vector Table Handler */
#if defined(CONFIG_SW_ISR_TABLE)
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
vth __irq_vector_table _irq_vector_table[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _isr_wrapper,
};
@ -85,7 +85,7 @@ static void _bt_uart_isr(void)
#endif /* CONFIG_BLUETOOTH_UART */
/* placeholders: fill with real ISRs */
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
vth __irq_vector_table _irq_vector_table[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _irq_spurious,
#if defined(CONFIG_CONSOLE_HANDLER)
[CONFIG_UART_CONSOLE_IRQ] = _uart_console_isr,

View file

@ -60,7 +60,7 @@ typedef void (*vth)(void); /* Vector Table Handler */
#if defined(CONFIG_SW_ISR_TABLE)
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
vth __irq_vector_table _irq_vector_table[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _isr_wrapper,
};
@ -85,7 +85,7 @@ static void _bt_uart_isr(void)
#endif /* CONFIG_BLUETOOTH_UART */
/* placeholders: fill with real ISRs */
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] = {
vth __irq_vector_table _irq_vector_table[CONFIG_NUM_IRQS] = {
[0 ...(CONFIG_NUM_IRQS - 1)] = _irq_spurious,
#if defined(CONFIG_CONSOLE_HANDLER)
[CONFIG_UART_CONSOLE_IRQ] = _uart_console_isr,

View file

@ -10,5 +10,5 @@
# Diab does not understand the EXTERN() linker language pseudo-function
vARCH_UNDEF_SYMS = $(strip \
_IrqVectorTable \
_irq_vector_table \
)

View file

@ -42,6 +42,6 @@ iARCH_UNDEF_SYMS_SW_ISR_TABLE = ${iARCH_UNDEF_SYMS_SW_ISR_TABLE__${CONFIG_SW_ISR
iARCH_UNDEF_SYMS_GDB_STUBS_yn = _GdbStubIrqVectorTable
vARCH_UNDEF_SYMS = $(strip \
_IrqVectorTable \
_irq_vector_table \
${iARCH_UNDEF_SYMS_GDB_STUBS_${iARCH_UNDEF_SYMS_GDB_INFO}${iARCH_UNDEF_SYMS_SW_ISR_TABLE}} \
)

View file

@ -132,7 +132,7 @@ get_out:
}
typedef void (*vth)(void); /* Vector Table Handler */
vth __irq_vector_table _IrqVectorTable[CONFIG_NUM_IRQS] =
vth __irq_vector_table _irq_vector_table[CONFIG_NUM_IRQS] =
{
isr0, isr1, isr2
};