Changeset 5e9de3a in mainline for boot/arch/ppc32/loader/main.c


Ignore:
Timestamp:
2009-03-04T22:45:25Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46db10e9
Parents:
89b1b64
Message:

Init-task names for ppc32.

File:
1 edited

Legend:

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

    r89b1b64 r5e9de3a  
    3434#include <align.h>
    3535#include <macros.h>
     36#include <string.h>
    3637
    3738#define HEAP_GAP 1024000
     
    167168                                bootinfo.taskmap.tasks[bootinfo.taskmap.count].addr = (void *) (pages << PAGE_WIDTH);
    168169                                bootinfo.taskmap.tasks[bootinfo.taskmap.count].size = components[i].size;
     170                                strncpy(bootinfo.taskmap.tasks[bootinfo.taskmap.count].name,
     171                                    components[i].name, BOOTINFO_TASK_NAME_BUFLEN);
     172
    169173                                bootinfo.taskmap.count++;
    170174                        }
Note: See TracChangeset for help on using the changeset viewer.