Changeset a1c7827 in mainline
- Timestamp:
- 2006-05-16T10:25:22Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c2b43de
- Parents:
- ca603c6
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rca603c6 ra1c7827 42 42 43 43 ifeq ($(ARCH), amd64) 44 DIRS += pci 44 DIRS += pci \ 45 kbd 45 46 endif 46 47 ifeq ($(ARCH), ia32) 47 48 DIRS += pci \ 48 49 kbd 50 endif 51 ifeq ($(ARCH), mips32) 52 DIRS += kbd 53 endif 54 ifeq ($(ARCH), mips32eb) 55 DIRS += kbd 49 56 endif 50 57 -
init/init.c
rca603c6 ra1c7827 365 365 // test_slam(); 366 366 // test_as_send(); 367 test_pci();367 // test_pci(); 368 368 test_kbd(); 369 369 -
kbd/arch/mips32/include/kbd.h
rca603c6 ra1c7827 30 30 #define __mips32_KBD_H__ 31 31 32 void kbd_arch_init(void); 32 int kbd_arch_init(void); 33 int kbd_arch_process(int scan_code); 33 34 34 35 #endif -
kbd/arch/mips32/src/kbd.c
rca603c6 ra1c7827 29 29 #include <arch/kbd.h> 30 30 #include <ipc.h> 31 #include <key_buffer.h> 31 32 32 33 irq_cmd_t msim_cmds[1] = { … … 39 40 }; 40 41 41 voidkbd_arch_init(void)42 int kbd_arch_init(void) 42 43 { 43 44 ipc_register_irq(2, &msim_kbd); 45 return 1; 44 46 } 45 47 46 48 int kbd_arch_process(int scan_code) 49 { 50 key_buffer_push(scan_code); 51 return 1; 52 } -
kbd/include/arch
rca603c6 ra1c7827 1 ../arch/ ia32/include1 ../arch/mips32/include
Note:
See TracChangeset
for help on using the changeset viewer.