Changeset a9ac978 in mainline for kernel/arch/sparc64/src/sparc64.c
- Timestamp:
- 2006-09-27T20:11:34Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00b38a3
- Parents:
- 86b31ba9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sparc64.c
r86b31ba9 ra9ac978 71 71 void arch_pre_mm_init(void) 72 72 { 73 trap_init(); 73 if (config.cpu_active == 1) 74 trap_init(); 74 75 } 75 76 76 77 void arch_post_mm_init(void) 77 78 { 78 standalone_sparc64_console_init(); 79 if (config.cpu_active == 1) 80 standalone_sparc64_console_init(); 79 81 } 80 82 … … 91 93 thread_t *t; 92 94 93 /* 94 * Create thread that polls keyboard. 95 */ 96 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll"); 97 if (!t) 98 panic("cannot create kkbdpoll\n"); 99 thread_ready(t); 95 if (config.cpu_active == 1) { 96 /* 97 * Create thread that polls keyboard. 98 */ 99 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll"); 100 if (!t) 101 panic("cannot create kkbdpoll\n"); 102 thread_ready(t); 103 } 100 104 } 101 105
Note:
See TracChangeset
for help on using the changeset viewer.