Changeset 5e9de3a in mainline for kernel/arch/ppc32/src/ppc32.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
  • kernel/arch/ppc32/src/ppc32.c

    r89b1b64 r5e9de3a  
    4747#include <arch/drivers/pic.h>
    4848#include <macros.h>
     49#include <string.h>
    4950
    5051#define IRQ_COUNT  64
     
    6263                init.tasks[i].addr = PA2KA(bootinfo.taskmap.tasks[i].addr);
    6364                init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
     65                strncpy(init.tasks[i].name, bootinfo.taskmap.tasks[i].name,
     66                        CONFIG_TASK_NAME_BUFLEN);
    6467        }
    6568}
Note: See TracChangeset for help on using the changeset viewer.