Choco OS
V.0.16.9.0
Join to the chocolate world
|
FILE__DESCRIPTION More...
#include <oc_debug.h>
#include <stdio.h>
#include <oc_kprint.h>
#include <oc_intman.h>
#include <string.h>
#include <oc_system.h>
Go to the source code of this file.
Functions | |
void | enkdebuglog (oC_LogType_t LogType) |
void | lockkdebuglog (void) |
void | unlockkdebuglog (void) |
bool | readlastkdebuglog (char *outString, oC_UInt_t Size) |
bool | readoldestkdebuglog (char *outString, oC_UInt_t Size) |
void | savekdebuglog (char *Log) |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_debug.c.
void enkdebuglog | ( | oC_LogType_t | LogType | ) |
Enables logs types
Definition at line 62 of file oc_debug.c.
void lockkdebuglog | ( | void | ) |
Locks kernel debug logs
Definition at line 72 of file oc_debug.c.
bool readlastkdebuglog | ( | char * | outString, |
oC_UInt_t | Size | ||
) |
Returns last kernel debug log
Definition at line 152 of file oc_debug.c.
bool readoldestkdebuglog | ( | char * | outString, |
oC_UInt_t | Size | ||
) |
Returns last kernel debug log
Definition at line 183 of file oc_debug.c.
void savekdebuglog | ( | char * | Log | ) |
Saves log
Definition at line 211 of file oc_debug.c.
void unlockkdebuglog | ( | void | ) |
Unlocks kernel debug logs
Definition at line 82 of file oc_debug.c.