Changeset 9a1ccb3 in rtems
- Timestamp:
- 04/22/96 16:43:44 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 96981e3a
- Parents:
- f581163a
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/m68k/cpu.h
rf581163a r9a1ccb3 140 140 unsigned32 interrupt_stack_size; 141 141 unsigned32 extra_mpci_receive_server_stack; 142 void * (*stack_allocate_hook)( unsigned32 ); 143 void (*stack_free_hook)( void* ); 144 /* end of fields required on all CPUs */ 145 142 146 m68k_isr *interrupt_vector_table; 143 147 } rtems_cpu_table; … … 334 338 _CPU_Priority_bits_index is not needed), handles the 0 case, and 335 339 does not molest _value -- jsg */ 336 #if ndef m68000340 #if ( M68K_HAS_EXTB_L == 1 ) 337 341 #define _CPU_Bitfield_Find_first_bit( _value, _output ) \ 338 342 { \ … … 372 376 : "cc" ) ; \ 373 377 } 374 #endif /* m68000*/378 #endif /* M68K_HAS_EXTB_L */ 375 379 376 380 #endif -
c/src/exec/score/cpu/m68k/m68k.h
rf581163a r9a1ccb3 77 77 * implement the DLE or multiplexed bus modes. The 68EC040 does not 78 78 * implement the output buffer impedance selection mode of operation." 79 */ 80 79 * 80 * M68K_HAS_EXTB_L is used to enable/disable usage of the extb.l instruction 81 * which is not available for 68000 or 68ec000 cores (68000, 68001, 68008, 82 * 68010, 68302, 68306, 68307). This instruction is available on the 68020 83 * up and the cpu32 based models. 84 * 85 * NOTE: 86 * Eventually it would be nice to evaluate doing a lot of this section 87 * by having each model specigy which core it uses and then go from there. 88 */ 89 81 90 #if defined(m68000) 82 91 … … 87 96 #define M68K_HAS_BFFFO 0 88 97 #define M68K_HAS_PREINDEXING 0 98 #define M68K_HAS_EXTB_L 0 89 99 90 100 #elif defined(m68020) … … 96 106 #define M68K_HAS_BFFFO 1 97 107 #define M68K_HAS_PREINDEXING 1 108 #define M68K_HAS_EXTB_L 1 98 109 99 110 #elif defined(m68020_nofp) … … 105 116 #define M68K_HAS_BFFFO 1 106 117 #define M68K_HAS_PREINDEXING 1 118 #define M68K_HAS_EXTB_L 1 107 119 108 120 #elif defined(m68030) … … 114 126 #define M68K_HAS_BFFFO 1 115 127 #define M68K_HAS_PREINDEXING 1 128 #define M68K_HAS_EXTB_L 1 116 129 117 130 #elif defined(m68040) … … 123 136 #define M68K_HAS_BFFFO 1 124 137 #define M68K_HAS_PREINDEXING 1 138 #define M68K_HAS_EXTB_L 1 125 139 126 140 #elif defined(m68lc040) … … 132 146 #define M68K_HAS_BFFFO 1 133 147 #define M68K_HAS_PREINDEXING 1 148 #define M68K_HAS_EXTB_L 1 134 149 135 150 #elif defined(m68ec040) … … 141 156 #define M68K_HAS_BFFFO 1 142 157 #define M68K_HAS_PREINDEXING 1 158 #define M68K_HAS_EXTB_L 1 143 159 144 160 #elif defined(m68302) … … 150 166 #define M68K_HAS_BFFFO 0 151 167 #define M68K_HAS_PREINDEXING 0 168 #define M68K_HAS_EXTB_L 0 152 169 153 170 #elif defined(m68332) … … 159 176 #define M68K_HAS_BFFFO 0 160 177 #define M68K_HAS_PREINDEXING 0 178 #define M68K_HAS_EXTB_L 1 161 179 162 180 #elif defined(m68360) … … 168 186 #define M68K_HAS_BFFFO 0 169 187 #define M68K_HAS_PREINDEXING 1 188 #define M68K_HAS_EXTB_L 1 170 189 171 190 #else
Note: See TracChangeset
for help on using the changeset viewer.