summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/thread.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index 0b1500cd99..dd97ab1e83 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -279,12 +279,10 @@ struct thread_entry
279#define TBOP_UNLOCK_CORELOCK 0x04 279#define TBOP_UNLOCK_CORELOCK 0x04
280#define TBOP_UNLOCK_THREAD 0x08 /* Unlock a thread's slot */ 280#define TBOP_UNLOCK_THREAD 0x08 /* Unlock a thread's slot */
281#define TBOP_UNLOCK_CURRENT 0x10 /* Unlock the current thread's slot */ 281#define TBOP_UNLOCK_CURRENT 0x10 /* Unlock the current thread's slot */
282#define TBOP_IRQ_LEVEL 0x20 /* Set a new irq level */ 282#define TBOP_SWITCH_CORE 0x20 /* Call the core switch preparation routine */
283#define TBOP_SWITCH_CORE 0x40 /* Call the core switch preparation routine */
284 283
285struct thread_blk_ops 284struct thread_blk_ops
286{ 285{
287 int irq_level; /* new IRQ level to set */
288#if CONFIG_CORELOCK != SW_CORELOCK 286#if CONFIG_CORELOCK != SW_CORELOCK
289 union 287 union
290 { 288 {
@@ -330,9 +328,6 @@ struct core_entry
330#if NUM_CORES > 1 328#if NUM_CORES > 1
331 struct thread_blk_ops blk_ops; /* operations to perform when 329 struct thread_blk_ops blk_ops; /* operations to perform when
332 blocking a thread */ 330 blocking a thread */
333#else
334 #define STAY_IRQ_LEVEL (-1)
335 int irq_level; /* sets the irq level to irq_level */
336#endif /* NUM_CORES */ 331#endif /* NUM_CORES */
337#ifdef HAVE_PRIORITY_SCHEDULING 332#ifdef HAVE_PRIORITY_SCHEDULING
338 unsigned char highest_priority; 333 unsigned char highest_priority;