Changeset b73c26d in mainline for uspace


Ignore:
Timestamp:
2010-01-31T13:50:52Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ab4bace
Parents:
3a2f8aa
Message:

Add ADB mouse driver.

Location:
uspace
Files:
5 added
2 edited
7 moved

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r3a2f8aa rb73c26d  
    5959        srv/fs/tmpfs \
    6060        srv/fs/devfs \
     61        srv/hid/adb_mouse \
    6162        srv/hid/console \
    62         srv/hid/c_mouse \
     63        srv/hid/char_mouse \
    6364        srv/hid/fb \
    6465        srv/hid/kbd \
  • uspace/app/init/init.c

    r3a2f8aa rb73c26d  
    289289        srv_start("/srv/cuda_adb");
    290290        srv_start("/srv/i8042");
    291         srv_start("/srv/c_mouse");
     291        srv_start("/srv/adb_ms");
     292        srv_start("/srv/char_ms");
    292293
    293294        spawn("/srv/fb");
     
    314315#endif
    315316
    316         getterm("term/vc0", "/app/klog");
     317        getterm("term/vc0", "/app/bdsh");
    317318        getterm("term/vc1", "/app/bdsh");
    318319        getterm("term/vc2", "/app/bdsh");
     
    320321        getterm("term/vc4", "/app/bdsh");
    321322        getterm("term/vc5", "/app/bdsh");
    322 /*      getterm("term/vc6", "/app/klog");*/
    323        
     323        getterm("term/vc6", "/app/klog");
     324
    324325        return 0;
    325326}
  • uspace/srv/hid/char_mouse/Makefile

    r3a2f8aa rb73c26d  
    3232EXTRA_CFLAGS = -Iinclude
    3333
    34 OUTPUT = c_mouse
     34OUTPUT = char_ms
    3535
    3636SOURCES = \
    3737        proto/ps2.c \
    38         c_mouse.c \
     38        char_mouse.c \
    3939        chardev.c
    4040
  • uspace/srv/hid/char_mouse/char_mouse.c

    r3a2f8aa rb73c26d  
    4747#include <devmap.h>
    4848
    49 #include <c_mouse.h>
     49#include <char_mouse.h>
    5050#include <mouse_port.h>
    5151#include <mouse_proto.h>
  • uspace/srv/hid/char_mouse/chardev.c

    r3a2f8aa rb73c26d  
    4141#include <errno.h>
    4242
    43 #include <c_mouse.h>
     43#include <char_mouse.h>
    4444#include <mouse_port.h>
    4545
  • uspace/srv/hid/char_mouse/include/char_mouse.h

    r3a2f8aa rb73c26d  
    3434 */
    3535
    36 #ifndef C_MOUSE_H_
    37 #define C_MOUSE_H_
     36#ifndef CHAR_MOUSE_H_
     37#define CHAR_MOUSE_H_
    3838
    3939extern void mouse_handle_byte(int);
  • uspace/srv/hid/char_mouse/proto/ps2.c

    r3a2f8aa rb73c26d  
    3737#include <stdio.h>
    3838#include <mouse_proto.h>
    39 #include <c_mouse.h>
     39#include <char_mouse.h>
    4040
    4141#define BUFSIZE 3
Note: See TracChangeset for help on using the changeset viewer.