1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2008 Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     * 
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     * 
    11     * --/COPYRIGHT--*/
    12    
    13    import xdc.runtime.IGateProvider;
    14    
    15    /*! 
    16     *  ======== GateGIE ========
    17     *  Global interrupt disable/enable implementation of `{@link IGateProvider}`
    18     *
    19     *  Instances of this gate implementation disable all interrupts and should only
    20     *  be used for modules in which the data structures protected by module-level
    21     *  gates are held for fixed short durations.
    22     */
    23    module GateGIE inherits IGateProvider {
    24    
    25    instance:
    26        /*!
    27         *  ======== create ========
    28         *  Create a `GateGIE` gate
    29         */
    30        create();
    31    
    32    internal:
    33        /*!
    34         *  ======== Instance_State ========
    35         */
    36        struct Instance_State { /* nothing needed for this implementation */
    37        };
    38    }