diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-14 17:33:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-17 08:05:31 +0200 |
commit | 2cc25cf1b22f36c00c774c3abff94b4ba5dcf26c (patch) | |
tree | 1cdc947b93a5c411c39421ab990a2538d46dc11a /cpukit/include/rtems/score/isr.h | |
parent | score: Improve parameters in _Thread_Change_life() (diff) | |
download | rtems-2cc25cf1b22f36c00c774c3abff94b4ba5dcf26c.tar.bz2 |
score: Add and use _Per_CPU_Is_ISR_in_progress()
Add _Per_CPU_Is_ISR_in_progress() as an optimized version of
_ISR_Is_in_progress().
Diffstat (limited to 'cpukit/include/rtems/score/isr.h')
-rw-r--r-- | cpukit/include/rtems/score/isr.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/include/rtems/score/isr.h b/cpukit/include/rtems/score/isr.h index 3c6a9f1e2c..47c24f3a72 100644 --- a/cpukit/include/rtems/score/isr.h +++ b/cpukit/include/rtems/score/isr.h @@ -147,18 +147,6 @@ void _ISR_Handler_initialization ( void ); */ void _ISR_Handler( void ); -/** - * @brief Checks if an ISR in progress. - * - * This function returns true if the processor is currently servicing - * and interrupt and false otherwise. A return value of true indicates - * that the caller is an interrupt service routine, NOT a thread. - * - * @retval true Returns true when called from an ISR. - * @retval false Returns false when not called from an ISR. - */ -bool _ISR_Is_in_progress( void ); - #ifdef __cplusplus } #endif |