Changeset 46ce08d in rtems
- Timestamp:
- Nov 19, 2004, 4:44:55 AM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f10a999
- Parents:
- 0ee9cc1
- Location:
- c/src/lib/libbsp/m68k/ods68302
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/ods68302/ChangeLog
r0ee9cc1 r46ce08d 1 2004-11-19 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * startup/m68k-stub.c: Use (defined(__mc68020__) && !defined(__mcpu32__)) 4 instead of defined(__mc68020__) to reflect GCC-3.4's expectations. 5 1 6 2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c
r0ee9cc1 r46ce08d 213 213 static ExceptionHook oldExceptionHook; 214 214 215 #if defined(__mc68020__)215 #if (defined(__mc68020__) && !defined(__mcpu32__)) 216 216 /* the size of the exception stack on the 68020 varies with the type of 217 217 * exception. The following table is the number of WORDS used … … 315 315 "); 316 316 317 #if defined(__mc68020__) || defined(__mc68332__)317 #if (defined(__mc68020__) && !defined(__mcpu32__)) || defined(__mc68332__) 318 318 asm("\n\ 319 319 movew %sp@(2),%d0\n\ … … 333 333 movew %sp@+,%d0\n\ 334 334 "); 335 #if defined (__mc68000__) && ! defined(__mc68020__)335 #if defined (__mc68000__) && !(defined(__mc68020__) && !defined(__mcpu32__)) 336 336 asm("\n\ 337 337 lea %sp@(4),%sp"); /* pull off 68000 return address */ … … 343 343 extern void _catchException(void); 344 344 345 #if defined(__mc68020__) || defined(__mc68332__)345 #if (defined(__mc68020__) && !defined(__mcpu32__)) || defined(__mc68332__) 346 346 /* This function is called when a 68020 exception occurs. It saves 347 347 * all the cpu and fpcp regs in the _registers array, creates a frame on a … … 552 552 } 553 553 554 #if defined(__mc68000__) && ! defined(__mc68020__)554 #if defined(__mc68000__) && !(defined(__mc68020__) && !defined(__mcpu32__)) 555 555 /* a 68000 cannot use the internal info pushed onto a bus error 556 556 * or address error frame when doing an RTE so don't put this info
Note: See TracChangeset
for help on using the changeset viewer.