mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Audit and eliminate redundant #include directives in arm target files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1714 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -26,11 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include "arm11.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -22,11 +22,7 @@
|
||||
#ifndef ARM11_H
|
||||
#define ARM11_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "types.h"
|
||||
|
||||
#define asizeof(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
|
||||
@@ -24,11 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include "arm11.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define JTAG_DEBUG(expr ...) DEBUG(expr)
|
||||
|
||||
@@ -22,12 +22,8 @@
|
||||
#endif
|
||||
|
||||
#include "arm720t.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
#include "time_support.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -20,13 +20,8 @@
|
||||
#ifndef ARM720T_H
|
||||
#define ARM720T_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm7tdmi.h"
|
||||
#include "armv4_5_mmu.h"
|
||||
#include "armv4_5_cache.h"
|
||||
|
||||
#define ARM720T_COMMON_MAGIC 0xa720a720
|
||||
|
||||
|
||||
@@ -30,27 +30,12 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "replacements.h"
|
||||
|
||||
#include "embeddedice.h"
|
||||
#include "target.h"
|
||||
#include "target_request.h"
|
||||
#include "armv4_5.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
#include "arm7_9_common.h"
|
||||
#include "breakpoints.h"
|
||||
#include "time_support.h"
|
||||
#include "arm_simulator.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
|
||||
int arm7_9_debug_entry(target_t *target);
|
||||
int arm7_9_enable_sw_bkpts(struct target_s *target);
|
||||
|
||||
@@ -29,11 +29,7 @@
|
||||
#ifndef ARM7_9_COMMON_H
|
||||
#define ARM7_9_COMMON_H
|
||||
|
||||
#include "armv4_5.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "breakpoints.h"
|
||||
#include "target.h"
|
||||
|
||||
#include "etm.h"
|
||||
|
||||
#define ARM7_9_COMMON_MAGIC 0x0a790a79
|
||||
|
||||
@@ -29,18 +29,6 @@
|
||||
|
||||
#include "arm7tdmi.h"
|
||||
|
||||
#include "arm7_9_common.h"
|
||||
#include "register.h"
|
||||
#include "target.h"
|
||||
#include "armv4_5.h"
|
||||
#include "embeddedice.h"
|
||||
#include "etm.h"
|
||||
#include "log.h"
|
||||
#include "jtag.h"
|
||||
#include "arm_jtag.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -23,12 +23,7 @@
|
||||
#ifndef ARM7TDMI_H
|
||||
#define ARM7TDMI_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "armv4_5.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm7_9_common.h"
|
||||
|
||||
#define ARM7TDMI_COMMON_MAGIC 0x00a700a7
|
||||
|
||||
|
||||
@@ -22,12 +22,8 @@
|
||||
#endif
|
||||
|
||||
#include "arm920t.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
#include "time_support.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -20,13 +20,8 @@
|
||||
#ifndef ARM920T_H
|
||||
#define ARM920T_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm9tdmi.h"
|
||||
#include "armv4_5_mmu.h"
|
||||
#include "armv4_5_cache.h"
|
||||
|
||||
#define ARM920T_COMMON_MAGIC 0xa920a920
|
||||
|
||||
|
||||
@@ -22,12 +22,8 @@
|
||||
#endif
|
||||
|
||||
#include "arm926ejs.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
#include "time_support.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -20,13 +20,8 @@
|
||||
#ifndef ARM926EJS_H
|
||||
#define ARM926EJS_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm9tdmi.h"
|
||||
#include "armv4_5_mmu.h"
|
||||
#include "armv4_5_cache.h"
|
||||
|
||||
#define ARM926EJS_COMMON_MAGIC 0xa926a926
|
||||
|
||||
|
||||
@@ -26,17 +26,6 @@
|
||||
|
||||
#include "arm966e.h"
|
||||
|
||||
#include "arm7_9_common.h"
|
||||
#include "register.h"
|
||||
#include "target.h"
|
||||
#include "armv4_5.h"
|
||||
#include "embeddedice.h"
|
||||
#include "log.h"
|
||||
#include "jtag.h"
|
||||
#include "arm_jtag.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
#ifndef ARM966E_H
|
||||
#define ARM966E_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm9tdmi.h"
|
||||
|
||||
#define ARM966E_COMMON_MAGIC 0x20f920f9
|
||||
|
||||
@@ -29,19 +29,6 @@
|
||||
|
||||
#include "arm9tdmi.h"
|
||||
|
||||
#include "arm7_9_common.h"
|
||||
#include "register.h"
|
||||
#include "target.h"
|
||||
#include "armv4_5.h"
|
||||
#include "embeddedice.h"
|
||||
#include "etm.h"
|
||||
#include "etb.h"
|
||||
#include "log.h"
|
||||
#include "jtag.h"
|
||||
#include "arm_jtag.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if 0
|
||||
#define _DEBUG_INSTRUCTION_EXECUTION_
|
||||
|
||||
@@ -23,12 +23,7 @@
|
||||
#ifndef ARM9TDMI_H
|
||||
#define ARM9TDMI_H
|
||||
|
||||
#include "target.h"
|
||||
#include "register.h"
|
||||
#include "armv4_5.h"
|
||||
#include "embeddedice.h"
|
||||
#include "arm_jtag.h"
|
||||
#include "arm7_9_common.h"
|
||||
|
||||
#define ARM9TDMI_COMMON_MAGIC 0x00a900a9
|
||||
|
||||
|
||||
@@ -38,14 +38,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "replacements.h"
|
||||
|
||||
#include "arm_adi_v5.h"
|
||||
#include "jtag.h"
|
||||
#include "log.h"
|
||||
#include "time_support.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* Transaction Mode:
|
||||
|
||||
@@ -22,10 +22,8 @@
|
||||
#endif
|
||||
|
||||
#include "arm_disassembler.h"
|
||||
|
||||
#include "log.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* textual represenation of the condition field */
|
||||
/* ALways (default) is ommitted (empty string) */
|
||||
|
||||
@@ -26,11 +26,6 @@
|
||||
|
||||
#include "arm_jtag.h"
|
||||
|
||||
#include "binarybuffer.h"
|
||||
#include "log.h"
|
||||
#include "jtag.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if 0
|
||||
#define _ARM_JTAG_SCAN_N_CHECK_
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user