Ignore:
Timestamp:
Jan 12, 2021, 6:13:08 AM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
19acb3b
Parents:
c968b27
git-author:
Sebastian Huber <sebastian.huber@…> (01/12/21 06:13:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/01/21 05:26:18)
Message:

nios2: Use Per_CPU_Control::isr_dispatch_disable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/nios2/include/rtems/score/nios2-utility.h

    rc968b27 r9165349d  
    4848#define NIOS2_CONTEXT_OFFSET_SP 40
    4949#define NIOS2_CONTEXT_OFFSET_RA 44
    50 #define NIOS2_CONTEXT_OFFSET_THREAD_DISPATCH_DISABLED 48
     50#define NIOS2_CONTEXT_OFFSET_ISR_DISPATCH_DISABLE 48
    5151#define NIOS2_CONTEXT_OFFSET_STACK_MPUBASE 52
    5252#define NIOS2_CONTEXT_OFFSET_STACK_MPUACC 56
     
    145145
    146146/**
    147  * @brief Nios II specific thread dispatch disabled indicator.
    148  *
    149  * This global variable is used by the interrupt dispatch support for the
    150  * external interrupt controller (EIC) with shadow registers.  This makes it
    151  * possible to do the thread dispatch after an interrupt without disabled
    152  * interrupts and thus probably reduce the maximum interrupt latency.  Its
    153  * purpose is to prevent unbounded stack usage of the interrupted thread.
    154  */
    155 extern uint32_t _Nios2_Thread_dispatch_disabled;
    156 
    157 /**
    158147 * @brief This global symbol specifies the status register mask used to disable
    159148 * interrupts.
Note: See TracChangeset for help on using the changeset viewer.