Changeset 371bd7d in mainline for kernel/generic/src/main
- Timestamp:
- 2010-03-27T09:22:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (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
rcd82bb1 r371bd7d 66 66 #include <ipc/ipc.h> 67 67 #include <debug.h> 68 #include <str ing.h>68 #include <str.h> 69 69 70 70 #ifdef CONFIG_SMP … … 94 94 void kinit(void *arg) 95 95 { 96 97 96 #if defined(CONFIG_SMP) || defined(CONFIG_KCONSOLE) 98 97 thread_t *thread; … … 184 183 185 184 char namebuf[TASK_NAME_BUFLEN]; 186 char *name; 187 188 name = init.tasks[i].name; 185 186 const char *name = init.tasks[i].name; 189 187 if (name[0] == 0) 190 188 name = "<unknown>"; … … 217 215 } 218 216 } 219 217 220 218 /* 221 219 * Run user tasks. … … 225 223 program_ready(&programs[i]); 226 224 } 227 225 228 226 #ifdef CONFIG_KCONSOLE 229 227 if (!stdin) { -
kernel/generic/src/main/uinit.c
rcd82bb1 r371bd7d 42 42 43 43 #include <main/uinit.h> 44 #include < arch/types.h>44 #include <typedefs.h> 45 45 #include <proc/thread.h> 46 46 #include <userspace.h> -
kernel/generic/src/main/version.c
rcd82bb1 r371bd7d 37 37 #include <macros.h> 38 38 39 char *project = "SPARTAN kernel";40 char *copyright = "Copyright (c) 2001-2009HelenOS project";41 char *release = STRING(RELEASE);42 char *name = STRING(NAME);43 char *arch = STRING(KARCH);39 static const char *project = "SPARTAN kernel"; 40 static const char *copyright = "Copyright (c) 2001-2010 HelenOS project"; 41 static const char *release = STRING(RELEASE); 42 static const char *name = STRING(NAME); 43 static const char *arch = STRING(KARCH); 44 44 45 45 #ifdef REVISION 46 char *revision = ", revision " STRING(REVISION);46 static const char *revision = ", revision " STRING(REVISION); 47 47 #else 48 char *revision = "";48 static const char *revision = ""; 49 49 #endif 50 50 51 51 #ifdef TIMESTAMP 52 char *timestamp = " on " STRING(TIMESTAMP);52 static const char *timestamp = " on " STRING(TIMESTAMP); 53 53 #else 54 char *timestamp = "";54 static const char *timestamp = ""; 55 55 #endif 56 56
Note:
See TracChangeset
for help on using the changeset viewer.
