armv7: delete unneeded ptrace.h
... and delete traces in source files. Change-Id: Ie0f70a479f1eadadc654a41fa3c426d1d4ac2f2b Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2152 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
09e16dc215
commit
9382bd65d4
|
@ -24,9 +24,6 @@
|
||||||
#ifndef __COMMON_H_
|
#ifndef __COMMON_H_
|
||||||
#define __COMMON_H_ 1
|
#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 */
|
#ifndef __ASSEMBLER__ /* put C only stuff in this section */
|
||||||
|
|
||||||
typedef unsigned char uchar;
|
typedef unsigned char uchar;
|
||||||
|
@ -36,17 +33,7 @@ typedef volatile unsigned char vu_char;
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
typedef unsigned int uint;
|
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 <types.h>
|
||||||
//#include <stdarg.h>
|
|
||||||
|
|
||||||
//#include <part.h>
|
|
||||||
//#include <flash.h>
|
|
||||||
//#include <image.h>
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define debug(fmt,args...) printf (fmt ,##args)
|
#define debug(fmt,args...) printf (fmt ,##args)
|
||||||
|
|
|
@ -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
|
|
|
@ -36,7 +36,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
//#include <asm/proc-armv/ptrace.h>
|
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue