15,8 → 15,6 |
*/ |
|
/* |
* Copyright (C) 2000 Paolo Gai |
* |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* the Free Software Foundation; either version 2 of the License, or |
30,7 → 28,6 |
* You should have received a copy of the GNU General Public License |
* along with this program; if not, write to the Free Software |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
*/ |
|
#include <kernel/kern.h> |
38,8 → 35,6 |
#include <stdlib.h> |
#include <string.h> |
|
#include <drivers/shark_linuxc26.h> |
#include <drivers/shark_input26.h> |
#include <drivers/shark_keyb26.h> |
#include <drivers/shark_spk26.h> |
|
47,10 → 42,6 |
{ |
speaker_sound(0, 0); |
|
cprintf("Keyboard Close : %d\n", KEYB26_close()); |
cprintf("Speaker Close : %d\n", SPEAK26_close()); |
cprintf("Input Close : %d\n", INPUT26_close()); |
|
kern_printf("S.Ha.R.K. closed.\n\n"); |
sys_end(); |
} |
211,10 → 202,7 |
keyb_hook(ev, my_note, FALSE); |
ev.status = KEY_RELEASED; |
keyb_hook(ev, no_note, FALSE); |
|
/*while ( (sys_gettime(NULL)/1000) < 20000); |
my_sysclose(NULL);*/ |
|
|
while(1); |
return 0; |
} |