1    /* --COPYRIGHT--,TI
     2     * Copyright (c) $(CPYYEAR)
     3     * Texas Instruments
     4     *
     5     *  All rights reserved.  Property of Texas Instruments
     6     *  Restricted rights to use, duplicate or disclose this code are
     7     *  granted through contract.
     8     * 
     9     * --/COPYRIGHT--*/
    10    /*
    11     *  ======== Interrupt.xdc ========
    12     *
    13     *! Revision History
    14     *! ================
    15     *! 22-Oct-09   jv      Created!
    16     */
    17    
    18    
    19    /*!
    20     *  ======== Interrupt ======== 
    21     *  c6472 based interrupt manager
    22     */
    23    module Interrupt inherits ti.sdo.ipc.notifyDrivers.IInterrupt
    24    {
    25    
    26        config Ptr IPCGR0;
    27        config Ptr IPCAR0;
    28        
    29        /*! Inter-processor interrupt id */
    30        config UInt INTERDSPINT;
    31        
    32        /*! Number of cores */
    33        config UInt numCores;
    34    
    35    internal:
    36    
    37        /*! Function table */
    38        struct FxnTable {
    39            Fxn    func;
    40            UArg   arg;
    41        }
    42        
    43        /*!
    44         *  ======== intShmStub ========
    45         *  Stub function plugged as interrupt handler
    46         */
    47        Void intShmStub(UArg arg);
    48    
    49        struct Module_State {
    50            FxnTable   fxnTable[];  /* One entry for each core */
    51            UInt       numPlugged;  /* # of times the interrupt was registered */
    52        };
    53    }