Mercurial > ecos
comparison packages/cygmon/current/misc/arm/cpu_info.h @ 112:02ea4320376c ecos-sw-2000-07-21
Merge from eCos master repository on 2000-07-21-21:01:39-BST
| author | jlarmour |
|---|---|
| date | Fri, 21 Jul 2000 21:34:11 +0000 |
| parents | 435cced73e2f |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 111:211b8a635ce9 | 112:02ea4320376c |
|---|---|
| 46 // | 46 // |
| 47 //========================================================================= | 47 //========================================================================= |
| 48 | 48 |
| 49 #define IS_ARM 1 | 49 #define IS_ARM 1 |
| 50 | 50 |
| 51 typedef unsigned int uint32 ; | 51 #ifndef __CYGMON_TYPES |
| 52 #define __CYGMON_TYPES | |
| 53 typedef unsigned int uint32; | |
| 52 typedef int int32; | 54 typedef int int32; |
| 55 #endif // __CYGMON_TYPES | |
| 56 | |
| 53 | 57 |
| 54 /* Temporary as long a multiple protypes are copied in multiple files */ | 58 /* Temporary as long a multiple protypes are copied in multiple files */ |
| 55 /* This variation does NOT clone the prototypes */ | 59 /* This variation does NOT clone the prototypes */ |
| 56 #define NO_MALLOC 1 | 60 #define NO_MALLOC 1 |
| 57 #define MAX_NUM_BP 32 | 61 #define MAX_NUM_BP 32 |
| 58 #define MAX_HIST_ENTS 10 | 62 #define MAX_HIST_ENTS 10 |
| 59 | |
| 60 typedef int regnames_t; | |
| 61 | 63 |
| 62 /* big enuf to store a trap in the BP structure */ | 64 /* big enuf to store a trap in the BP structure */ |
| 63 | 65 |
| 64 #define BP_INST_T_DEFINED 1 | 66 #define BP_INST_T_DEFINED 1 |
| 65 typedef unsigned long bp_inst_t ; | 67 typedef unsigned long bp_inst_t ; |
| 67 #define MEM_ADDR_DEFINED 1 | 69 #define MEM_ADDR_DEFINED 1 |
| 68 typedef struct mem_addr { | 70 typedef struct mem_addr { |
| 69 unsigned long addr; | 71 unsigned long addr; |
| 70 } mem_addr_t ; | 72 } mem_addr_t ; |
| 71 | 73 |
| 72 typedef unsigned int target_register_t; | 74 #ifndef TARGET_REGISTER_T_DEFINED |
| 75 #define TARGET_REGISTER_T_DEFINED | |
| 76 typedef unsigned long target_register_t; | |
| 77 #endif | |
| 73 | 78 |
| 74 #if defined(__ARMEB__) | 79 #if defined(__ARMEB__) |
| 75 #define BIG_ENDIAN_TARGET | |
| 76 #undef LITTLE_ENDIAN_TARGET | |
| 77 #define PRINT_INSN print_insn_big_arm | 80 #define PRINT_INSN print_insn_big_arm |
| 78 #else | 81 #else |
| 79 #define LITTLE_ENDIAN_TARGET | |
| 80 #undef BIG_ENDIAN_TARGET | |
| 81 #define PRINT_INSN print_insn_little_arm | 82 #define PRINT_INSN print_insn_little_arm |
| 82 #endif | 83 #endif |
| 83 | 84 |
| 84 #define OTHERNAMES_CMD arm_othernames | 85 #define OTHERNAMES_CMD arm_othernames |
| 85 extern void arm_othernames (void); | 86 extern void arm_othernames (void); |
