Changeset 14afc13 in rtems


Ignore:
Timestamp:
Aug 19, 2008, 7:57:46 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
cc4c524b
Parents:
f75767b0
Message:

2008-08-19 Joel Sherrill <joel.sherrill@…>

  • console/ps2_mouse.c: Fix ps2 mouse interrupt.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    rf75767b0 r14afc13  
     12008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * console/ps2_mouse.c: Fix ps2 mouse interrupt.
     4
    152008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c

    rf75767b0 r14afc13  
    5959#define MAX_RETRIES     60              /* some aux operations take long time*/
    6060
    61 static void ps2_mouse_interrupt(void);
    62 
    63 static void ( *driver_input_handler_ps2 )( void *,  char *, int ) = 0;
     61static void ps2_mouse_interrupt(rtems_irq_hdl_param);
     62
     63static void ( *driver_input_handler_ps2 )( void *,  unsigned char *, int ) = 0;
    6464
    6565/*
     
    6767 * from the serial port.
    6868 */
    69 void ps2_set_driver_handler( int port, void ( *handler )( void *,  char *, int ) )
     69void ps2_set_driver_handler( int port, void ( *handler )( void *,  unsigned char *, int ) )
    7070{
    7171   driver_input_handler_ps2 = handler;
     
    191191      {
    192192         /* post this byte to termios */
    193               rtems_termios_enqueue_raw_characters( termios_ttyp_paux, &scancode, 1 );
     193              rtems_termios_enqueue_raw_characters( termios_ttyp_paux, (char *)&scancode, 1 );
    194194      }
    195195        }
     
    231231}
    232232
    233 static void ps2_mouse_interrupt(void)
     233static void ps2_mouse_interrupt(rtems_irq_hdl_param ignored)
    234234{
    235235        handle_kbd_event();
Note: See TracChangeset for help on using the changeset viewer.