Changeset b5bb3d6 in rtems


Ignore:
Timestamp:
Jul 6, 1998, 2:52:30 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a90b990
Parents:
1d22b03
Message:

Update from Geoffroy Montel (g_montel@…) to get in sync with termios
and eliminate warnings.

Location:
c/src/lib/libbsp/m68k/gen68340
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68340/README

    r1d22b03 rb5bb3d6  
    2525# WARNING: there's still no KA9Q driver! I hope it will come in the next RTEMS version!
    2626#
     27
    2728BSP NAME:           gen68340
    2829BOARD:              Generic 68360 as described in Motorola MC68340 User's Manual
     
    3536
    3637DEBUG MONITOR:      none (Hardware provides BDM)
     38DEBUG SETUP:        EST Vision Ice
    3739
    3840PERIPHERALS
  • c/src/lib/libbsp/m68k/gen68340/console/console.c

    r1d22b03 rb5bb3d6  
    6767
    6868/******************************************************
    69   Name: erreur
    70   Input parameters: string
    71   Output parameters: -
    72   Description: small error routine :)
    73  *****************************************************/
    74 static void erreur (char * string)
    75 {
    76  fprintf(stderr, string);
    77 }
    78 
    79 /******************************************************
    8069  Name: InterruptHandler
    8170  Input parameters: vector number
     
    308297           rtems_status_code sc;
    309298
    310            proc_ptr ignored;
    311299           extern void _Debug_ISR_Handler_Console(void);
    312300
     
    318306              it may be usefull to do so to check for performances with an oscilloscope */
    319307           /*
    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           }
    321312           */
    322313
     
    392383           rtems_status_code sc;
    393384
    394            proc_ptr ignored;
    395385           extern void _Debug_ISR_Handler_Console(void);
    396386
     
    402392              it may be usefull to do so to check for performances with an oscilloscope */
    403393           /*
    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           }
    405398           */
    406399
     
    475468  TO DO: add the channel # to check for!!
    476469 *****************************************************/
    477 static void
    478 SetAttributes (struct termios *t, int minor)
     470static int
     471SetAttributes (int minor, const struct termios *t)
    479472{
    480473 rtems_interrupt_level level;
     
    527520    rtems_interrupt_enable (level);
    528521 }
     522
     523 return 0;
    529524}
    530525
     
    735730 
    736731        if (args->command == RTEMS_IO_SET_ATTRIBUTES)
    737                 SetAttributes ((struct termios *)args->buffer, minor);
     732                SetAttributes (minor, (struct termios *)args->buffer);
    738733 
    739734        return rtems_termios_ioctl (arg);
  • c/src/lib/libbsp/m68k/gen68340/start/startfor340only.s

    r1d22b03 rb5bb3d6  
    343343        dc.l    _crt0_warm_start
    344344
    345         .ascii  "BOOT XHM68K/Spectra for ASTECC PLATFORM"
     345        .ascii  "RTEMS"
    346346        dc.w    0
    347347
     
    414414
    415415_b_cs:
    416 /*      move.l  (a1)+, (a2)+ */
    417         move.l  (a1)+, d2
    418         move.l  d2, (a2)+
     416        move.l  (a1)+, (a2)+
    419417        dbra    d1,_b_cs
    420418
     
    432430        bne     _fill_loop
    433431       
    434 /*      jsr     __initcopy */
    435 
    436432_dont_fill:
    437433        jmp     SYM(_Init68340)         | Start C code (which never returns)
  • c/src/lib/libbsp/m68k/gen68340/start340/startfor340only.s

    r1d22b03 rb5bb3d6  
    343343        dc.l    _crt0_warm_start
    344344
    345         .ascii  "BOOT XHM68K/Spectra for ASTECC PLATFORM"
     345        .ascii  "RTEMS"
    346346        dc.w    0
    347347
     
    414414
    415415_b_cs:
    416 /*      move.l  (a1)+, (a2)+ */
    417         move.l  (a1)+, d2
    418         move.l  d2, (a2)+
     416        move.l  (a1)+, (a2)+
    419417        dbra    d1,_b_cs
    420418
     
    432430        bne     _fill_loop
    433431       
    434 /*      jsr     __initcopy */
    435 
    436432_dont_fill:
    437433        jmp     SYM(_Init68340)         | Start C code (which never returns)
  • c/src/lib/libbsp/m68k/gen68340/timer/timer.c

    r1d22b03 rb5bb3d6  
    192192         rtems_status_code sc;
    193193
    194          proc_ptr ignored;
    195194         extern void _Debug_ISR_Handler_Console(void);
    196195
     
    202201            it may be usefull to do so to check for performances with an oscilloscope */
    203202         /*
    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         }
    205207         */
    206208        }
Note: See TracChangeset for help on using the changeset viewer.