Changeset f4f866c in mainline for kernel/generic/src/main
- Timestamp:
- 2010-04-23T21:42:26Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c39a907
- Parents:
- 38aaacc2 (diff), 80badbe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/generic/src/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r38aaacc2 rf4f866c 67 67 #include <debug.h> 68 68 #include <str.h> 69 #include <sysinfo/stats.h> 69 70 70 71 #ifdef CONFIG_SMP … … 122 123 } else 123 124 panic("Unable to create kmp thread."); 125 124 126 thread_join(thread); 125 127 thread_detach(thread); … … 149 151 */ 150 152 arch_post_smp_init(); 153 154 /* Start thread computing system load */ 155 thread = thread_create(kload, NULL, TASK, 0, "kload", false); 156 if (thread != NULL) 157 thread_ready(thread); 158 else 159 printf("Unable to create kload thread\n"); 151 160 152 161 #ifdef CONFIG_KCONSOLE -
kernel/generic/src/main/main.c
r38aaacc2 rf4f866c 84 84 #include <main/main.h> 85 85 #include <ipc/event.h> 86 #include <sysinfo/sysinfo.h> 87 #include <sysinfo/stats.h> 86 88 87 89 /** Global configuration structure. */ … … 209 211 /* Initialize at least 1 memory segment big enough for slab to work. */ 210 212 LOG_EXEC(slab_cache_init()); 213 LOG_EXEC(sysinfo_init()); 211 214 LOG_EXEC(btree_init()); 212 215 LOG_EXEC(as_init()); … … 223 226 224 227 printf("Detected %" PRIs " CPU(s), %" PRIu64" MiB free memory\n", 225 config.cpu_count, SIZE2MB(zone _total_size()));226 228 config.cpu_count, SIZE2MB(zones_total_size())); 229 227 230 LOG_EXEC(cpu_init()); 228 231 … … 247 250 LOG_EXEC(event_init()); 248 251 LOG_EXEC(klog_init()); 252 LOG_EXEC(stats_init()); 249 253 250 254 /* -
kernel/generic/src/main/version.c
r38aaacc2 rf4f866c 59 59 { 60 60 printf("%s, release %s (%s)%s\nBuilt%s for %s\n%s\n", 61 project, release, name, revision, timestamp, arch, copyright);61 project, release, name, revision, timestamp, arch, copyright); 62 62 } 63 63
Note:
See TracChangeset
for help on using the changeset viewer.
