- Timestamp:
- 2009-03-04T22:45:25Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46db10e9
- Parents:
- 89b1b64
- Location:
- kernel/arch/ppc32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/boot/boot.h
r89b1b64 r5e9de3a 46 46 #ifndef __ASM__ 47 47 48 #define BOOTINFO_TASK_NAME_BUFLEN 32 49 48 50 #include <arch/types.h> 49 51 … … 51 53 uintptr_t addr; 52 54 uint32_t size; 55 char name[BOOTINFO_TASK_NAME_BUFLEN]; 53 56 } utask_t; 54 57 -
kernel/arch/ppc32/src/ppc32.c
r89b1b64 r5e9de3a 47 47 #include <arch/drivers/pic.h> 48 48 #include <macros.h> 49 #include <string.h> 49 50 50 51 #define IRQ_COUNT 64 … … 62 63 init.tasks[i].addr = PA2KA(bootinfo.taskmap.tasks[i].addr); 63 64 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); 64 67 } 65 68 }
Note:
See TracChangeset
for help on using the changeset viewer.