comparison packages/cygmon/current/misc/mn10300/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 __MN10300_CPU_INFO_H__
2 #define __MN10300_CPU_INFO_H__
3 //==========================================================================
4 //
5 // cpu_info.h
6 //
7 // Architecture information for MN10300 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-08-11
39 // Purpose:
40 // Description:
41 //
42 //####DESCRIPTIONEND####
43 //
44 //=========================================================================
45
46 #define IS_MN10300 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 char 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 #define PRINT_INSN print_insn_mn10300
73
74 #undef BFD_MACH
75 #define BFD_MACH 0
76
77 // Ensure that the reg_valid field in regstruct is used.
78 #define REG_VALID_FIELD_IN_REGSTRUCT
79 #define INITIALIZE_MON_EACH_TIME() initialize_mon_each_time()
80 extern void initialize_mon_each_time(void);
81
82 #endif // __MN10300_CPU_INFO_H__