gonzui


Format: Advanced Search

tkernel_2/lib/libtk/src/dbgmode.cbare sourcepermlink (0.01 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    T-Kernel 2.0 Software Package
    4:  *
    5:  *    Copyright 2011 by Ken Sakamura.
    6:  *    This software is distributed under the latest version of T-License 2.x.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
   10:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   11:  *
   12:  *----------------------------------------------------------------------
   13:  */
   14: 
   15: /*
   16:  *      @(#)dbgmode.c (libtk)
   17:  *
   18:  *      Kernel utilities
   19:  *      Get debug mode
   20:  */
   21: 
   22: #include <basic.h>
   23: #include <sys/util.h>
   24: #include <sys/sysinfo.h>
   25: 
   26: EXPORT BOOL _isDebugMode( void )
   27: {
   28:         return SCInfo.bm.c.debug;
   29: }