source: rtems/c/src/lib/libcpu/mips/shared/interrupts/interruptmask.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 497 bytes
RevLine 
[7c99007]1#include <rtems.h>
2
3/*
4 *  This function returns a mask value which is used to select the bits
5 *  in the processor status register that can be set to enable interrupts.
6 *  The mask value should not include the 2 software interrupt enable bits.
7 */
8
9uint32_t mips_interrupt_mask( void )
10{
11        uint32_t interrupt_mask;
12
13#ifdef TX49
14        interrupt_mask = 0x00000400;                    /* Toshiba TX49 processors have a non-standard interrupt mask */
15#else
16        interrupt_mask = 0x0000fc00;
17#endif
18
19        return(interrupt_mask);
20}
Note: See TracBrowser for help on using the repository browser.