Changeset 49319ac in mainline for kernel/arch/ia64/src
- Timestamp:
- 2007-01-03T21:41:46Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6dbe6844
- Parents:
- dfe9e2c
- Location:
- kernel/arch/ia64/src
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/ia64.c
rdfe9e2c r49319ac 51 51 #include <syscall/syscall.h> 52 52 #include <ddi/irq.h> 53 #include <arch/simics/ega.h> 53 54 54 55 void arch_pre_main(void) … … 82 83 } 83 84 85 86 84 87 void arch_post_mm_init(void) 85 88 { 86 89 irq_init(INR_COUNT, INR_COUNT); 90 #ifdef SKI 87 91 ski_init_console(); 92 #else 93 ega_init(); 94 #endif 88 95 it_init(); 89 96 } … … 99 106 void arch_post_smp_init(void) 100 107 { 101 thread_t *t;102 108 103 109 if (config.cpu_active == 1) { … … 105 111 * Create thread that polls keyboard. 106 112 */ 107 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll"); 113 #ifdef SKI 114 thread_t *t; 115 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true); 108 116 if (!t) 109 117 panic("cannot create kkbdpoll\n"); 110 118 thread_ready(t); 119 #endif 111 120 } 112 121 } … … 156 165 void arch_grab_console(void) 157 166 { 167 #ifdef SKI 158 168 ski_kbd_grab(); 169 #endif 159 170 } 160 171 /** Return console to userspace … … 163 174 void arch_release_console(void) 164 175 { 176 #ifdef SKI 165 177 ski_kbd_release(); 178 #endif 166 179 } 167 180
Note:
See TracChangeset
for help on using the changeset viewer.