[PATCH 2.6.27-rc1-git5 21/26] mdb: add minimal mdb.h file for arch stuff

From: jmerkey
Date: Tue Aug 05 2008 - 03:11:19 EST


Centralized external definitions into include files and corrected
the file to conform to Linux coding practices. fixed word wrap
problems with patches.

add just a minimal mdb.h file for arch code that calls the mdb core.

Signed-off-by: Jeffrey Vernon Merkey (jmerkey@xxxxxxxxxxxxxxxxxxxxx)

--- a/include/linux/mdb.h 1969-12-31 17:00:00.000000000 -0700
+++ b/include/linux/mdb.h 2008-08-04 16:05:47.000000000 -0600
@@ -0,0 +1,49 @@
+
+/***************************************************************************
+*
+* Copyright (c) 1997, 2008 Jeff V. Merkey All Rights Reserved.
+* 1058 East 50 South
+* Lindon, Utah 84042
+* jmerkey@xxxxxxxxxxxxxxxxxxxxx
+*
+* 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, or 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 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@xxxxxxxxxxxx is the official maintainer of
+* this code. You are encouraged to report any bugs, problems, fixes,
+* suggestions, and comments about this software to jmerkey@xxxxxxxxxxxx
+* or linux-kernel@xxxxxxxxxxxxxxxx New releases, patches, bug fixes, and
+* technical documentation can be found at www.kernel.org. I will
+* periodically post new releases of this software to www.kernel.org
+* that contain bug fixes and enhanced capabilities.
+*
+*
+* AUTHOR : Jeff V. Merkey
+* DESCRIP : Merkey's NetWare Debugger
+*
+***************************************************************************/
+
+#define DEBUGGER_EXCEPTION 1
+#define NMI_EXCEPTION 2
+#define BREAKPOINT_EXCEPTION 3
+#define KEYBOARD_ENTRY 19
+#define SOFTWARE_EXCEPTION 22
+
+extern atomic_t inmdb;
+extern unsigned char *mdb_oops;
+extern int mdb(int reason, int error, struct pt_regs *regs);
+
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/