46,20 → 46,20 |
*/ |
#define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1)) |
|
/** Maximum number of tasks in the #bootinfo_t structure. */ |
/** Maximum number of tasks in the #bootinfo_t struct. */ |
#define TASKMAP_MAX_RECORDS 32 |
|
|
/** Structure holding information about single loaded task. */ |
/** Struct holding information about single loaded task. */ |
typedef struct { |
/** Address where the task was placed. */ |
void *addr; |
/** Size of the task binary. */ |
/** Size of the task's binary. */ |
unsigned int size; |
} task_t; |
|
|
/** Structure holding information about loaded tasks. */ |
/** Struct holding information about loaded tasks. */ |
typedef struct { |
/** Number of loaded tasks. */ |
unsigned int cnt; |