Changeset 0f94c3d in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2009-03-01T20:51:26Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e079b70
Parents:
0d5a50c
Message:

Read command line for multiboot modules on ia32 and copy it to task name. Other arches will need to initialize task names in the init structure to an empty string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r0d5a50c r0f94c3d  
    175175                        continue;
    176176                }
     177
     178                char *name = init.tasks[i].name;
     179                if (name[0] == '\0') name = "init-bin";
    177180               
    178181                int rc = program_create_from_image((void *) init.tasks[i].addr,
    179                     "init-bin", &programs[i]);
     182                    name, &programs[i]);
    180183               
    181184                if ((rc == 0) && (programs[i].task != NULL)) {
Note: See TracChangeset for help on using the changeset viewer.