Skip to contentSkip to conversation

FRV: Fujitsu FR-V CPU arch implementation part 4

PATCH New Geert Uytterhoeven 2 participants 2 messages Jan 5, 2005 1 message not in the archive ptrace support

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

arch/frv/kernel/process.c line 2

Quoted 12 lines · Linux Kernel Mailing List

ChangeSet 1.2030, 2005/01/04 21:16:47-08:00, [email protected]

[PATCH] FRV: Fujitsu FR-V CPU arch implementation part 4

The attached patches provides part 4 of an architecture implementation for the Fujitsu FR-V CPU series, configurably as Linux or uClinux.

arch/frv/kernel/process.c new file +2 -0
@@ -0,0 +1,384 @@
+/*
+ *  linux/arch/m68k/kernel/process.c
                  ^^^^

Can you please fix up these (there exist a few more) bogus file names? Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw

PATCH 1/1 FRV: Update banner comments at the top of frv arch files

The attached patch updates the banner comments at the top of the frv arch files so that they don't proclaim to be part of the m68k arch and also to attribute responsibility for them to myself.

---
warthog>diffstat frv-comments-2610bk8.diff

 kernel/process.c       |   18 ++++-----
 kernel/ptrace.c        |   23 ++++--------
 kernel/setup.c         |   23 ++++--------
 kernel/signal.c        |   13 ++++--
 kernel/sys_frv.c       |   14 ++++---
 kernel/time.c          |   16 ++++----
 mb93090-mb00/pci-frv.c |   93 ++++---------------------------------------------
 mm/kmap.c              |   12 ++++--
 8 files changed, 68 insertions(+), 144 deletions(-)
arch/frv/kernel/process.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/process.c +8 -10
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/process.c linux-2.6.10-bk8-frv/arch/frv/kernel/process.c
@@ -1,15 +1,13 @@
-/*
- *  linux/arch/m68k/kernel/process.c
- *
- *  Copyright (C) 1995  Hamish Macdonald
+/* process.c: FRV specific parts of process handling
  *
- *  68060 fixes by Jesper Skov
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/process.c
  *
- *  uClinux changes Copyright (C) 2000-2002, David McCullough <[email protected]>
- */
-
-/*
- * This file handles the architecture-dependent parts of process handling..
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/config.h>
arch/frv/kernel/ptrace.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/ptrace.c +8 -15
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/ptrace.c linux-2.6.10-bk8-frv/arch/frv/kernel/ptrace.c
@@ -1,13 +1,13 @@
-/*
- *  linux/arch/m68k/kernel/ptrace.c
+/* ptrace.c: FRV specific parts of process tracing
  *
- *  Copyright (C) 1994 by Hamish Macdonald
- *  Taken from linux/kernel/ptrace.c and modified for M680x0.
- *  linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/ptrace.c
  *
- * This file is subject to the terms and conditions of the GNU General
- * Public License.  See the file COPYING in the main directory of
- * this archive for more details.
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
@@ -33,13 +33,6 @@
  * in exit.c or in signal.c.
  */
 
-/* determines which bits in the SR the user has access to. */
-/* 1 = access 0 = no access */
-#define SR_MASK 0x001f
-
-/* sets the trace bits. */
-#define TRACE_BITS 0x8000
-
 /*
  * Get contents of register REGNO in task TASK.
  */
arch/frv/kernel/setup.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/setup.c +9 -14
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/setup.c linux-2.6.10-bk8-frv/arch/frv/kernel/setup.c
@@ -1,18 +1,13 @@
-/*
- *  linux/arch/frvnommu/kernel/setup.c
+/* setup.c: FRV specific setup
  *
- *  Copyleft  ()) 2000       James D. Schettine {[email protected]}
- *  Copyright (C) 1999-2003  Greg Ungerer ([email protected])
- *  Copyright (C) 1998,1999  D. Jeff Dionne <[email protected]>
- *  Copyright (C) 1998       Kenneth Albanowski <[email protected]>
- *  Copyright (C) 1995       Hamish Macdonald
- *  Copyright (C) 2000       Lineo Inc. (www.lineo.com)
- *  Copyright (C) 2001 	     Lineo, Inc. <www.lineo.com>
- *  Copyright (C) 2003,2004  David Howells <[email protected]>, Red Hat, Inc.
- */
-
-/*
- * This file handles the architecture-dependent parts of system setup
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/setup.c
+ *
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/config.h>
arch/frv/kernel/signal.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/signal.c +8 -5
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/signal.c linux-2.6.10-bk8-frv/arch/frv/kernel/signal.c
@@ -1,10 +1,13 @@
-/*
- *  linux/arch/frvnommu/kernel/signal.c
+/* signal.c: FRV specific bits of signal handling
  *
- *  Copyright (C) 1991, 1992  Linus Torvalds
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/signal.c
  *
- *  1997-11-28  Modified for POSIX.1b signals by Richard Henderson
- *  2000-06-20  Pentium III FXSR, SSE support by Gareth Hughes
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/sched.h>
arch/frv/kernel/sys_frv.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/sys_frv.c +9 -5
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/sys_frv.c linux-2.6.10-bk8-frv/arch/frv/kernel/sys_frv.c
@@ -1,9 +1,13 @@
-/*
- * linux/arch/frvnommu/kernel/sys_frv.c
+/* sys_frv.c: FRV arch-specific syscall wrappers
+ *
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/sys_m68k.c
  *
- * This file contains various random system calls that
- * have a non-standard calling sequence on the Linux/FRV
- * platform.
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/errno.h>
arch/frv/kernel/time.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/time.c +8 -8
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/kernel/time.c linux-2.6.10-bk8-frv/arch/frv/kernel/time.c
@@ -1,13 +1,13 @@
-/*
- *  linux/arch/m68k/kernel/time.c
- *
- *  Copyright (C) 1991, 1992, 1995  Linus Torvalds
+/* time.c: FRV arch-specific time handling
  *
- * This file contains the m68k-specific time handling details.
- * Most of the stuff is located in the machine specific files.
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/kernel/time.c
  *
- * 1997-09-10	Updated NTP code according to technical memorandum Jan '96
- *		"A Kernel Model for Precision Timekeeping" by Dave Mills
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/config.h> /* CONFIG_HEARTBEAT */
arch/frv/mb93090-mb00/pci-frv.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/mb93090-mb00/pci-frv.c +9 -84

97 lines not on this page · raw message

arch/frv/mm/kmap.c renamed from warthog/kernels/linux-2.6.10-bk8/arch/frv/mm/kmap.c +9 -3
diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/mm/kmap.c linux-2.6.10-bk8-frv/arch/frv/mm/kmap.c
@@ -1,7 +1,13 @@
-/*
- *  linux/arch/m68knommu/mm/kmap.c
+/* kmap.c: ioremapping handlers
+ *
+ * Copyright (C) 2003-5 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells ([email protected])
+ * - Derived from arch/m68k/mm/kmap.c
  *
- *  Copyright (C) 2000 Lineo, <[email protected]>
+ * 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; either version
+ * 2 of the License, or (at your option) any later version.
  */
 
 #include <linux/config.h>