Mercurial > ecos-v2_0-branch
comparison packages/cygmon/current/misc/mips/cpu_info.h @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 1 #ifndef __MIPS_CPU_INFO_H__ | |
| 2 #define __MIPS_CPU_INFO_H__ | |
| 3 //========================================================================== | |
| 4 // | |
| 5 // cpu_info.h | |
| 6 // | |
| 7 // Architecture information for MIPS processors | |
| 8 // | |
| 9 //========================================================================== | |
| 10 //####COPYRIGHTBEGIN#### | |
| 11 // | |
| 12 // ------------------------------------------- | |
| 13 // The contents of this file are subject to the Red Hat eCos Public License | |
| 14 // Version 1.1 (the "License"); you may not use this file except in | |
| 15 // compliance with the License. You may obtain a copy of the License at | |
| 16 // http://www.redhat.com/ | |
| 17 // | |
| 18 // Software distributed under the License is distributed on an "AS IS" | |
| 19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 20 // License for the specific language governing rights and limitations under | |
| 21 // the License. | |
| 22 // | |
| 23 // The Original Code is eCos - Embedded Configurable Operating System, | |
| 24 // released September 30, 1998. | |
| 25 // | |
| 26 // The Initial Developer of the Original Code is Red Hat. | |
| 27 // Portions created by Red Hat are | |
| 28 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 29 // All Rights Reserved. | |
| 30 // ------------------------------------------- | |
| 31 // | |
| 32 //####COPYRIGHTEND#### | |
| 33 //========================================================================== | |
| 34 //#####DESCRIPTIONBEGIN#### | |
| 35 // | |
| 36 // Author(s): dmoseley | |
| 37 // Contributors: dmoseley | |
| 38 // Date: 2000-06-07 | |
| 39 // Purpose: | |
| 40 // Description: | |
| 41 // | |
| 42 //####DESCRIPTIONEND#### | |
| 43 // | |
| 44 //========================================================================= | |
| 45 | |
| 46 #define IS_MIPS 1 | |
| 47 | |
| 48 /* Temporary as long a multiple protypes are copied in multiple files */ | |
| 49 /* This variation does NOT clone the prototypes */ | |
| 50 #define NO_MALLOC 1 | |
| 51 | |
| 52 #ifndef USE_ECOS_HAL_BREAKPOINTS | |
| 53 | |
| 54 /* big enuf to store a trap in the BP structure */ | |
| 55 | |
| 56 #define BP_INST_T_DEFINED 1 | |
| 57 typedef unsigned int bp_inst_t ; | |
| 58 | |
| 59 #else /* USE_ECOS_HAL_BREAKPOINTS */ | |
| 60 | |
| 61 #define MEM_ADDR_DEFINED 1 | |
| 62 typedef struct mem_addr { | |
| 63 unsigned long addr; | |
| 64 } mem_addr_t ; | |
| 65 | |
| 66 #endif /* USE_ECOS_HAL_BREAKPOINTS */ | |
| 67 | |
| 68 typedef unsigned long target_register_t; | |
| 69 | |
| 70 #include <cyg/infra/cyg_type.h> | |
| 71 #include <cyg/hal/basetype.h> | |
| 72 #if CYG_BYTEORDER == CYG_MSBFIRST | |
| 73 #define PRINT_INSN print_insn_big_mips | |
| 74 #else | |
| 75 #define PRINT_INSN print_insn_little_mips | |
| 76 #endif | |
| 77 | |
| 78 #undef BFD_MACH | |
| 79 #define BFD_MACH 0 | |
| 80 | |
| 81 #endif // __MIPS_CPU_INFO_H__ |
