Changeset f7734012 in mainline for kernel/arch/sparc64
- Timestamp:
- 2009-03-05T19:32:36Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3d360758
- Parents:
- 46db10e9
- Location:
- kernel/arch/sparc64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/boot/boot.h
r46db10e9 rf7734012 49 49 #define MEMMAP_MAX_RECORDS 32 50 50 51 #define BOOTINFO_TASK_NAME_BUFLEN 32 52 51 53 typedef struct { 52 54 void * addr; 53 55 uint32_t size; 56 char name[BOOTINFO_TASK_NAME_BUFLEN]; 54 57 } utask_t; 55 58 -
kernel/arch/sparc64/src/sparc64.c
r46db10e9 rf7734012 48 48 #include <userspace.h> 49 49 #include <ddi/irq.h> 50 #include <string.h> 50 51 51 52 bootinfo_t bootinfo; … … 62 63 init.tasks[i].addr = (uintptr_t) 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.