Changeset 150385b9 in mainline for boot/arch/arm32/loader/main.c


Ignore:
Timestamp:
2009-03-03T23:00:58Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63d1ebd
Parents:
ff685c9
Message:

Init task names for arm32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/main.c

    rff685c9 r150385b9  
    4242#include <align.h>
    4343#include <macros.h>
     44#include <string.h>
    4445
    4546#include "mm.h"
     
    104105                        bootinfo.tasks[bootinfo.cnt].addr = ((void *) KERNEL_VIRTUAL_ADDRESS) + top;
    105106                        bootinfo.tasks[bootinfo.cnt].size = components[i].size;
     107                        strncpy(bootinfo.tasks[bootinfo.cnt].name,
     108                            components[i].name, BOOTINFO_TASK_NAME_BUFLEN);
    106109                        bootinfo.cnt++;
    107110                }
Note: See TracChangeset for help on using the changeset viewer.