Changeset b5bb3d6 in rtems for c/src/lib/libbsp/m68k/gen68340
- Timestamp:
- 07/06/98 14:52:30 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a90b990
- Parents:
- 1d22b03
- Location:
- c/src/lib/libbsp/m68k/gen68340
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/gen68340/README
r1d22b03 rb5bb3d6 25 25 # WARNING: there's still no KA9Q driver! I hope it will come in the next RTEMS version! 26 26 # 27 27 28 BSP NAME: gen68340 28 29 BOARD: Generic 68360 as described in Motorola MC68340 User's Manual … … 35 36 36 37 DEBUG MONITOR: none (Hardware provides BDM) 38 DEBUG SETUP: EST Vision Ice 37 39 38 40 PERIPHERALS -
c/src/lib/libbsp/m68k/gen68340/console/console.c
r1d22b03 rb5bb3d6 67 67 68 68 /****************************************************** 69 Name: erreur70 Input parameters: string71 Output parameters: -72 Description: small error routine :)73 *****************************************************/74 static void erreur (char * string)75 {76 fprintf(stderr, string);77 }78 79 /******************************************************80 69 Name: InterruptHandler 81 70 Input parameters: vector number … … 308 297 rtems_status_code sc; 309 298 310 proc_ptr ignored;311 299 extern void _Debug_ISR_Handler_Console(void); 312 300 … … 318 306 it may be usefull to do so to check for performances with an oscilloscope */ 319 307 /* 320 _CPU_ISR_install_raw_handler( CONSOLE_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 308 { 309 proc_ptr ignored; 310 _CPU_ISR_install_raw_handler( CONSOLE_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 311 } 321 312 */ 322 313 … … 392 383 rtems_status_code sc; 393 384 394 proc_ptr ignored;395 385 extern void _Debug_ISR_Handler_Console(void); 396 386 … … 402 392 it may be usefull to do so to check for performances with an oscilloscope */ 403 393 /* 404 _CPU_ISR_install_raw_handler( CONSOLE_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 394 { 395 proc_ptr ignored; 396 _CPU_ISR_install_raw_handler( CONSOLE_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 397 } 405 398 */ 406 399 … … 475 468 TO DO: add the channel # to check for!! 476 469 *****************************************************/ 477 static void478 SetAttributes ( struct termios *t, int minor)470 static int 471 SetAttributes (int minor, const struct termios *t) 479 472 { 480 473 rtems_interrupt_level level; … … 527 520 rtems_interrupt_enable (level); 528 521 } 522 523 return 0; 529 524 } 530 525 … … 735 730 736 731 if (args->command == RTEMS_IO_SET_ATTRIBUTES) 737 SetAttributes ( (struct termios *)args->buffer, minor);732 SetAttributes (minor, (struct termios *)args->buffer); 738 733 739 734 return rtems_termios_ioctl (arg); -
c/src/lib/libbsp/m68k/gen68340/start/startfor340only.s
r1d22b03 rb5bb3d6 343 343 dc.l _crt0_warm_start 344 344 345 .ascii " BOOT XHM68K/Spectra for ASTECC PLATFORM"345 .ascii "RTEMS" 346 346 dc.w 0 347 347 … … 414 414 415 415 _b_cs: 416 /* move.l (a1)+, (a2)+ */ 417 move.l (a1)+, d2 418 move.l d2, (a2)+ 416 move.l (a1)+, (a2)+ 419 417 dbra d1,_b_cs 420 418 … … 432 430 bne _fill_loop 433 431 434 /* jsr __initcopy */435 436 432 _dont_fill: 437 433 jmp SYM(_Init68340) | Start C code (which never returns) -
c/src/lib/libbsp/m68k/gen68340/start340/startfor340only.s
r1d22b03 rb5bb3d6 343 343 dc.l _crt0_warm_start 344 344 345 .ascii " BOOT XHM68K/Spectra for ASTECC PLATFORM"345 .ascii "RTEMS" 346 346 dc.w 0 347 347 … … 414 414 415 415 _b_cs: 416 /* move.l (a1)+, (a2)+ */ 417 move.l (a1)+, d2 418 move.l d2, (a2)+ 416 move.l (a1)+, (a2)+ 419 417 dbra d1,_b_cs 420 418 … … 432 430 bne _fill_loop 433 431 434 /* jsr __initcopy */435 436 432 _dont_fill: 437 433 jmp SYM(_Init68340) | Start C code (which never returns) -
c/src/lib/libbsp/m68k/gen68340/timer/timer.c
r1d22b03 rb5bb3d6 192 192 rtems_status_code sc; 193 193 194 proc_ptr ignored;195 194 extern void _Debug_ISR_Handler_Console(void); 196 195 … … 202 201 it may be usefull to do so to check for performances with an oscilloscope */ 203 202 /* 204 _CPU_ISR_install_raw_handler( TIMER1_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 203 { 204 proc_ptr ignored; 205 _CPU_ISR_install_raw_handler( TIMER1_VECTOR, _Debug_ISR_Handler_Console, &ignored ); 206 } 205 207 */ 206 208 }
Note: See TracChangeset
for help on using the changeset viewer.