Ignore:
Timestamp:
Jul 7, 2013, 12:43:17 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6886a485
Parents:
0d018268
git-author:
Sebastian Huber <sebastian.huber@…> (07/07/13 12:43:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/07/13 12:44:47)
Message:

mouse: Add shared bsp_get_serial_mouse_device()

Location:
c/src/lib/libbsp/arm/realview-pbx-a9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am

    r0d018268 rad83ea0  
    114114libbsp_a_SOURCES += ../../shared/console_select.c
    115115libbsp_a_SOURCES += ../../shared/console_write.c
     116libbsp_a_SOURCES += ../../shared/get-serial-mouse-ps2.c
    116117libbsp_a_SOURCES += ../shared/arm-pl011.c
    117118libbsp_a_SOURCES += ../shared/arm-pl050.c
  • c/src/lib/libbsp/arm/realview-pbx-a9/console/console-config.c

    r0d018268 rad83ea0  
    2222#include <bsp/arm-pl050.h>
    2323
    24 static const char psaux[] = "/dev/psaux";
    25 
    2624console_tbl Console_Configuration_Ports[] = {
    2725  {
     
    4442    .ulIntVector = RVPBXA9_IRQ_UART_0
    4543  }, {
    46     .sDeviceName = &psaux[0],
     44    .sDeviceName = SERIAL_MOUSE_DEVICE_PS2,
    4745    .deviceType = SERIAL_CUSTOM,
    4846    .pDeviceFns = &arm_pl050_fns,
     
    9795
    9896BSP_polling_getchar_function_type BSP_poll_char = NULL;
    99 
    100 bool bsp_get_serial_mouse_device(
    101   const char **name,
    102   const char **type
    103 )
    104 {
    105   *name = &psaux[0];
    106   *type = "ps2";
    107 
    108   return true;
    109 }
Note: See TracChangeset for help on using the changeset viewer.