lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.27-rc1-git5 21/26] mdb: add minimal mdb.h file for arch stuff
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@wolfmountaingroup.com)

--- 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@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, 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@utah-nac.org is the official maintainer of
+* this code. You are encouraged to report any bugs, problems, fixes,
+* suggestions, and comments about this software to jmerkey@utah-nac.org
+* or linux-kernel@vger.kernel.org. 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);
+

\
 
 \ /
  Last update: 2008-08-05 09:13    [W:0.022 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site