Changeset 6c45da17 in rtems


Ignore:
Timestamp:
Jul 15, 1998, 7:12:11 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
100a4e5
Parents:
01e54b8
Message:

Added routine to return interrupt mask. Added comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c

    r01e54b8 r6c45da17  
    101101 * Set the registers pointer to the base address of the SCV64
    102102 */
    103 
    104103SCV64_Registers *SCV64 =  (void *)DMV170_SCV64_BASE_ADDRESS;
    105104
     105/*
     106 *  SCV64_Initialize
     107 *
     108 *  This routine initializes the SCV64.
     109 */
    106110void SCV64_Initialize() {
    107111  SCV64->LIE = 0;
    108112}
    109113 
     114/*
     115 *  SCV64_Generate_DUART_Interrupts
     116 *
     117 *  This sets the SCV64 to generate duart interrupts for
     118 *  the DMV177 board.
     119 */
    110120void SCV64_Generate_DUART_Interrupts() {
    111121
     
    127137}
    128138
     139/*
     140 *  SCV64_Get_Interrupt
     141 *
     142 *  This routine returns the SCV64 status register.
     143 */
    129144rtems_unsigned32 SCV64_Get_Interrupt()
    130145{
     
    139154}
    140155
    141 
    142 
     156/*
     157 * SCV64_Get_Interrupt_Enable
     158 *
     159 * This routine returns the interrupt enable mask.
     160 */
     161rtems_unsigned32 SCV64_Get_Interrupt_Enable()
     162{
     163  /*
     164   * Return the set of interrupts enabled.
     165   */
     166  return SCV64->LIE;
     167}
Note: See TracChangeset for help on using the changeset viewer.