[kernel] Specification interrupt nested level variable declaration type (#9568)

This commit is contained in:
Yuqiang Wang
2024-10-23 17:08:29 -04:00
committed by GitHub
parent 40124ca12b
commit b3d59050b0
36 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
#define MAX_HANDLERS 32
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
rt_uint32_t rt_thread_switch_interrupt_flag;
+1 -1
View File
@@ -18,7 +18,7 @@
/* exception and interrupt handler table */
struct rt_irq_desc irq_desc[MAX_HANDLERS];
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
rt_uint32_t rt_thread_switch_interrupt_flag;
+1 -1
View File
@@ -19,7 +19,7 @@
#define MAX_HANDLERS 128
extern volatile rt_uint8_t rt_interrupt_nest;
extern volatile rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc isr_table[MAX_HANDLERS];
+1 -1
View File
@@ -22,7 +22,7 @@
/* exception and interrupt handler table */
struct rt_irq_desc irq_desc[MAX_HANDLERS];
extern volatile rt_uint8_t rt_interrupt_nest;
extern volatile rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
+1 -1
View File
@@ -16,7 +16,7 @@
#define MAX_HANDLERS 32
#define SVCMODE 0x13
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc irq_desc[MAX_HANDLERS];
+1 -1
View File
@@ -18,7 +18,7 @@
/* exception and interrupt handler table */
struct rt_irq_desc irq_desc[MAX_HANDLERS];
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
+1 -1
View File
@@ -16,7 +16,7 @@
#define MAX_HANDLERS NR_IRQS_PBA8
extern volatile rt_uint8_t rt_interrupt_nest;
extern volatile rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc isr_table[MAX_HANDLERS];
+1 -1
View File
@@ -15,7 +15,7 @@
#define MAX_HANDLERS 32
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc isr_table[MAX_HANDLERS];
+1 -1
View File
@@ -15,7 +15,7 @@
#define MAX_HANDLERS 26
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
rt_isr_handler_t isr_table[MAX_HANDLERS];
+1 -1
View File
@@ -15,7 +15,7 @@
#define MAX_HANDLERS 32
extern rt_uint32_t rt_interrupt_nest;
extern rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc isr_table[MAX_HANDLERS];
+1 -1
View File
@@ -16,7 +16,7 @@
#define MAX_HANDLERS IRQ_ZynqMP_MAXNR
extern volatile rt_uint8_t rt_interrupt_nest;
extern volatile rt_atomic_t rt_interrupt_nest;
/* exception and interrupt handler table */
struct rt_irq_desc isr_table[MAX_HANDLERS];