|
||||
Warning, cross-references for /kernel/include/util/debug.h need to be fixed.
0001 /* The Quest Operating System 0002 * Copyright (C) 2005-2010 Richard West, Boston University 0003 * 0004 * This program is free software: you can redistribute it and/or modify 0005 * it under the terms of the GNU General Public License as published by 0006 * the Free Software Foundation, either version 3 of the License, or 0007 * (at your option) any later version. 0008 * 0009 * This program is distributed in the hope that it will be useful, 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 * GNU General Public License for more details. 0013 * 0014 * You should have received a copy of the GNU General Public License 0015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0016 */ 0017 0018 #ifndef _DEBUG_H_ 0019 #define _DEBUG_H_ 0020 0021 extern void com1_putc (char); 0022 extern void com1_puts (char *); 0023 extern void com1_putx (uint32); 0024 0025 void logger_printf (const char *fmt, ...); 0026 #define DLOG_PREFIX(pre,fmt,...) logger_printf (pre": "fmt"\n", ##__VA_ARGS__) 0027 0028 extern bool logger_init (void); 0029 extern void logger_putc (char); 0030 0031 void stacktrace_frame (uint esp, uint ebp); 0032 void stacktrace (void); 0033 0034 extern void dump_page (u8 *); 0035 0036 extern void crash_debug (char *); 0037 0038 #endif 0039 0040 /* 0041 * Local Variables: 0042 * indent-tabs-mode: nil 0043 * mode: C 0044 * c-file-style: "gnu" 0045 * c-basic-offset: 2 0046 * End: 0047 */ 0048 0049 /* vi: set et sw=2 sts=2: */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 1.2.0 LXR engine. |