source: rtems/bsps/mips/shared/irq/interruptmask.c @ 8f8ccee

5
Last change on this file since 8f8ccee was 8f8ccee, checked in by Sebastian Huber <sebastian.huber@…>, on 04/23/18 at 07:50:39

bsps: Move interrupt controller support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 653 bytes
Line 
1/**
2 *  @file
3 * 
4 */
5
6/*
7 *  COPYRIGHT (c) 1989-2012.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.org/license/LICENSE.
13 */
14
15#include <rtems.h>
16
17/*
18 *  This function returns a mask value which is used to select the bits
19 *  in the processor status register that can be set to enable interrupts.
20 *  The mask value should not include the 2 software interrupt enable bits.
21 */
22
23uint32_t mips_interrupt_mask( void )
24{
25  uint32_t interrupt_mask;
26
27  interrupt_mask = 0x0000fc00;
28  return(interrupt_mask);
29}
Note: See TracBrowser for help on using the repository browser.