Ignore:
Timestamp:
Jul 12, 2017, 8:12:41 PM (5 years ago)
Author:
alain
Message:

Redefine the PIC device API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/printk.h

    r103 r188  
    8383
    8484/**********************************************************************************
    85  * This function displaya "PANIC" message and force the calling core in
     85 * This function displays a "PANIC" message and force the calling core in
    8686 * sleeping mode if a Boolean condition is false.
    8787 * These functions are actually used to debug the kernel...
     
    9595                    char       * string );
    9696
     97/**********************************************************************************
     98 * This function displays a "PANIC" message and force the calling core in
     99 * sleeping mode if a Boolean condition is false,
     100 * without taking the the lock protecting exclusive access to TXT0 terminal.
     101 **********************************************************************************
     102 * @ condition     : condition that must be true.
     103 * @ function_name : name of the calling function.
     104 * @ string        : error message if condition is false.
     105 *********************************************************************************/
     106inline void nolock_assert( bool_t       condition,
     107                           const char * function_name,
     108                           char       * string );
     109
    97110///////////////////////////////////////////////////////////////////////////////////
    98111//       Conditionnal debug macros
     
    171184#endif
    172185
    173 #if CONFIG_ICU_DEBUG
    174 #define icu_dmsg(...)   printk(__VA_ARGS__)
    175 #else
    176 #define icu_dmsg(...)
    177 #endif
    178 
    179186#if CONFIG_IDLE_DEBUG
    180187#define idle_dmsg(...) printk(__VA_ARGS__)
     
    187194#else
    188195#define ioc_dmsg(...)
     196#endif
     197
     198#if CONFIG_IRQ_DEBUG
     199#define irq_dmsg(...)   printk(__VA_ARGS__)
     200#else
     201#define irq_dmsg(...)
    189202#endif
    190203
Note: See TracChangeset for help on using the changeset viewer.