* [PATCH 2.6.27-rc3 6/29] mdb: add main include configuration file
@ 2008-08-14 6:14 jmerkey
0 siblings, 0 replies; only message in thread
From: jmerkey @ 2008-08-14 6:14 UTC (permalink / raw)
To: linux-kernel
add top level mdb.h include file. added focus processor internal tracing
and debugging defines.
Signed-off-by: Jeffrey Vernon Merkey (jmerkey@wolfmountaingroup.com)
--- a/debug/mdb/mdb.h 1969-12-31 17:00:00.000000000 -0700
+++ b/debug/mdb/mdb.h 2008-08-13 11:56:03.000000000 -0600
@@ -0,0 +1,54 @@
+
+/***************************************************************************
+*
+* Copyright (c) 2008 Jeff V. Merkey All Rights Reserved.
+* 1058 East 50 South
+* Lindon, Utah 84042
+* jmerkey@wolfmountaingroup.com
+*
+* 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, version 2.
+*
+* 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 are free to modify and re-distribute this program in accordance
+* with the terms specified in the GNU Public License. The copyright
+* contained in this code is required to be present in any derivative
+* works and you are required to provide the source code for this
+* program as part of any commercial or non-commercial distribution.
+* You are required to respect the rights of the Copyright holders
+* named within this code.
+*
+* jmerkey@wolfmountaingroup.com is the official maintainer of
+* this code. You are encouraged to report any bugs, problems, fixes,
+* suggestions, and comments about this software.
+*
+* AUTHOR : Jeff V. Merkey
+* DESCRIP : Merkey's Linux Debugger
+*
+***************************************************************************/
+
+#ifndef _MDB_H
+#define _MDB_H
+
+/* screen output function */
+extern int mdb_printf(char *s, ...);
+#define DBGPrint mdb_printf
+
+/* external entry points used by linux */
+#define DEBUGGER_EXCEPTION 1
+#define NMI_EXCEPTION 2
+#define BREAKPOINT_EXCEPTION 3
+#define GENERAL_PROTECTION 13
+#define PAGE_FAULT_EXCEPTION 14
+#define KEYBOARD_ENTRY 19
+#define SOFTWARE_EXCEPTION 22
+
+/* internal trace messages */
+#define MDB_DEBUG_DEBUGGER 0
+
+#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-14 6:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-14 6:14 [PATCH 2.6.27-rc3 6/29] mdb: add main include configuration file jmerkey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®