RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions
irq-lock.c File Reference

This source file contains the implementation of bsp_interrupt_lock() and bsp_interrupt_unlock(). More...

#include <bsp/irq-generic.h>
#include <rtems/score/apimutex.h>
#include <rtems/score/sysstate.h>

Functions

void bsp_interrupt_lock (void)
 Acquires the interrupt support lock.
 
void bsp_interrupt_unlock (void)
 Releases the interrupt support lock.
 

Detailed Description

This source file contains the implementation of bsp_interrupt_lock() and bsp_interrupt_unlock().

Function Documentation

◆ bsp_interrupt_lock()

void bsp_interrupt_lock ( void  )

Acquires the interrupt support lock.

The interrupt support lock is a mutex. The mutex is only acquired if the system is the SYSTEM_STATE_UP state.

◆ bsp_interrupt_unlock()

void bsp_interrupt_unlock ( void  )

Releases the interrupt support lock.

The mutex is only released if the system is the SYSTEM_STATE_UP state.