Some SH4 (Dreamcast) work in progress
[newos.git] / kernel / dev / fixed.c
blob67d4fea3223260fea5426ff2ad796f80932425e9
1 /*
2 ** Copyright 2001-2004, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #include <kernel/kernel.h>
6 #include <kernel/dev/fixed.h>
7 #include <kernel/vfs.h>
8 #include <kernel/debug.h>
10 #include <string.h>
12 #ifdef ARCH_i386
13 #endif
14 #ifdef ARCH_sh4
15 #include <kernel/dev/arch/sh4/maple/maple_bus.h>
16 #include <kernel/dev/arch/sh4/keyboard/keyboard.h>
17 #include <kernel/dev/arch/sh4/console/console_dev.h>
18 #endif
20 /* loads all the fixed drivers */
21 int fixed_devs_init(kernel_args *ka)
23 null_dev_init(ka);
24 zero_dev_init(ka);
25 dprint_dev_init(ka);
27 #ifdef ARCH_sh4
28 maple_bus_init(ka);
29 keyboard_dev_init(ka);
30 #endif
32 return 0;