Commit d3522648 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: scrub comments/whitespace/cvs keywords

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent dcf6a79d
/* /* Blackfin KGDB header
* File: include/asm-blackfin/kgdb.h
* Based on:
* Author: Sonic Zhang
*
* Created:
* Description:
*
* Rev: $Id: kgdb_bfin_linux-2.6.x.patch 4934 2007-02-13 09:32:11Z sonicz $
*
* Modified:
* Copyright 2005-2006 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
* *
* This program is free software; you can redistribute it and/or modify * Copyright 2005-2009 Analog Devices Inc.
* 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, * Licensed under the GPL-2 or later.
* 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, see the file COPYING, or write
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __ASM_BLACKFIN_KGDB_H__ #ifndef __ASM_BLACKFIN_KGDB_H__
...@@ -37,17 +13,18 @@ ...@@ -37,17 +13,18 @@
/* gdb locks */ /* gdb locks */
#define KGDB_MAX_NO_CPUS 8 #define KGDB_MAX_NO_CPUS 8
/************************************************************************/ /*
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/ * BUFMAX defines the maximum number of characters in inbound/outbound buffers.
/* at least NUMREGBYTES*2 are needed for register packets */ * At least NUMREGBYTES*2 are needed for register packets.
/* Longer buffer is needed to list all threads */ * Longer buffer is needed to list all threads.
*/
#define BUFMAX 2048 #define BUFMAX 2048
/* /*
* Note that this register image is different from * Note that this register image is different from
* the register image that Linux produces at interrupt time. * the register image that Linux produces at interrupt time.
* *
* Linux's register image is defined by struct pt_regs in ptrace.h. * Linux's register image is defined by struct pt_regs in ptrace.h.
*/ */
enum regnames { enum regnames {
/* Core Registers */ /* Core Registers */
...@@ -104,14 +81,14 @@ enum regnames { ...@@ -104,14 +81,14 @@ enum regnames {
BFIN_RETX, BFIN_RETX,
BFIN_RETN, BFIN_RETN,
BFIN_RETE, BFIN_RETE,
/* Pseudo Registers */ /* Pseudo Registers */
BFIN_PC, BFIN_PC,
BFIN_CC, BFIN_CC,
BFIN_EXTRA1, /* Address of .text section. */ BFIN_EXTRA1, /* Address of .text section. */
BFIN_EXTRA2, /* Address of .data section. */ BFIN_EXTRA2, /* Address of .data section. */
BFIN_EXTRA3, /* Address of .bss section. */ BFIN_EXTRA3, /* Address of .bss section. */
BFIN_FDPIC_EXEC, BFIN_FDPIC_EXEC,
BFIN_FDPIC_INTERP, BFIN_FDPIC_INTERP,
/* MMRs */ /* MMRs */
...@@ -126,7 +103,7 @@ enum regnames { ...@@ -126,7 +103,7 @@ enum regnames {
static inline void arch_kgdb_breakpoint(void) static inline void arch_kgdb_breakpoint(void)
{ {
asm(" EXCPT 2;"); asm("EXCPT 2;");
} }
#define BREAK_INSTR_SIZE 2 #define BREAK_INSTR_SIZE 2
#define CACHE_FLUSH_IS_SAFE 1 #define CACHE_FLUSH_IS_SAFE 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment