- add the possibility to exclude the keyboard supportwq
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@9 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
177e9a5108
commit
7a8b4eef1c
3 changed files with 8 additions and 0 deletions
|
@ -26,7 +26,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef USE_KEYBOARD
|
||||
void keyboard_init(void);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
#include <asm/kb.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
#ifdef USE_KEYBOARD
|
||||
|
||||
/*
|
||||
* KBDUS means US Keyboard Layout. This is a scancode table
|
||||
* used to layout a standard US keyboard. I have left some
|
||||
|
@ -105,3 +107,5 @@ void keyboard_init(void)
|
|||
{
|
||||
irq_install_handler(1, keyboard_handler);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -51,7 +51,9 @@ int main(void)
|
|||
irq_init();
|
||||
koutput_init();
|
||||
timer_init();
|
||||
#ifdef USE_KEYBOARD
|
||||
keyboard_init();
|
||||
#endif
|
||||
mmu_init();
|
||||
multitasking_init();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue