Changeset 8e33e1d in mainline for uspace


Ignore:
Timestamp:
2010-01-29T17:15:32Z (16 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b86d436
Parents:
86018c1
Message:

Cleanup.

Location:
uspace
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r86018c1 r8e33e1d  
    263263        }
    264264       
    265         //spawn("/srv/fhc");
    266         //spawn("/srv/obio");
    267         //srv_start("/srv/i8042");
    268         //srv_start("/srv/c_mouse");
     265        spawn("/srv/fhc");
     266        spawn("/srv/obio");
     267        srv_start("/srv/i8042");
     268        srv_start("/srv/c_mouse");
    269269
    270270        spawn("/srv/fb");
  • uspace/lib/libc/arch/sparc64/src/thread_entry.s

    r86018c1 r8e33e1d  
    3939        #
    4040
    41         # MH
    4241        #save %sp, -176, %sp
    4342        #flushw
  • uspace/lib/libc/generic/thread.c

    r86018c1 r8e33e1d  
    4141#include <string.h>
    4242#include <async.h>
    43 #include <stdio.h>
    4443
    4544#ifndef THREAD_INITIAL_STACK_PAGES_NO
     
    6362        __tcb_set(f->tcb);
    6463
    65         // MH
    66         printf("uarg: %lx\n", uarg);
    6764        uarg->uspace_thread_function(uarg->uspace_thread_arg);
    6865        /* XXX: we cannot free the userspace stack while running on it */
  • uspace/srv/hid/kbd/generic/kbd.c

    r86018c1 r8e33e1d  
    219219                cir_service = SERVICE_OBIO;
    220220       
    221 /*
    222221        if (cir_service) {
    223222                while (cir_phone < 0) {
     
    226225                }
    227226        }
    228 */
    229 printf("KBD driver!!!\n");
    230227       
    231228        /* Initialize port driver. */
  • uspace/srv/hid/kbd/port/niagara.c

    r86018c1 r8e33e1d  
    6767        *input_buffer_t;
    6868
     69/* virtual address of the shared buffer */
    6970input_buffer_t input_buffer;
    7071
     
    7374
    7475/**
    75  * Initializes the SGCN driver.
    76  * Maps the physical memory (SRAM) and creates the polling thread.
     76 * Initializes the Niagara driver.
     77 * Maps the shared buffer and creates the polling thread.
    7778 */
    7879int kbd_port_init(void)
     
    117118
    118119/**
    119  * Handler of the "key pressed" event. Reads codes of all the pressed keys from
    120  * the buffer.
     120 * Called regularly by the polling thread. Reads codes of all the
     121 * pressed keys from the buffer.
    121122 */
    122123static void niagara_key_pressed(void)
Note: See TracChangeset for help on using the changeset viewer.