kernel/eka/include/kernel/arm/assp.h
changeset 90 947f0dc9f7a8
parent 0 a41df078684a
equal deleted inserted replaced
52:2d65c2f76d7b 90:947f0dc9f7a8
    36 @released
    36 @released
    37 
    37 
    38 A class that exports interrupt functionality to device drivers and
    38 A class that exports interrupt functionality to device drivers and
    39 other kernel-side code.
    39 other kernel-side code.
    40 
    40 
    41 Although Symbian OS defines this class, it does not implement it;
    41 Although Symbian OS defines this class, it does not implement the majority
    42 an implementation for each of the functions defined by this class must
    42 of it; an implementation for each of the functions defined by this class, 
    43 be provided by the Variant in the baseport.
    43 with the exception of AddTimingEntropy, must be provided by the Variant in 
       
    44 the baseport.
    44 
    45 
    45 Note that the class only provides the public API for using interrupts,
    46 Note that the class only provides the public API for using interrupts,
    46 not for dispatching them.
    47 not for dispatching them.
    47 */
    48 */
    48 class Interrupt
    49 class Interrupt
   140     @return 	KErrNone, if successful; KErrArgument, if anId is invalid;
   141     @return 	KErrNone, if successful; KErrArgument, if anId is invalid;
   141                 KErrNotSuppported, if configurable interrupt priorities
   142                 KErrNotSuppported, if configurable interrupt priorities
   142                 are not supported.
   143                 are not supported.
   143     */
   144     */
   144 	IMPORT_C static TInt SetPriority(TInt anId, TInt aPriority);
   145 	IMPORT_C static TInt SetPriority(TInt anId, TInt aPriority);
       
   146 
       
   147     /**
       
   148     This function is implemented by the kernel. It adds the current, highest 
       
   149     resolution timestamp to the secure RNG's entropy pool.
       
   150     
       
   151     It should be called from the ISR of any device where the timing of interrupts
       
   152     would be considered random, for example the keyboard or digitiser drivers.
       
   153     */
       
   154 
       
   155     IMPORT_C static void AddTimingEntropy();
   145 	};
   156 	};
   146 
   157 
   147 /**
   158 /**
   148 @publishedPartner
   159 @publishedPartner
   149 @released
   160 @released