Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4343 | Rev 4345 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | 40 | ||
41 | 41 | ||
42 | /** Maximum number of tasks in the #bootinfo_t struct. */ |
42 | /** Maximum number of tasks in the #bootinfo_t struct. */ |
43 | #define TASKMAP_MAX_RECORDS 32 |
43 | #define TASKMAP_MAX_RECORDS 32 |
44 | 44 | ||
- | 45 | /** Size of buffer for storing task name in task_t. */ |
|
- | 46 | #define BOOTINFO_TASK_NAME_BUFLEN 32 |
|
- | 47 | ||
45 | 48 | ||
46 | /** Struct holding information about single loaded task. */ |
49 | /** Struct holding information about single loaded task. */ |
47 | typedef struct { |
50 | typedef struct { |
48 | /** Address where the task was placed. */ |
51 | /** Address where the task was placed. */ |
49 | void *addr; |
52 | void *addr; |
50 | /** Size of the task's binary. */ |
53 | /** Size of the task's binary. */ |
51 | unsigned int size; |
54 | unsigned int size; |
- | 55 | /** Task name. */ |
|
- | 56 | char name[BOOTINFO_TASK_NAME_BUFLEN]; |
|
52 | } task_t; |
57 | } task_t; |
53 | 58 | ||
54 | 59 | ||
55 | /** Struct holding information about loaded tasks. */ |
60 | /** Struct holding information about loaded tasks. */ |
56 | typedef struct { |
61 | typedef struct { |