Changeset 89b1b64 in mainline for boot/arch/mips32/loader/main.c


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

Init-task names for mips32.

File:
1 edited

Legend:

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

    r63d1ebd r89b1b64  
    3131#include <align.h>
    3232#include <macros.h>
     33#include <string.h>
    3334#include "msim.h"
    3435#include "asm.h"
     
    8586                        bootinfo.tasks[bootinfo.cnt].addr = ((void *) KERNEL_VIRTUAL_ADDRESS) + top;
    8687                        bootinfo.tasks[bootinfo.cnt].size = components[i].size;
     88                        strncpy(bootinfo.tasks[bootinfo.cnt].name,
     89                            components[i].name, BOOTINFO_TASK_NAME_BUFLEN);
    8790                        bootinfo.cnt++;
    8891                }
Note: See TracChangeset for help on using the changeset viewer.