Rev 4070 | Rev 4072 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4070 | Rev 4071 | ||
|---|---|---|---|
| Line 35... | Line 35... | ||
| 35 | #include <arch/console.h> |
35 | #include <arch/console.h> |
| 36 | #include <arch/types.h> |
36 | #include <arch/types.h> |
| 37 | 37 | ||
| 38 | #include <arch/drivers/scr.h> |
38 | #include <arch/drivers/scr.h> |
| 39 | #include <arch/drivers/kbd.h> |
39 | #include <arch/drivers/kbd.h> |
| 40 | - | ||
| 41 | #include <arch/drivers/sgcn.h> |
40 | #include <arch/drivers/sgcn.h> |
| 42 | - | ||
| - | 41 | #include <genarch/srln/srln.h> |
|
| 43 | #include <console/chardev.h> |
42 | #include <console/chardev.h> |
| 44 | #include <console/console.h> |
43 | #include <console/console.h> |
| 45 | #include <arch/asm.h> |
44 | #include <arch/asm.h> |
| 46 | #include <arch/register.h> |
45 | #include <arch/register.h> |
| 47 | #include <proc/thread.h> |
46 | #include <proc/thread.h> |
| Line 95... | Line 94... | ||
| 95 | } |
94 | } |
| 96 | 95 | ||
| 97 | /** Initilize I/O on the Serengeti machine. */ |
96 | /** Initilize I/O on the Serengeti machine. */ |
| 98 | static void serengeti_init(void) |
97 | static void serengeti_init(void) |
| 99 | { |
98 | { |
| - | 99 | srln_init(stdin); |
|
| 100 | sgcn_init(); |
100 | sgcn_init(&srlnin); |
| 101 | } |
101 | } |
| 102 | 102 | ||
| 103 | /** |
103 | /** |
| 104 | * Initialize input/output. Auto-detects the type of machine |
104 | * Initialize input/output. Auto-detects the type of machine |
| 105 | * and calls the appropriate I/O init routine. |
105 | * and calls the appropriate I/O init routine. |