Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2152
-gerrit
commit 8201b22dc758a3a9fd55e816edf6caaf0b9c6c66 Author: Stefan Reinauer stefan.reinauer@coreboot.org Date: Wed Jan 16 00:26:41 2013 +0100
armv7: delete unneeded ptrace.h
... and delete traces in source files.
Change-Id: Ie0f70a479f1eadadc654a41fa3c426d1d4ac2f2b Signed-off-by: Stefan Reinauer reinauer@google.com --- src/arch/armv7/include/common.h | 13 ------------- src/arch/armv7/include/ptrace.h | 30 ------------------------------ src/arch/armv7/lib/interrupts.c | 1 - 3 files changed, 44 deletions(-)
diff --git a/src/arch/armv7/include/common.h b/src/arch/armv7/include/common.h index 2d4d020..a2cd9ae 100644 --- a/src/arch/armv7/include/common.h +++ b/src/arch/armv7/include/common.h @@ -24,9 +24,6 @@ #ifndef __COMMON_H_ #define __COMMON_H_ 1
-#undef _LINUX_CONFIG_H -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #ifndef __ASSEMBLER__ /* put C only stuff in this section */
typedef unsigned char uchar; @@ -36,17 +33,7 @@ typedef volatile unsigned char vu_char; typedef unsigned long ulong; typedef unsigned int uint;
-//#include <config.h> -//#include <asm-offsets.h> -//#include <linux/bitops.h> -//#include <linux/string.h> -//#include <asm/ptrace.h> #include <types.h> -//#include <stdarg.h> - -//#include <part.h> -//#include <flash.h> -//#include <image.h>
#ifdef DEBUG #define debug(fmt,args...) printf (fmt ,##args) diff --git a/src/arch/armv7/include/ptrace.h b/src/arch/armv7/include/ptrace.h deleted file mode 100644 index e981cad..0000000 --- a/src/arch/armv7/include/ptrace.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef __ASM_ARM_PTRACE_H -#define __ASM_ARM_PTRACE_H - -#define PTRACE_GETREGS 12 -#define PTRACE_SETREGS 13 -#define PTRACE_GETFPREGS 14 -#define PTRACE_SETFPREGS 15 - -#define PTRACE_SETOPTIONS 21 - -/* options set using PTRACE_SETOPTIONS */ -#define PTRACE_O_TRACESYSGOOD 0x00000001 - -#include <asm/proc/ptrace.h> - -#ifndef __ASSEMBLER__ -#define pc_pointer(v) \ - ((v) & ~PCMASK) - -#define instruction_pointer(regs) \ - (pc_pointer((regs)->ARM_pc)) - -extern void show_regs(struct pt_regs *); - -#define predicate(x) (x & 0xf0000000) -#define PREDICATE_ALWAYS 0xe0000000 - -#endif /* __ASSEMBLER__ */ - -#endif diff --git a/src/arch/armv7/lib/interrupts.c b/src/arch/armv7/lib/interrupts.c index 6ee3f26..ab9a80c 100644 --- a/src/arch/armv7/lib/interrupts.c +++ b/src/arch/armv7/lib/interrupts.c @@ -36,7 +36,6 @@ */
#include <common.h> -//#include <asm/proc-armv/ptrace.h>
DECLARE_GLOBAL_DATA_PTR;