Rev 2357 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2357 | Rev 2411 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #define TASKMAP_MAX_RECORDS 32 |
44 | #define TASKMAP_MAX_RECORDS 32 |
45 | 45 | ||
46 | 46 | ||
47 | /** Struct holding information about single loaded uspace task. */ |
47 | /** Struct holding information about single loaded uspace task. */ |
48 | typedef struct { |
48 | typedef struct { |
- | 49 | ||
49 | /** Address where the task was placed. */ |
50 | /** Address where the task was placed. */ |
50 | uintptr_t addr; |
51 | uintptr_t addr; |
- | 52 | ||
51 | /** Size of the task's binary. */ |
53 | /** Size of the task's binary. */ |
52 | uint32_t size; |
54 | uint32_t size; |
53 | } utask_t; |
55 | } utask_t; |
54 | 56 | ||
55 | 57 | ||
56 | /** Struct holding information about loaded uspace tasks. */ |
58 | /** Struct holding information about loaded uspace tasks. */ |
57 | typedef struct { |
59 | typedef struct { |
- | 60 | ||
58 | /** Number of loaded tasks. */ |
61 | /** Number of loaded tasks. */ |
59 | uint32_t cnt; |
62 | uint32_t cnt; |
- | 63 | ||
60 | /** Array of loaded tasks. */ |
64 | /** Array of loaded tasks. */ |
61 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
65 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
62 | } bootinfo_t; |
66 | } bootinfo_t; |
63 | 67 | ||
64 | 68 |